Commit graph

4395 commits

Author SHA1 Message Date
Richard Feldman
deb48d48f8 Use zig env to find zig compiler_rt 2021-03-14 22:31:32 -04:00
Richard Feldman
978b3a901d Have --debug use .roc path for .ll and .bc 2021-03-14 22:31:32 -04:00
Richard Feldman
58cf08349e Don't check in binaries in examples 2021-03-14 22:31:32 -04:00
Chadtech
7d78de110b Added comptime import compiler_rt to several host.zig files 2021-03-14 22:31:32 -04:00
Richard Feldman
beacdfda31 Don't use --gc-sections on macos 2021-03-14 22:31:32 -04:00
Chadtech
1e9cf7ba89
Merge branch 'trunk' into singleton-to-single 2021-03-14 21:58:08 -04:00
Chadtech
b22672fb0e Changed singleton to single 2021-03-14 21:57:10 -04:00
Folkert
240df052c5 parse leading unary minus again 2021-03-14 23:28:56 +01:00
Eric Henry
1e9bd0d7f1 implement isMultipleOf builtin 2021-03-14 14:52:38 -04:00
Folkert
032a55383c fix whitespace issue 2021-03-14 14:48:39 +01:00
Folkert
e135351208 Merge remote-tracking branch 'origin/trunk' into expression-move 2021-03-14 13:08:14 +01:00
Folkert
bde76db7bf cleanup 2021-03-14 00:24:53 +01:00
Folkert
ee3661ea58 clean up has-type stuff 2021-03-14 00:01:39 +01:00
Folkert
adcb772949 clippy 2021-03-13 22:43:47 +01:00
Folkert
361eb25562 cleanup 2021-03-13 22:39:50 +01:00
Folkert
c26fd45d54 all is working again 2021-03-13 22:36:44 +01:00
Folkert
022ed7b24c handle negated number literals 2021-03-13 19:41:07 +01:00
Folkert
6214f0caa8 fix end in expr_start 2021-03-13 16:05:15 +01:00
Folkert
8e10ed542c fix typo 2021-03-13 15:50:52 +01:00
Folkert
0be4704f94 checkpoint working parse tests 2021-03-13 15:49:07 +01: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
04be0ece04 snake case function name 2021-03-12 21:26:24 -05:00
Eric Henry
f86888de46 fix tests, i64 conversions 2021-03-12 21:16:32 -05:00
Eric Henry
fe60805278 fix test, expect i128 2021-03-12 20:56:52 -05:00
Eric Henry
aa6d5b9e34 fix clippy linting errors 2021-03-12 20:48:34 -05:00
Eric Henry
3e4eb8d839 Clean up file and repl support for Num.maxI128 2021-03-12 17:48:55 -05:00
Eric Henry
66f07d984e Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-maxI128 2021-03-12 17:40:57 -05:00
Folkert
d2251cced2 only region within parens for unary ops 2021-03-12 23:22:48 +01:00
Folkert
9d3ff42746 fix space problem 2021-03-12 23:20:41 +01:00
Folkert
93023f495b fix whitespace 2021-03-12 23:17:18 +01:00
Folkert
376d4431ab correct parsing of unary applies 2021-03-12 23:15:04 +01:00
Folkert
703a8de72f basic structure 2021-03-12 22:21:27 +01:00
Folkert
28cc3348a6 add Position type 2021-03-12 16:49:24 +01:00
Folkert
f01424ac11 smarter unary minus parsing 2021-03-12 16:44:33 +01:00
Folkert
214112d751 Revert "store is_negative for all number literals in the parse ast"
This reverts commit 182fd5201d.
2021-03-12 16:43:52 +01:00
Folkert
4b903e5531 Revert "implement negation"
This reverts commit e5e38f03bc.
2021-03-12 16:37:48 +01:00
Folkert
1663822ac9 Revert "deadend"
This reverts commit 06278c2efe.
2021-03-12 16:37:44 +01:00
Folkert
06278c2efe deadend 2021-03-12 16:37:00 +01:00
Folkert
e5e38f03bc implement negation 2021-03-12 16:17:11 +01:00
Folkert
182fd5201d store is_negative for all number literals in the parse ast 2021-03-12 16:11:46 +01:00
Folkert
866fa14590 remove loc wrapper 2021-03-12 14:30:19 +01:00
Folkert
9c95392cc6 Merge remote-tracking branch 'origin/trunk' into opt-parser 2021-03-12 03:47:49 +01:00
Folkert
fd5ab353db clippy 2021-03-12 03:46:52 +01:00
Folkert
f5f98b2400 clippy 2021-03-12 03:43:39 +01:00
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00
Folkert
b349ae7ab5 type variable errors 2021-03-12 03:18:31 +01:00
Folkert
16a2dfd058 remove unused functions 2021-03-12 03:10:57 +01:00
Folkert
e815e57dcf remove more syntax errors 2021-03-12 03:04:47 +01:00