Commit Graph

23324 Commits

Author SHA1 Message Date
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
Ayaz
b0d3d8fc7c
Merge pull request #5029 from roc-lang/lambda-set-cleanup 2023-02-14 08:51:35 -06:00
Folkert de Vries
c8d418218e
Merge pull request #5028 from roc-lang/i5026
Do not fixup recursion pointers in non-recursive lambda sets
2023-02-14 15:21:05 +01:00
Ayaz Hafiz
e53ee1475e
Revert example changes 2023-02-13 23:24:44 -06:00
Anton-4
436593c08c
Merge pull request #5002 from roc-lang/basic_cli_musl
basic-cli release with musl target + more testing
2023-02-14 04:49:52 +01:00
Ayaz Hafiz
b11cf19658
Remove unreachable lambda set layout branches
Lambda sets can only appear under function types, so we don't need to
handle them independently in layout gen.
2023-02-13 17:50:24 -06:00
Ayaz Hafiz
b406e384fc
Print recursion variables correctly in pretty printer 2023-02-13 17:42:21 -06:00
Ayaz Hafiz
4844c278a8
Be sure to correctly print multiple unrelated recursion structures as needed 2023-02-13 17:15:34 -06:00
Ayaz Hafiz
a3de22c88a
Do not fixup recursion pointers in non-recursive lambda sets
If a lambda set is non-recursive, but contains naked recursion pointers,
we should not fill those naked pointers in with the slot of the lambda
set during interning. Such naked pointers must belong to an encompassing
lambda set that is in fact recursive, and will be filled in later.

For example, `LambdaSet([Foo, LambdaSet(Bar, [<rec>])] as <rec>)` should
not have the inner lambda set's capture be filled in with itself.

Also, during reification of recursion pointers, we do not need to
traverse re-inserted lambda sets again, since they were just fixed-up.

Closes #5026
2023-02-13 17:14:04 -06:00
Anton-4
2321fa7504
Merge pull request #5025 from roc-lang/windows-flakes
ignore breakout test on windows
2023-02-13 17:43:33 +01:00
Anton-4
80c43b552c
Merge pull request #5021 from dankeyy/fix_nixos_static_pie
fix error trigger for static-pie platforms
2023-02-13 15:22:51 +01:00
Anton-4
51c28317e5
back to target-cpu=native
Without this a segmentation fault occurred in the gen tests `gen_tags` on linux.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-13 15:03:33 +01:00
Anton-4
80885151b6
ignore breakout test on windows 2023-02-13 13:55:05 +01:00
Anton-4
fb94abad13
Merge pull request #5013 from roc-lang/remove-native
[Simple PR] Remove native from rust flags
2023-02-13 11:50:46 +01:00
dankeyy
d73b2737f4
fix error trigger for static-pie platforms 2023-02-12 10:52:28 +02:00
Anton-4
60f7cee077
cleanup 2023-02-11 20:01:26 +01:00
Anton-4
edfd8ff6f6
correct urls 2023-02-11 18:53:02 +01:00
Folkert de Vries
e3f11a73ce
Merge pull request #5019 from roc-lang/gen-dev-str-starts-with
dev backend: various string functions
2023-02-11 17:55:11 +01:00
Anton-4
c571de9d5b
path fix 2023-02-11 16:31:18 +01:00
Anton-4
259e1df1d8
fix paths 2023-02-11 16:18:08 +01:00