Commit Graph

489 Commits

Author SHA1 Message Date
Folkert
6ef443d1b0
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-04-10 19:14:00 +02:00
Richard Feldman
babe281b5d
Merge pull request #2780 from rtfeldman/no-link
Add --no-link flag for more complex linking cases
2022-04-08 23:49:48 -04:00
Folkert
1d0f9e9192
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-04-08 15:47:11 +02:00
Folkert
db63382f68
upgrate the inkwell revision we use 2022-03-30 17:34:19 +02:00
Folkert
fd209f90ff
fix bug where incorrect stack size is given 2022-03-30 17:25:28 +02:00
Brendan Hansknecht
76ffb4f278 Add --no-link flag for more complex linking cases 2022-03-29 18:20:29 -07:00
Folkert
fd527c2b4d
upgrate parking lot to 0.12 2022-03-30 00:14:28 +02:00
Folkert
4859f530cd
generate cached subs 2022-03-23 21:19:37 +01:00
Folkert
80b8635947
restructure how load is used 2022-03-23 21:19:36 +01:00
Folkert
0a6335e772
start on roc_load build.rs script for building the builtins 2022-03-23 21:19:34 +01:00
Folkert
7bb1fd88fa
add load_internal 2022-03-23 21:19:34 +01:00
Folkert
aefb536bc4
Merge branch 'add-load-internal' into builtins-in-roc 2022-03-23 17:35:49 +01:00
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Folkert
a9982a30aa
WIP 2022-03-21 19:23:13 +01:00
Folkert
bcd100e462
remove allocation in Symbol creation 2022-03-18 22:10:03 +01:00
Folkert
813b22a106
remove allocation in Symbol creation 2022-03-18 22:07:12 +01:00
Brian Carroll
68222dfd50 repl: apply the relevant style codes in each REPL (web and terminal) 2022-03-17 09:46:52 +00:00
ayazhafiz
8aaf614481 Improve error message 2022-03-15 11:18:02 -05:00
Anton-4
d373085386
Merge pull request #2675 from rtfeldman/new-syntax-highlight
peg grammar, tokenizer, new syntax highlighting
2022-03-14 17:20:14 +01:00
Folkert
ed247c9da3
Merge remote-tracking branch 'origin/trunk' into type-checking-storage-subs 2022-03-13 13:43:00 +01:00
Brian Carroll
4f7591f963 repl_wasm: forward Rust panics to JS console.error
I can't believe this isn't the default for wasm_bindgen, but it isn't!
2022-03-12 15:38:52 +00:00
Folkert
e3e9215578
Merge remote-tracking branch 'origin/trunk' into type-checking-storage-subs 2022-03-12 14:10:43 +01:00
Folkert
28ce49c273
use lazy_static 2022-03-12 00:18:06 +01:00
Anton-4
1469b587fb
Merge branch 'trunk' of github.com:rtfeldman/roc into new-syntax-highlight 2022-03-11 15:13:40 +01:00
Brendan Hansknecht
cdf19e3feb
Merge pull request #2698 from rtfeldman/i/2696
Make sure casting to unsigned types performs zero-extension
2022-03-10 20:10:33 -08:00
ayazhafiz
a90bba3d1d Make sure casting to unsigned types performs zero-extension
Closes #2696
2022-03-10 17:39:37 -06:00
Anton-4
cda90d987c
cleanup 2022-03-09 09:26:32 +01:00
Anton-4
a4d59ae0e7
don't let earthly forget about highlight folder 2022-03-08 15:43:04 +01:00
Derek Gustafson
ba6b225761
Hide RocDec implemntation details. 2022-03-07 15:34:02 -05:00
Anton-4
0ca66cc41b
Merge branch 'trunk' of github.com:rtfeldman/roc into new-syntax-highlight 2022-03-07 20:01:38 +01:00
Folkert de Vries
af15055c95
Merge pull request #2641 from rtfeldman/DecRepl
Display Dec in REPL
2022-03-07 16:17:06 +01:00
Derek Gustafson
f2de6baa36
Add functionality to turn RocDecs into strings. 2022-03-05 17:28:12 -05:00
Richard Feldman
c89a6c109a
Merge pull request #2627 from rtfeldman/constraints-soa
Constraints using Struct of Arrays
2022-03-04 19:39:03 -05:00
Derek Gustafson
dc92de7781
Add plumbing for displaying RocDec in the repl. 2022-03-04 17:32:09 -05:00
Anton-4
37704323b1
basic highlighting flow using MarkupNodes 2022-03-04 20:19:05 +01:00
Brian Carroll
f2adf71873 Move alias analysis to its own crate instead of roc_mono
Shrinks roc_repl_wasm by 400kB (~8%)
2022-03-04 14:50:02 +00:00
Folkert
01a7fe77d4
even more wip 2022-03-02 17:32:50 +01:00
Anton-4
0fee3c7b23 exclude roc_std to fix windows link error 2022-03-02 07:56:56 +01:00
Folkert
d54c98e1aa
Merge remote-tracking branch 'origin/trunk' into constraints-soa 2022-03-01 22:39:51 +01:00
Anton-4
bddab60e6b
Merge branch 'trunk' of github.com:rtfeldman/roc into new-syntax-highlight 2022-03-01 11:36:59 +01:00
Anton-4
5ec2125ac6
Merge branch 'trunk' into windows_fixes 2022-02-28 19:12:18 +01:00
Anton-4
b5d8ab7d6f cleanup 2022-02-28 18:26:55 +01:00
Anton-4
784894bb8f
fixing windows cargo build errors 2022-02-28 13:48:11 +01:00
ayazhafiz
b9a29bdb16 Make exhaustive checking its own crate
Prepares for moving exhaustiveness checking to the closer typechecking
phase. Doing this one step at a time so that git preserves the rename.
2022-02-27 20:28:25 -05:00
Brian Carroll
76b5982451 repl_test: use lazy_static to initialise wasm compiler once for all tests 2022-02-26 13:12:52 +00:00
Brian Carroll
3537f90e6d repl: get Str working properly in CLI and Wasm REPLs 2022-02-26 13:12:52 +00:00
Brendan Hansknecht
c327681ebc Wasmer: use cranelift for non-x86_64 since singlepass is not supported 2022-02-24 10:31:21 -08:00
Anton-4
8fee48c3fa
windows zig path validation workaround
std::fs::canonicalize adds a special windows prefix ?, zig erroneously (ziglang/zig#1509) does not allow ? in windows paths, dunce correctly removes this ? prefix
2022-02-22 16:17:21 +01:00
hafiz
ca9ecbea52
Merge pull request #2533 from rtfeldman/abilities!
[WIP] Spike for abilities and friends
2022-02-21 23:18:40 -05:00
ayazhafiz
90de82e295 Validation of opaques during canonicalization 2022-02-21 18:25:19 -05:00