Commit Graph

24775 Commits

Author SHA1 Message Date
Luke Boswell
89f688b070
fix test reference to Json encoder 2023-05-15 21:38:18 +10:00
Luke Boswell
7f14e9f783
remove test_glue.rs files 2023-05-15 18:54:30 +10:00
Luke Boswell
6d29b69f9b
fix tests for string escapes 2023-05-15 16:59:01 +10:00
Luke Boswell
4d4cfcf981
merge remote/main and update mono tests 2023-05-15 16:51:56 +10:00
Brian Carroll
cfcd2a5289
Merge pull request #5312 from roc-lang/dev-refcount-seamless-slice
Dev refcount seamless slice
2023-05-14 18:37:23 +01:00
Brendan Hansknecht
b32cd5687b
Merge pull request #5407 from roc-lang/last-seen-join-points
Last seen join points
2023-05-14 16:29:44 +00:00
Folkert
c084ff06b3
allow unused 2023-05-14 18:25:57 +02:00
Folkert de Vries
125eeca841
Merge pull request #5397 from roc-lang/semantic-layouts-non-recursive-tag-unions
Get started with semantic layouts for tag unions
2023-05-14 18:16:48 +02:00
Folkert
79daa102a0
simplify list RC joinpoint 2023-05-14 18:13:44 +02:00
Folkert
12975bdffb
shift pointer by one if string slice 2023-05-14 18:02:51 +02:00
Folkert
317a8880c1
better debug info if dec on invalid pointer 2023-05-14 18:01:47 +02:00
Folkert
dd8739b847
better debug info if inc on invalid pointer 2023-05-14 15:20:43 +02:00
Folkert
c19ad4ecfd
fix list decrement in dev backend 2023-05-14 15:20:42 +02:00
Folkert
1c6b55584a
fix list inc/dec wrt slices 2023-05-14 15:20:42 +02:00
Folkert
8ba3fd082d
dev backend: treat box like a machine-sized integer when storing to register 2023-05-14 15:20:42 +02:00
Folkert
8770668688
implement add saturated for the dev backend 2023-05-14 15:20:42 +02:00
Folkert
736b7c6a83
inc/dec string slices 2023-05-14 15:20:41 +02:00
Folkert
62dac6bdf8
don't calculate RC pointer in STR decrement function
we now decrement based on the data pointer; further logic is all in zig now
2023-05-14 15:20:41 +02:00
Brian Carroll
75b21e6228
wasm_interp: print function names in stack trace if available 2023-05-14 15:20:41 +02:00
Brian Carroll
a3b5a9d9a2
wasm_interp: create a new error MemoryAccessOutOfBounds 2023-05-14 15:20:40 +02:00
Brian Carroll
17d8ef2aa7
Support refcounting Str seamless slices for dev backends 2023-05-14 15:20:40 +02:00
Brian Carroll
5c53530c81
Support refcounting List seamless slices for dev backends 2023-05-14 15:20:40 +02:00
Folkert
4e8aea50c9
fix how scan_ast works with join points 2023-05-14 15:20:08 +02:00
Folkert
86491d41d3
add nextest aliases for the gen tests 2023-05-14 15:19:15 +02:00
Richard Feldman
922a10db52
Merge pull request #5389 from agu-z/agu-z/record-builder-syntax
Record Builder Syntax
2023-05-13 22:47:03 -04:00
Agustin Zubiaga
232f5fd84c Take self by value in RecordField::to_* fns 2023-05-13 21:21:12 -03:00
Agustin Zubiaga
4a10ead0e4 Do not use unit for RecordField to_* fn errors 2023-05-13 21:15:54 -03:00
Agustin Zubiaga
f94004d137 Parse builders without backtracking from records 2023-05-13 20:05:42 -03:00
Anton-4
ba74dc0c03
Merge pull request #5403 from roc-lang/getting-started-zig
use better zig install instructions
2023-05-13 19:32:52 +02:00
Anton-4
ff1cd03185
Merge pull request #5402 from roc-lang/link-checker-fix
fix twitter max redirects
2023-05-13 16:26:35 +02:00
Anton-4
1f88745528
add link zig download
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-13 16:08:27 +02:00
Anton-4
ef06e3c820
use better zig install instructions
I had done this for the macos getting started files but not for linux

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-13 16:06:12 +02:00
Ayaz
6262cf9af0
Merge pull request #5395 from roc-lang/semantic-layouts
Begin implementing semantic layouts
2023-05-13 08:10:40 -05:00
Anton-4
32683aa3e1
fix twitter max redirects
The link checker recently started having problems with twitter links.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-13 11:59:47 +02:00
Agustin Zubiaga
c3bcb88c5b Special record builder error when applying opaque types 2023-05-11 20:20:35 -03:00
Ayaz Hafiz
741d242486
Fix repr matching in dev backend 2023-05-11 15:16:12 -05:00
Ayaz Hafiz
744e8ca68d
Use layout repr to determine register width 2023-05-11 14:15:58 -05:00
Ayaz Hafiz
172eae735d
Drop unused variables in gen_dev 2023-05-11 12:49:06 -05:00
Ayaz Hafiz
1b84cbafe3
Only compare reprs in gen_dev 2023-05-11 12:48:38 -05:00
Ayaz Hafiz
4b7f09b175
Only compare repr equality in wasm backend 2023-05-11 09:30:45 -05:00
Ayaz Hafiz
bfbe493fe4
Turn on test that depends on semantic layouts 2023-05-11 09:24:36 -05:00
Ayaz Hafiz
931d26206f
Only check for repr equality in codegen 2023-05-11 09:23:45 -05:00
Ayaz Hafiz
8ca71c7eda
Get started with semantic layouts for tag unions 2023-05-10 18:47:10 -05:00
Ayaz Hafiz
24e65cbf8d
Update mono tests 2023-05-10 17:45:46 -05:00
Ayaz Hafiz
4d50817968
Preserve semantic when reifying recursion layouts 2023-05-10 17:29:00 -05:00
Ayaz Hafiz
94203ca6d9
Preserve semantic when fixing rec pointer 2023-05-10 17:25:15 -05:00
Ayaz Hafiz
fa787b9b48
Unused imports 2023-05-10 17:25:05 -05:00
Ayaz Hafiz
49b8886b82
Hide semantic repr in layout 2023-05-10 17:24:45 -05:00
Ayaz Hafiz
31c9cc8227
Hide away SemanticRepr definition 2023-05-10 17:10:58 -05:00
Ayaz Hafiz
a37a0f1770
DbgDeep for semantic reprs 2023-05-10 17:09:50 -05:00