Commit graph

63 commits

Author SHA1 Message Date
ayazhafiz
9602b3634c
Fix repl test 2022-04-25 19:03:25 -04:00
Ayaz Hafiz
f1dc9c8298
Opaques take @ : %s/\$\([A-Z]\)/@\1/g 2022-04-25 12:26:38 -04:00
Ayaz
64ed7eea95
Merge branch 'trunk' into fix-when-branch-solving 2022-04-24 12:19:22 -04:00
Richard Feldman
122a1d57a0
Merge remote-tracking branch 'origin/trunk' into sqrt-unchecked 2022-04-23 15:40:30 -04:00
Ayaz Hafiz
6422c55899
Fix mono test 2022-04-23 10:57:31 -04:00
Ayaz Hafiz
5ebae63c0f
Fix mono test 2022-04-23 10:57:30 -04:00
Ayaz Hafiz
c624969286
Turn repl test back on 2022-04-23 10:57:29 -04:00
Ayaz Hafiz
101ce7c6e8
Disable mono test for now 2022-04-23 10:56:54 -04:00
Ayaz Hafiz
5dfe44c72d
Render nullable wrapped tag unions that pass through aliases 2022-04-22 17:57:01 -04:00
Ayaz Hafiz
02d5cd7885
Deal with recursive pointers that pass through non-recursive layouts 2022-04-22 17:57:01 -04:00
Jared Cone
1ee2f85f9e
Exclude filename from repl reports. 2022-04-21 22:44:07 -07:00
Jared Cone
66009c4b3c
Updated unit tests 2022-04-20 21:25:11 -07:00
Richard Feldman
082fde976a
Merge branch 'trunk' into sqrt-unchecked 2022-04-20 08:19:34 -04:00
Kevin Gillette
d236c28743
Merge branch 'trunk' into sqrt-unchecked 2022-04-18 19:12:22 -06:00
Kevin Gillette
6a3fd3a607
rename divFloor to divTrunc 2022-04-18 02:33:31 -06:00
Kevin Gillette
1908ff41c3
rem, sqrt, log are unchecked but have checked variants
mod exists but is not implemented due to lack of hardware support
(emulation, possibly in terms of rem, is needed).
2022-04-17 14:40:39 -06:00
Sean Hagstrom
c67a1bb8d4 fix(repl) and fix(pretty_print): update pretty_print output for Num FloatingPoint * to be Float * instead of F64 2022-04-15 16:37:39 +01:00
Ayaz Hafiz
41dd7d0b4d
Specialize bodies with body var, not function var
I'm surprised code generation worked so well without this, before...

Closes #2818
2022-04-13 18:35:50 -04:00
Nikita Mounier
e2cccbc7b5
Format previous change. 2022-04-11 23:32:34 +00:00
Nikita Mounier
82a01c876e
Update REPL tests 2022-04-11 23:28:50 +00:00
Ayaz Hafiz
0f0e56a21c
Deal with fastcc return-by-pointer convention correctly
Closes #2582
2022-04-04 16:33:01 -04:00
Brian Carroll
1e1fe2ec7c Run REPL tests on wasm-wasi rather than wasm-unknown-unknown, for easier debugging 2022-03-27 09:18:28 +01:00
ayazhafiz
ee8b2a5283 Disable repl box tests on wasm for now 2022-03-13 20:16:04 -05:00
ayazhafiz
e3d3f51951 Demonstrate Box alias imported correctly
Closes #2712
2022-03-13 18:48:56 -05:00
ayazhafiz
ec4bb9ad83 Support boxes in repl
Closes #2712
2022-03-13 18:44:38 -05:00
ayazhafiz
fe1cbc2261 Print i8s correctly in repl
Closes #2710
2022-03-13 18:44:38 -05:00
Brian Carroll
be72439acc repl_wasm: disable console_error_panic_hook for tests 2022-03-12 19:23:17 +00:00
Folkert de Vries
af15055c95
Merge pull request #2641 from rtfeldman/DecRepl
Display Dec in REPL
2022-03-07 16:17:06 +01:00
Richard Feldman
42180317c5
Add missing #[test] annotation 2022-03-06 19:36:46 -05:00
Derek Gustafson
f55aa0c4b6
Add Dec in repl test. 2022-03-06 09:47:21 -05:00
Philippe Vinchon
b9365d06e3 Allow multi string in RePL 2022-03-03 21:15:01 +00:00
Brian Carroll
dcf3c052af
Merge pull request #2594 from rtfeldman/wasm-repl-fixes
Wasm REPL bug fixes
2022-02-27 18:40:47 +00:00
Brian Carroll
1c25ab515d repl_test: skip wasm validation for the compiler 2022-02-27 17:39:29 +00:00
Brian Carroll
86aec0dbe2 Earthfile: move wasm REPL test command back to the script 2022-02-27 17:03:39 +00:00
Folkert
fb717b4f55
fix merge conflict 2022-02-27 14:08:47 +01:00
Brian Carroll
16ba9f2d57 Inline repl_test/test_wasm.sh into Earthfile for better reporting 2022-02-27 11:29:37 +00:00
ayazhafiz
4e27cdd21d Compile opaque patterns all the way, and add repl test 2022-02-27 00:11:10 -05:00
ayazhafiz
9d87c605fe Couple of opaque repl tests 2022-02-27 00:10:12 -05:00
Brian Carroll
c6a9b900ca Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-repl-fixes 2022-02-26 22:14:13 +00:00
ayazhafiz
6e555e428d Use correct layouts when rendering records
Closes #2588
2022-02-26 15:53:16 -05:00
ayazhafiz
4742847ba9 Wrap content that is unwrapped and passes through a type alias correctly
Closes #2592
2022-02-26 15:08:27 -05:00
Brian Carroll
cb1bbec5de Changes from PR self-review 2022-02-26 14:32:37 +00:00
Brian Carroll
85ade20b80 Formatting 2022-02-26 13:45:35 +00:00
Brian Carroll
b6fc8dea91 repl_test: reorganise modules 2022-02-26 13:27:08 +00:00
Brian Carroll
97fe32a018 repl_test: add REPL wasmer tests to CI 2022-02-26 13:13:57 +00:00
Brian Carroll
713241670a repl_wasm: Fix bugs in wrapper function generation 2022-02-26 13:13:57 +00:00
Brian Carroll
7719f0646e repl_wasm: Graceful handling of invalid Wasm code gen 2022-02-26 13:12:52 +00: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