Commit graph

42 commits

Author SHA1 Message Date
Folkert
ff3f231155 remove Mode from stdlib 2021-04-01 21:42:38 +02:00
Richard Feldman
9f73c576f3 macro_use must be in crate root 2021-03-26 09:46:33 -04:00
Richard Feldman
6dc5aa2901 Allow dead code on a couple of helpers 2021-03-26 09:16:23 -04:00
Richard Feldman
e5bbca477d Revert "Drop some unused helpers"
This reverts commit 09cf687349.
2021-03-26 09:15:08 -04:00
Richard Feldman
0cd8ea5cea Re-add indoc in the right place 2021-03-26 09:14:43 -04:00
Richard Feldman
09cf687349 Drop some unused helpers 2021-03-26 08:45:47 -04:00
Eric Henry
7354f0e8ea final test fix 2021-03-13 08:31:48 -05:00
Eric Henry
d47c3d7f49 test fix test 2021-03-12 22:50:48 -05:00
Eric Henry
2a90c147c6 fix Test, another one 2021-03-12 21:46:38 -05:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
Brendan Hansknecht
7d24d51392 gen_dev: generate and link zig builtins. 2021-02-14 18:15:00 -08:00
Brendan Hansknecht
a783be3332 gen_dev: add switch statements. This also fixes a small bug with comparisons. 2021-02-13 15:35:55 -08:00
Brendan Hansknecht
95be1a1b6d gen_dev: add ability to pass arguments to functions 2021-02-12 19:32:34 -08:00
Brendan Hansknecht
fc3bbb9fbc Merge remote-tracking branch 'origin' into gen_dev/funcs 2021-02-12 17:02:36 -08:00
Brendan Hansknecht
846c82961f gen_dev: add basic function support 2021-02-10 22:38:58 -08:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Brendan Hansknecht
9032c8c43b Expand register names for more readability 2021-01-21 21:14:21 -08:00
Brendan Hansknecht
5cabdd83b0 Merge remote-tracking branch 'origin/trunk' into dev-backend 2021-01-21 21:01:10 -08:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Brendan Hansknecht
244113ede2 Add floating point addition 2021-01-19 15:25:21 -08:00
Sébastien Besnier
1ee2c7a40f add equality testing in gen_dev 2021-01-19 15:08:03 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Brendan Hansknecht
71b7ee7fab Fix test with large float 2021-01-18 12:25:50 -08:00
Brendan Hansknecht
108dfb758e Add floats literal loading tests to dev backend 2021-01-18 12:11:13 -08:00
Folkert
ab6cb7ac93 pass stdlib by reference 2021-01-14 16:49:55 +01:00
Sébastien Besnier
dfed317f8e add x86_64 subtraction support for gen_dev 2021-01-13 20:56:33 +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
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
Folkert
7919b2eef3 clippy 2020-12-06 22:16:53 +01:00
rvcas
79cce7c5c9 Merge branch 'trunk' into task_can 2020-12-03 19:05:10 -05:00
rvcas
4f19eedce4 chore: comment out unused stuff to reduce noise 2020-12-01 23:02:25 -05:00
Brendan Hansknecht
f9343ce070 Keep aarch64 tests disable 2020-12-01 18:42:59 -08:00
Brendan Hansknecht
dbf335a79d Add AArch64 to dev backend object generation 2020-11-30 02:47:18 +00:00
Brendan Hansknecht
0d0eb440db Properly generate main function name 2020-11-24 23:37:41 -08:00
Richard Feldman
6e126b3465 Update gen_dev tests to use new module format 2020-11-24 20:23:33 -05:00
Brendan Hansknecht
7fd7407724 Add lazy literal loading optimization 2020-11-22 13:44:38 -08:00
Brendan Hansknecht
902bbef60a Add storing variables in the stack 2020-11-22 12:48:09 -08:00
Brendan Hansknecht
4b3926be50 Add Num.add as inlined function 2020-11-21 00:08:12 -08:00
Brendan Hansknecht
13781a6f8f Add Num.abs as inlined function 2020-11-20 23:04:35 -08:00
Brendan Hansknecht
a8986087f9 Add ability to return int literals 2020-11-15 14:06:20 -08:00
Brendan Hansknecht
86c3c0a409 Add base structure for dev compiler backend
Currently we only generate a single static function, but it is probably
loaded and run with jit. This is the base to start generating proper
code.
2020-11-14 18:43:02 -08:00