Commit Graph

5081 Commits

Author SHA1 Message Date
Luke Boswell
a87794e7b2
Merge remote-tracking branch 'remote/main' into docs-highlight 2023-03-07 17:59:32 +11:00
Luke Boswell
5d321e354b
update mono 2023-03-07 17:28:04 +11:00
Luke Boswell
db37520a4f
Merge remote-tracking branch 'remote/main' into builtin-json 2023-03-07 17:12:47 +11:00
Brendan Hansknecht
11cccde050
clippy 2023-03-06 21:02:47 -08:00
Brendan Hansknecht
75e996c445
remove unused dependencies and ignore false positives 2023-03-06 20:09:01 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Brendan Hansknecht
915f2ec49a
remove outdated compiler/str library 2023-03-06 15:03:17 -08:00
Brendan Hansknecht
e7420d5b2c
update outdated deps that don't require code changes 2023-03-06 14:20:42 -08:00
Folkert
3b59c01724
attempt to make RocSet/RocDict FFI-safe 2023-03-06 22:12:33 +01:00
Folkert
508f078d47
standardize derive order 2023-03-06 22:12:12 +01:00
Folkert
08f6774011
remove some todo!s 2023-03-06 22:11:56 +01:00
Brendan Hansknecht
0ed262d318
add missed update to use workspace dep 2023-03-06 13:06:44 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08:00
Folkert
3455d315f3
deal with unions like Result a [] where a tag is elided 2023-03-06 21:43:17 +01:00
Brendan Hansknecht
21af20597e
remove unused dependencies 2023-03-06 12:09:00 -08:00
Folkert
53db40e2f4
dig into the lambda set to find more lambda sets 2023-03-06 20:23:48 +01:00
Brendan Hansknecht
e1719b6fe2
Merge pull request #5092 from Aurelius333/aarch64-sub_reg64_reg64_reg64
Add sub_reg64_reg64_reg64 instruction for aarch64
2023-03-06 18:21:20 +00:00
Luke Boswell
ffcb91321e
clippy 2023-03-06 22:41:06 +11:00
Luke Boswell
25b3b61e07
cargo fmt 2023-03-06 22:37:56 +11:00
Luke Boswell
5ead576976
fix indentation for code blocks 2023-03-06 22:32:25 +11:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code 2023-03-06 22:20:49 +11:00
Ayaz Hafiz
739bdfe64e
Fix a bug in chasing assigned/hole on switch 2023-03-05 22:19:16 -06:00
Ayaz Hafiz
7914b07a2f
Eliminate unneeded joinpoints in union lambda dispatches 2023-03-05 22:10:42 -06:00
Ayaz Hafiz
8e4de80aa9
Add test for enum lambda set elimination 2023-03-05 22:01:50 -06:00
Ayaz Hafiz
a2389c7652
Eliminate joinpoints in trivial lambda set switches 2023-03-05 21:59:01 -06:00
Ayaz Hafiz
7867ffb62b
Rename test 2023-03-05 21:47:06 -06:00
Ayaz Hafiz
9166922e39
Remove unused is_terminal 2023-03-05 21:41:50 -06:00
Ayaz Hafiz
fb5ac9fc6e
Check in failing reproduction for #5086 2023-03-05 21:40:10 -06:00
Folkert
0412dec4b1
fix repl problem 2023-03-05 20:58:22 +01:00
Folkert
e308078af5
fix compile error in tests 2023-03-05 18:11:30 +01:00
Folkert
fba66c03b7
temp fix to get this passing 2023-03-05 17:37:03 +01:00
Folkert
853c0387dc
cleanup 2023-03-05 17:33:48 +01:00
Folkert
d224992bc1
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-05 17:24:05 +01:00
Folkert
769a4c415b
update remaining cli tests 2023-03-05 16:57:51 +01:00
Folkert de Vries
f500e5dfb6
Merge pull request #5090 from joshuawarner32/add-operators
Produce combined tokens directly and add a few operators
2023-03-05 13:20:46 +01:00
Brendan Hansknecht
dc77916bb5
Merge pull request #5088 from roc-lang/reorg-build
move build_file and related functions to roc_build
2023-03-05 12:18:35 +00:00
Luke Boswell
ac95c9a71a
update mono tests 2023-03-05 19:05:24 +11:00
Ajai Nelson
0b2567cf26
Add sub_reg64_reg64_reg64 instruction for aarch64 2023-03-05 02:10:39 -05:00
Luke Boswell
5933d6b7e7
improve Json test coverage and fix decoding bugs 2023-03-05 17:00:10 +11:00
Joshua Warner
2dfe373311
Produce combined tokens directly and add a few operators
This (I believe) brings us in line with the complete set of operators supported in Roc.
2023-03-04 21:42:33 -08:00
Luke Boswell
91adf0f411
Merge remote-tracking branch 'origin/main' into builtin-json 2023-03-05 15:58:58 +11:00
Brendan Hansknecht
9894f52afd
update missed uses of roc_cli::build 2023-03-04 10:19:26 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Anton-4
a8a600e056
Merge remote-tracking branch 'upstream/main' into improve-same-name-grammar 2023-03-04 14:16:32 +01:00
Anton-4
89350a1c56
Merge branch 'main' of github.com:roc-lang/roc into cli_run_race_condition 2023-03-04 14:12:02 +01:00
Anton-4
e5aa27d19b
add lock for breakout 2023-03-04 14:11:48 +01:00
Brendan Hansknecht
0aa932d014
fix mem leak in Str.trim and make all Str.trim* functions consistent 2023-03-02 22:18:26 -08:00
Joshua Warner
3b5f6ef828
Merge pull request #5080 from lukewilliamboswell/parser-highlight2
Fix bug for static-site syntax highlighting
2023-03-02 17:20:16 -08:00
Brendan Hansknecht
66a7d08363
make List.mapN properly add all decrefs 2023-03-02 07:24:49 -08:00
Richard Feldman
82663fd30d
Merge pull request #5076 from roc-lang/fix-list-range
Fix List.range crashing
2023-03-01 19:29:24 -05:00
Folkert
180187e5af
get old examples to work 2023-03-01 21:56:14 +01:00
Folkert
706894d37a
new names for mainforhost 2023-03-01 21:55:42 +01:00
Anton-4
cf913814cb
fmt 2023-03-01 19:57:39 +01:00
Anton-4
7b5989e4ef
Merge branch 'main' of github.com:roc-lang/roc into cli_run_race_condition 2023-03-01 19:50:52 +01:00
Luke Boswell
f51aef42bb
add support for slashes 2023-03-01 19:06:15 +11:00
Luke Boswell
c9ffedb483
add ? token 2023-03-01 18:38:16 +11:00
Luke Boswell
5f8629f64e
bug fix for highlighting 2023-03-01 18:00:30 +11:00
Brendan Hansknecht
a87aec77b4
Merge pull request #5068 from roc-lang/gen-dev-i128
gen-dev: num additions
2023-02-28 16:29:42 +00:00
Luke Boswell
58d4faa0da
handle escapes in JSON string decoder 2023-02-28 20:53:57 +11:00
Luke Boswell
1590b30b19
Add a lexing-based 'highlight' mode to the parser
basic syntax highlighting

added more syntax highlighting coverage

add example of a markdown table with styling

move FIXED_TOKEN logic into highlight

refactor highlight, add support for backpassing

escape html from source code

fix bug with <pre> tag ordering

refactor out html from roc_parse

remove test, put highlight functionality into separate file

fix typo
2023-02-28 17:03:49 +11:00
Brendan Hansknecht
865bae9468
clarify type for test 2023-02-27 18:41:31 -08:00
Brendan Hansknecht
c4d56f1dc9
update formatting 2023-02-27 16:43:35 -08:00
Brendan Hansknecht
a86c8d7994
update mono tests 2023-02-27 16:36:08 -08:00
Brendan Hansknecht
f77d1dcd6b
fix List.range so that it will only crash when Length is too large 2023-02-27 16:01:05 -08:00
Anton-4
f07c126133
lock zig platform building 2023-02-27 18:01:32 +01:00
Anton-4
4157c0e72d
patch instruction reference link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-27 12:25:18 +01:00
Folkert
1f296a5907
fix test I broke 2023-02-26 22:32:19 +01:00
Folkert
44f08f9e47
implement sqrt and log in the dev backend 2023-02-26 21:41:25 +01:00
Folkert
6a40d75353
float comparisions 2023-02-26 18:14:11 +01:00
Folkert
f1fa014524
support 128-bit literals 2023-02-26 15:11:49 +01:00
Folkert
fa05c49693
correct the name of the size() exposed function 2023-02-26 14:23:10 +01:00
Folkert
454f3c603e
give the new exposed symbols to the surgical linker 2023-02-25 19:35:46 +01:00
Folkert
fee5e978f7
use roc_alloc to store unsized types 2023-02-25 16:45:58 +01:00
Folkert
f232bdda4f
fix some glue formatting 2023-02-25 16:32:10 +01:00
Folkert
1bf2cc3b8c
cleanup 2023-02-25 16:23:40 +01:00
Folkert
a3e759cc3c
fix generation of C signature when roc returns c_void 2023-02-25 16:05:09 +01:00
Folkert
35980e50b8
fix function getters 2023-02-25 15:47:20 +01:00
Anton-4
fba4075d1a
Merge branch 'main' of github.com:roc-lang/roc into remove_rodio 2023-02-25 12:13:23 +01:00
Anton-4
4d91fe01ca
update mono tests 2023-02-24 14:35:05 +01:00
Folkert
033618f3f4
fixes to get rocLovesRust to work 2023-02-22 21:17:50 +01:00
Folkert
5ab2466872
fix merge conflict in the dev backend 2023-02-22 21:12:07 +01:00
Folkert
0d4135c57a
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-02-22 21:11:39 +01:00
Folkert
9897367038
fix merge conflict in the dev backend 2023-02-22 13:13:40 +01:00
Folkert de Vries
34340de60c
Merge pull request #5020 from roc-lang/dev-unbox-u32
dev backend: reading and writing 32, 16 and 8-bit values
2023-02-21 17:33:21 +01:00
Anton-4
091e043168
removed rodio and deps 2023-02-21 15:38:11 +01:00
Folkert de Vries
bd6623dab4
Merge pull request #5055 from roc-lang/abilities-bug-generic
Lambda set compaction must preserve unique specializations of concrete types
2023-02-21 15:24:23 +01:00
Ayaz Hafiz
fbc75016e1
Check in mono goldens 2023-02-20 19:31:22 -06:00
Folkert de Vries
088bd5211f
Merge pull request #5054 from roc-lang/glue-generate-lambda-set-callers
Glue generate lambda set callers
2023-02-21 02:19:53 +01:00
Ayaz Hafiz
7a4fed932d
Add gen tests for concerete unspecialized set conservation 2023-02-20 18:59:48 -06:00
Ayaz Hafiz
d7a069675b
Lambda set compaction must preserve unique specializations of concrete types
There are times that multiple concrete types may appear in
unspecialized lambda sets that are being unified. The primary case is
during monomorphization, when unspecialized lambda sets join at the same
time that concrete types get instantiated. Since lambda set
specialization and compaction happens only after unifications are
complete, unifications that monomorphize can induce the above-described
situation.

In these cases,

- unspecialized lambda sets that are due to equivalent type variables
  can be compacted, since they are in fact the same specialization.
- unspecialized lambda sets that are due to different type variables
  cannot be compacted, even if their types unify, since they may point
  to different specializations. For example, consider the unspecialized
  lambda set `[[] + [A]:toEncoder:1 + [B]:toEncoder:1]` - this set wants
  two encoders, one for `[A]` and one for `[B]`, which is materially
  different from the set `[[] + [A, B]:toEncoder:1]`.
2023-02-20 18:50:07 -06:00
Ayaz Hafiz
f7aa7e734d
Pass interner through to debug proc layouts misisng in param map 2023-02-20 18:49:29 -06:00
Ayaz Hafiz
e5c3376e90
Debug ProcLayouts 2023-02-20 18:49:18 -06:00
Ayaz Hafiz
5a1898b285
Pretty-print opaque refs 2023-02-20 18:42:05 -06:00
Ayaz
2f251310c0
Merge pull request #5010 from roc-lang/tuple-record-unify
Unify IR generation for tuples and records
2023-02-20 18:40:52 -06:00
Folkert
958d44a21c
cleanup 2023-02-20 22:25:48 +01:00
Folkert
68524ef07e
generate callers based on layout traversal 2023-02-20 22:05:35 +01:00
Folkert de Vries
c6089ebb6a
Merge pull request #5041 from thehabbos007/eq
gen_dev x86: misc low-level bool comparison functions
2023-02-20 08:51:11 +01:00
Richard Feldman
c60360593f
Merge pull request #5050 from joshuawarner32/fuzzing
Fix several fmt+parse bugs found by fuzzing
2023-02-19 22:38:42 -05:00
Joshua Warner
b5f284cd78
Fix several fmt+parse bugs found by fuzzing 2023-02-19 12:37:33 -08:00
Folkert
5b52cfe79b
disable str_append_scalar; it segfaults for unclear reasons 2023-02-18 23:18:48 +01:00
Folkert
bece06ba10
work around universally quantified type variable 2023-02-18 18:12:32 +01:00
Folkert
90c45a197b
use extracted functions 2023-02-18 17:57:50 +01:00
Folkert
784ebde24b
helper functions 2023-02-18 17:34:41 +01:00
Folkert
edd10a079c
create hook for future glue proc codegen 2023-02-18 17:34:23 +01:00
Folkert
aac8c76c5f
fix mono tests 2023-02-18 16:43:51 +01:00
Folkert
808262892e
fix off-by-one error in loop condition 2023-02-18 16:42:47 +01:00
Folkert
b2a875c355
use debug_assert_eq 2023-02-18 16:42:47 +01:00
Folkert
03867fdc1f
str to num 2023-02-18 16:42:46 +01:00
Folkert
93fb1c73e6
str splits 2023-02-18 16:42:46 +01:00
Folkert
a3d5e7bee5
fully implement sign/zero extension 2023-02-18 16:42:46 +01:00
Folkert
4e38a4ce32
enable some utf8 conversion tests 2023-02-18 16:42:46 +01:00
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
Ju Liu
dfeabc5933 Use 'by accident' instead of 'on accident' 2023-02-18 15:42:34 +00: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
431b4c2811
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-02-18 09:38:41 +01:00
Anton-4
54a1121bfa
windows: ignore hello test with url 2023-02-18 09:37:58 +01:00
Joshua Warner
2541a09273
Fix formatting of initial newlines in collections
Fixes #5015
2023-02-17 09:08:50 -08:00
Anton-4
ed78112fbc
windows build fixes 2023-02-17 15:44:15 +01:00
Ahmad Sattar
db497539bc
Combined test for good measure 2023-02-16 23:08:30 +01:00
Ahmad Sattar
3c01ae10c6
Add Lowlevel::Not 2023-02-16 22:47:55 +01:00
Ahmad Sattar
214ee6ed8e
Add Lowlevel::Or 2023-02-16 22:47:54 +01:00
Ahmad Sattar
f8b0a99e6d
Add Lowlevel::And 2023-02-16 22:47:54 +01:00
Ahmad Sattar
82c0aa083d
Support boolean comparisons 2023-02-16 20:58:54 +01: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
Anton-4
cb599551de
update to basic-cli 0.2.1, fix typos 2023-02-15 19:55:30 +01:00
Folkert
edf557e480
fix for when C has to return an empty tag union 2023-02-15 15:34:02 +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
Folkert
b6bae82913
hello world works 2023-02-14 22:11:23 +01:00
Ayaz
b0d3d8fc7c
Merge pull request #5029 from roc-lang/lambda-set-cleanup 2023-02-14 08:51:35 -06: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
Ayaz Hafiz
2903ec4ac2
Remove obsolete comments 2023-02-13 10:54:05 -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
80885151b6
ignore breakout test on windows 2023-02-13 13:55:05 +01:00
dankeyy
d73b2737f4
fix error trigger for static-pie platforms 2023-02-12 10:52:28 +02:00
Folkert
eb48f01f63
Str.startsWith, str.endsWith and friends 2023-02-11 00:51:04 +01:00
Folkert
8df8c19ae2
dev backend: Box.unbox and List.get str 2023-02-10 20:19:50 +01:00
Folkert
4d1a6b17a8
dev backend: box a str 2023-02-10 20:19:50 +01:00
Folkert
587c5c18d7
mono refcount: use box instaed of non-nullable unwrapped 2023-02-10 20:19:49 +01:00
Folkert
8421824e31
WIP 2023-02-10 20:19:49 +01:00
Folkert
f32d31341a
add basic functionality of Str.split 2023-02-10 20:19:49 +01:00
Folkert de Vries
301bf0f367
Merge pull request #5009 from roc-lang/dev-box-box
implement Box.box and Box.unbox in the dev backend
2023-02-09 18:04:53 +01:00
Folkert
625b9c161a
implement wasm traits for roc_std::RocBox 2023-02-09 14:55:08 +01:00
Folkert
6c15284a8f
more wip; now we just need to generate the exposed procs at the right time 2023-02-08 22:56:38 +01:00
Brendan Hansknecht
e654b8655f
Merge pull request #5003 from roc-lang/dev-allocate-with-refcount
use `allocate_with_refcount` in the dev backend
2023-02-08 20:08:47 +00:00
Luca Cervello
a4410fe052
fix: add spaces around ? in optional record field 2023-02-08 18:41:22 +01:00
Ayaz Hafiz
a22dcb5784
Unify record and tuple access 2023-02-08 11:13:36 -05:00
Ayaz Hafiz
1ee5f9d02b
Unify logic for building record and tuple IR 2023-02-08 11:03:02 -05:00
Ayaz
9340a67e87
Merge pull request #4993 from joshuawarner32/tuple-gen-tuple-backend-experiment
Implement mono / code generation for tuples
2023-02-08 10:42:51 -05:00
Folkert
b022175489
implement Box.box and Box.unbox in the dev backend 2023-02-08 13:51:30 +01:00
Joshua Warner
3fee0d3e8f
Fix a bunch of bugs in parsing/formatting found by fuzzing 2023-02-07 20:25:56 -08:00
Joshua Warner
5a6be05ead
implement mono / lowering for tuples 2023-02-07 18:54:50 -08:00
Folkert
c79ae98d16
use allocate_with_refcount in the dev backend 2023-02-08 00:56:45 +01:00
Folkert de Vries
613ef2aa95
Merge pull request #4989 from doubledup/fix-str-docs-unicode-escapes
Fix unicode escape sequences in Str docs
2023-02-05 16:23:09 +01:00
Ahmad Sattar
e8f40cdbb1
Add bools to array building 2023-02-04 01:06:34 +01:00
Ahmad Sattar
6a92aed8a2
Fix subtle call issue 2023-02-04 00:56:45 +01:00
Anton-4
a863c83824
Merge pull request #4995 from dankeyy/nixos_dyn_error
Error for dynamically linked platforms on NixOS
2023-02-03 13:12:32 +01:00
Anton-4
1e32009734
fmt+clippy 2023-02-03 11:49:07 +01:00
dankeyy
1dbd3289ff
using ldd, not readelf 2023-02-02 13:47:22 +02:00
Ayaz Hafiz
009607c55a
Handle FunctionOrTagUnion types in exhaustiveness checking
We should treat FunctionOrTagUnion types as tag unions for the purposes
of exhautiveness checking.

Closes #4994
2023-02-01 22:03:10 -06:00
dankeyy
65bc1a7c80
Merge branch 'roc-lang:main' into nixos_dyn_error 2023-02-01 23:48:47 +02:00
dankeyy
a7d33962f8
cleanup 2023-02-01 23:46:35 +02:00
Richard Feldman
cb5cff37dc
Merge pull request #4990 from roc-lang/fix_different_target
Support subfolders in target folder
2023-02-01 15:16:42 -05:00
dankeyy
4cf3da3aa7
alert users of dynamically linked platforms on nixos 2023-02-01 21:49:55 +02:00
Anton-4
4d237d79a7
also search dirs one level below 2023-01-31 19:37:30 +01:00
David Dunn
550b22c633
Fix unicode escape sequences in Str docs
Unicode characters are escaped like \u(00) instead of \{0x00}. Tested
that this is the same for the repl and the hello world example
`Stdout.line "Hello,\u(0A)World!"`.

Found the correct syntax here:
https://roc.zulipchat.com/#narrow/stream/231634-beginners/topic/terminal.20unicode.20.2F.20colors/near/304768569
2023-01-31 21:39:57 +04:00
Anton-4
b47e086f50
support more complex target folder situation 2023-01-31 17:32:55 +01:00
Joshua Warner
31a4eb2bfd
Fix parsing of tuple accessors after an identifier - e.g. myIdent.2 2023-01-30 21:12:01 -08:00
Ayaz
53b1525139
Merge pull request #4987 from roc-lang/virtual-dom-investigate
Fix a bug in layout cache and some more debugging tools
2023-01-30 19:58:52 -06:00
Ayaz Hafiz
0af5929411
Add comments for debug reprs 2023-01-30 17:22:16 -06:00
Ayaz Hafiz
4a59e24081
Address lints 2023-01-30 16:48:46 -06:00
Ayaz Hafiz
8c68044c54
Prime the cache with a default layer 2023-01-30 16:48:01 -06:00
Ayaz Hafiz
c3064dad73
Add method to get index of interned layout 2023-01-30 15:53:37 -06:00