Commit graph

23343 commits

Author SHA1 Message Date
Folkert
aa113f169c
string equality 2023-02-18 16:42:45 +01:00
Folkert
816828040d
tests for boxing/unboxing floats 2023-02-18 16:42:45 +01:00
Folkert
b968122bee
simplify systemv argument storing and loading 2023-02-18 16:42:45 +01:00
Folkert
89201676ef
make is_primitive look through LambdaSet 2023-02-18 16:42:44 +01:00
Folkert
4b31c77b37
paramter ownership is not important for codegen 2023-02-18 16:42:44 +01:00
Folkert
78000b3f19
enable more list tests 2023-02-18 16:42:44 +01:00
Folkert
9f5f80581e
add test that passes a struct < 16 bytes 2023-02-18 16:42:43 +01:00
Folkert
a66320b00c
count utf bytes 2023-02-18 16:42:43 +01:00
Folkert
e48a604862
add Str.appendScalar 2023-02-18 16:42:43 +01:00
Folkert
92539fe3b0
Revert "implment 8bit logical operators"
This reverts commit 87c49679e1ac5bcfb710b6d432a9f503db3ee501.
2023-02-18 16:42:42 +01:00
Folkert
f6fbfa002b
implment 8bit logical operators 2023-02-18 16:42:42 +01:00
Folkert
4afeb1d67a
store big strings on the heap; enable a lot more string tests 2023-02-18 16:42:42 +01:00
Folkert
1e1da8a61b
reduce linecount 2023-02-18 16:42:41 +01:00
Folkert
38b66765ab
enable more string tests 2023-02-18 16:42:41 +01:00
Folkert
6a84d6ee83
centralize stack movement 2023-02-18 16:42:41 +01:00
Folkert
8ec3ab0963
centralize reading a pointer to some stack location 2023-02-18 16:42:40 +01:00
Folkert
b31edead54
centralize writing a stack value to a pointer 2023-02-18 16:42:40 +01:00
Folkert
ee79a311f9
dev: box and unbox 16-bit and 8-bit values 2023-02-18 16:42:40 +01:00
Folkert
49d52f5d9a
dev: box and unbox 32-bit value 2023-02-18 16:42:39 +01:00
Folkert
6ecafb85a4
add mov_reg32_base32_offset32 2023-02-18 16:42:39 +01:00
Folkert
541039f700
add register names for 32-bit, 16-bit and 8-bit 2023-02-18 16:42:39 +01:00
Ayaz
c9015e6ef2
Merge pull request #5039 from roc-lang/i5027
Handle case where only other tag of nullable unwrapped needs no refcount
2023-02-18 09:41:07 -06:00
Joshua Warner
57c3840926
Merge pull request #5016 from joshuawarner32/fix-collection-newlines
Fix formatting of initial newlines in collections
2023-02-18 06:56:01 -08:00
Anton-4
5285884830
Merge pull request #5040 from dankeyy/python-interop
Python interop
2023-02-17 20:41:00 +01:00
Anton-4
09bf599642
Merge pull request #5043 from roc-lang/windows-build-fixes
Windows build fixes + CI
2023-02-17 19:34:28 +01:00
Joshua Warner
2541a09273
Fix formatting of initial newlines in collections
Fixes #5015
2023-02-17 09:08:50 -08:00
Anton-4
7cbd454b69
syntex errors, curl with auth 2023-02-17 16:39:20 +01:00
Anton-4
7166e3ac4d
remove old flag 2023-02-17 15:48:22 +01:00
Anton-4
ed78112fbc
windows build fixes 2023-02-17 15:44:15 +01:00
Anton-4
f98a75fc51
Merge pull request #5042 from human154/patch-1
Tutorial: Add and remove spaces before colons and question marks as needed
2023-02-17 13:02:32 +01:00
human154
5bf4053a34
Add and remove incorrect spaces before colons and &
Signed-off-by: human154 <46430360+human154@users.noreply.github.com>
2023-02-17 01:31:05 -05:00
dankeyy
8fec0ff7e9
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-02-17 01:19:10 +02:00
dankeyy
a871ec5d4a
json loads, remove quotes 2023-02-16 17:39:10 +02:00
Ayaz Hafiz
94c2c47da4
Handle case where only other tag of nullable unwrapped needs no refcount
It's possible to have a nullable unwrapped code where the only material
payload does not need refcounting operations. In this case the
refcounting function is the trivial one.
2023-02-16 09:38:49 -06:00
dankeyy
fed4298313
Merge branch 'roc-lang:main' into python-interop 2023-02-16 15:22:30 +02:00
dankeyy
fa59c5f19f
Update README.md
Signed-off-by: dankeyy <dankeyy@protonmail.com>
2023-02-16 15:21:17 +02:00
dankeyy
6bd23b4dbf
cleanup and clarify build 2023-02-16 15:16:13 +02:00
dankeyy
e76efb49a2
end by length, not null byte 2023-02-16 14:28:51 +02:00
dankeyy
54fc0f7fb1
added readme 2023-02-16 13:48:31 +02:00
dankeyy
34c0cf1ed6
another option for string creation 2023-02-16 13:14:54 +02:00
dankeyy
69ff8b93c2
added build script 2023-02-16 11:44:42 +02:00
dankeyy
ecb8cac774
change to setuptools, remove unneeded fields 2023-02-16 11:41:42 +02:00
dankeyy
b18ea846a3
add gitignore 2023-02-16 11:40:32 +02:00
dankeyy
a080fcae27
first demo working! 2023-02-16 10:19:11 +02:00
Ayaz
b5fe932c22
Merge pull request #5033 from roc-lang/c-return-empty-tag-union
fix for when C has to return an empty tag union
2023-02-15 11:26:03 -06:00
Anton-4
63d34f6fdb
Merge pull request #5034 from roc-lang/tutorial-typo
tutorial: Comma in record should be colon
2023-02-15 18:18:42 +01:00
Anton-4
25716eb7d1
Comma in record should be colon
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-15 15:49:08 +01:00
Folkert
178e80fa9a
fix for when C has to return an empty tag union 2023-02-15 15:30:26 +01:00
Folkert de Vries
d1a22316fc
Merge pull request #5012 from lucacervello/add-spaces-around-optional-record-field
Add spaces around ? in optional record field
2023-02-15 15:05:08 +01:00
Anton-4
b054977e00
Merge pull request #5008 from lukewilliamboswell/optional-records
Adding Optional records to Tutorial
2023-02-15 09:54:46 +01:00