Commit graph

489 commits

Author SHA1 Message Date
Richard Feldman
8ebf45040e
Merge pull request #897 from rtfeldman/stdlib-by-reference
pass stdlib by reference
2021-01-14 22:44:52 -05:00
Folkert
b47ccb20fd add NullableUnion layout 2021-01-15 00:25:28 +01:00
Folkert
ab6cb7ac93 pass stdlib by reference 2021-01-14 16:49:55 +01:00
Sébastien Besnier
fdc2b6ad86 add bitwise xor 2021-01-14 16:12:46 +01:00
Chadtech
cddd64f1c9 Get rid of old Dict implementation, use Zig wyhash, and WIP for testing Roc use of zig wyhash 2021-01-12 00:59:40 -05:00
rvcas
790ee4f638 fix: eval 2021-01-09 11:25:45 -05:00
rvcas
565cf21e1e fix(tests): need to adjust tests after changing builtin function types 2021-01-05 09:18:24 -05:00
rvcas
a6cc4b31d3 feat(eval): support Nat in the repl 2021-01-05 09:17:08 -05:00
Folkert
664a232cb1 don't use the unique stdlib, even in --optimize mode 2021-01-04 23:34:59 +01:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
rvcas
a123bfa3ee fix: tests compile and repl_eval 2021-01-04 09:46:10 -05:00
Jared Ramirez
faa8f66b6c Add gen support for Nat 2021-01-01 17:40:47 -06:00
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
Sébastien Besnier
4e9387cbda fix compile issues 2020-12-28 21:17:27 +01:00
Richard Feldman
7a53003313
Merge pull request #826 from rtfeldman/bughunt
Throw on overflow in Num.neg/Num.abs & fix mono bug
2020-12-26 23:41:11 -05:00
Folkert
a760a41e1f repl: show error for partial application 2020-12-26 22:13:05 +01:00
Folkert
ebe22c9903 repl support for already-defined functions 2020-12-26 21:54:00 +01:00
Folkert
12c7b5435a generate more runtime errors 2020-12-26 21:30:25 +01:00
Folkert
3d1824c658 add test 2020-12-26 21:20:50 +01:00
Folkert
95e0faad30 show type of lambda in the repl 2020-12-26 21:19:45 +01:00
Folkert
125146aac7 Merge remote-tracking branch 'origin/trunk' into bughunt 2020-12-26 00:51:22 +01:00
Folkert
917ec9c44c make List.first/List.last work 2020-12-24 01:00:37 +01:00
Celso Bonutti Filho
e118b9a1ed test: adds repl tests for Num checked operations 2020-12-23 13:44:02 -03:00
Celso Bonutti Filho
c98d554328 test: adds tests for mulCheck and mulWrap 2020-12-23 13:43:34 -03:00
Celso Bonutti Filho
313bc2ab86 adds tests for Num.subWrap and sub overflow 2020-12-22 22:18:00 -03:00
Celso Bonutti Filho
51a302957f adds List.last 2020-12-21 19:44:24 -03:00
Celso Bonutti Filho
0a24f3b4b4 adds Num.bitwiseAnd 2020-12-20 19:55:10 -03:00
Folkert
818465e8e1 update cli fixtures 2020-12-09 01:17:29 +01:00
Richard Feldman
149d10ea0b
Merge pull request #780 from rtfeldman/rvcas/rename_int
Rename Int to I64
2020-12-07 22:49:39 -05:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Folkert
0b0ae7b287 make it work! 2020-12-08 00:15:57 +01:00
Folkert
4fdf8e5fab report on LLVM codegen time 2020-12-06 02:30:34 +01:00
Folkert
68c54b5327 display Result in the repl 2020-12-01 15:21:53 +01:00
Chadtech
3fd04cee29 Check for valgrind suppressions file environment variable when running valgrind test 2020-11-28 14:45:41 -05:00
Anton-4
ea846b5842 Merge branch 'trunk' of ssh://github.com/rtfeldman/roc into repl_history 2020-11-27 11:45:20 +01:00
Anton-4
e3f64bdb61 repl keep command history 2020-11-27 11:45:11 +01:00
Folkert
5569e328f6 add --debug mode that annotates LLVM IR with debug info 2020-11-26 21:31:52 +01:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Richard Feldman
91bc0a36c3 Improve valgrind error output 2020-11-23 21:43:28 -05:00
Richard Feldman
2991e695aa Ignore *.o in examples/ and fixtures/ 2020-11-23 00:33:56 -05:00
Richard Feldman
f6e42e610f Fix repl 2020-11-23 00:33:56 -05:00
Richard Feldman
6453292224 Tell valgrind the right executable name 2020-11-23 00:33:56 -05:00
Richard Feldman
6563d0b306 Improve valgrind diagnostics 2020-11-23 00:33:56 -05:00
Richard Feldman
c78abeaa54 Use debug formatter on valgrind error 2020-11-23 00:33:56 -05:00
Richard Feldman
88d2ad1ffc Use roc__ prefix for exposed app functions 2020-11-23 00:24:40 -05:00
Richard Feldman
759c047b4c Add some .gitignores 2020-11-23 00:24:40 -05:00
Richard Feldman
3e01df2bcf Update parse tests to incorporate module headers 2020-11-23 00:08:49 -05:00
Richard Feldman
eb6a7b51ff Use app path in output 2020-11-23 00:08:49 -05:00
Folkert
b6433f872a DCE unused functions everywhere 2020-11-23 02:15:40 +01:00
Folkert
58246ad572 DCE zig-defined builtins that aren't used in user code 2020-11-23 02:01:57 +01:00