Commit graph

724 commits

Author SHA1 Message Date
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
9c95392cc6 Merge remote-tracking branch 'origin/trunk' into opt-parser 2021-03-12 03:47:49 +01:00
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00
Folkert
4e4854ceaa remove unneeded argument 2021-03-12 02:48:07 +01:00
Folkert
f5284d1db7 new space parser 2021-03-12 00:33:08 +01:00
Folkert
8ee99fa6be fix up tests 2021-03-10 12:03:33 +01:00
Folkert
2031488d1a give maxI128 an explicit annotation 2021-03-09 20:19:10 +01:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
rvcas
268ab82410 feat(List): add map3 2021-03-08 21:12:19 -05:00
Folkert
dbb4758cb9 Merge remote-tracking branch 'origin/trunk' into backpassing 2021-03-06 19:01:39 +01:00
Folkert
e2d08b8f78 make backpassing an expr 2021-03-06 16:05:18 +01:00
Richard Feldman
1211fa93f7
Merge pull request #1049 from rtfeldman/map2
List.map2
2021-03-05 22:55:12 -05:00
Folkert
d8bc44fd47 add Result.after 2021-03-06 01:53:37 +01:00
Folkert
42654debbf basic backpassing 2021-03-05 22:33:34 +01:00
Folkert
2e73e47673 setup
just some stuff we need in place for the parser to recognice map2 and to give it a (hardcoded) type
2021-03-04 14:42:43 +01:00
Folkert
a255805331 Merge branch 'parse-record-expr' into import-alias 2021-03-03 00:51:27 +01:00
Folkert
469bbae2f1 make type aliases unqualified importable 2021-03-02 14:48:44 +01:00
Folkert
a87dfac7da improved malformed patterns 2021-03-01 16:12:37 +01:00
Folkert
e395d18e16 bunch of stuff 2021-02-28 23:36:27 +01:00
Folkert
41720ec5db attempt at multiline string 2021-02-26 21:14:46 +01:00
Folkert
5ec0103996 make parser helpers emit a more specific error (line too long) 2021-02-26 19:44:26 +01:00
Folkert
94fc5a1935 parse scientific notation 2021-02-26 16:09:17 +01:00
Folkert
0684a93727 fix offsets, add tests 2021-02-26 15:52:44 +01:00
Folkert de Vries
869d3d18d0
Merge branch 'trunk' into bytes 2021-02-26 12:14:52 +01:00
Folkert
a6edc58323 make fromUtf8 do RC 2021-02-24 21:25:14 +01:00
Folkert
30ecd378a0 refactor parse AST to allow multiple if branches 2021-02-23 14:31:48 +01:00
Folkert
9116e9e8c9 add Str.toBytes 2021-02-21 19:52:32 +01:00
Folkert
43e71f2ee9 int cast 2021-02-21 16:07:35 +01:00
Folkert
128741e585 add right shift operators 2021-02-21 16:01:01 +01:00
Folkert
93359b88cb Merge remote-tracking branch 'origin/str-fromUtf8' into bytes 2021-02-21 15:31:49 +01:00
Folkert
57b78dde06 Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:36 +01:00
Folkert
ea76578e06 add Num.bitwiseOr and Num.shiftLeftBy 2021-02-21 15:15:16 +01:00
Folkert
20921f94fb don't abuse var symbols 2021-02-19 17:08:22 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
49ca8f3e86 add Set.fromList 2021-02-16 00:51:23 +01:00
Folkert
5826da028c add Set.contains 2021-02-16 00:12:57 +01:00
Folkert
83f875ddca use helpers in can builtin construction 2021-02-15 22:50:02 +01:00
Folkert
fbaac9165f add lowlevel helpers to can builtins 2021-02-15 22:33:58 +01:00
Folkert
0fdba3be56 memory leak investigation 2021-02-15 22:05:00 +01:00
Folkert
13b2c23c01 working AStar 2021-02-15 21:34:55 +01:00
Folkert
35e1e94a94 implement Set.walk 2021-02-15 01:49:25 +01:00
Folkert
57e8d5b4c3 implement Set inclusion functions 2021-02-14 23:57:35 +01:00
Folkert
1256327caa dict walk 2021-02-14 21:16:42 +01:00
Folkert
39c4353554 add difference 2021-02-14 20:01:24 +01:00