Commit graph

83 commits

Author SHA1 Message Date
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
Folkert
e2d08b8f78 make backpassing an expr 2021-03-06 16:05:18 +01:00
Folkert
e395d18e16 bunch of stuff 2021-02-28 23:36:27 +01:00
Folkert
4eea0aff7a refactor parse AST to allow multiple if branches 2021-02-25 14:34:58 +01:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
rvcas
9dbcfb7a97 Merge branch 'temp_numbers' into int_a_float_a 2020-12-30 19:59:20 -05:00
Jared Ramirez
48f964adf4 Add percision variable in fp/integer eq constraints 2020-12-28 16:22:34 -06:00
Sébastien Besnier
4e9387cbda fix compile issues 2020-12-28 21:17:27 +01:00
Folkert
8b289f3398 simple literals in editor ast 2020-12-15 17:00:08 +01:00
Folkert
66748d3a50 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-04 20:45:30 +01:00
Chadtech
767a348812 Record references in can/expr before evaluating to runtime error 2020-11-21 14:07:09 -05:00
Sébastien Besnier
58acc59b01 correctly parse trailing commas in record 2020-11-13 19:02:26 +01:00
Sébastien Besnier
6ad1bb233a add TrailingComma to Record & little formatter refactor 2020-11-13 19:01:46 +01:00
Folkert
c05ec12be0 report a Foo.Bar malformed identifier 2020-11-12 20:48:34 +01:00
Richard Feldman
93867b1a1b Improve some error reporting 2020-11-08 13:48:19 +01:00
Folkert
7cfe5efe1b Merge remote-tracking branch 'origin/trunk' into generate-effects-module 2020-11-07 00:30:23 +01:00
Folkert
eae797a47a introduce ForeignSymbol wrapper 2020-11-05 23:43:32 +01:00
Folkert
3cd132dd51 introduce foreign call 2020-11-05 23:35:56 +01:00
Sébastien Besnier
619cabe1b8 add reporting tests 2020-11-04 10:51:34 +01:00
Sébastien Besnier
5273896981 working feature 2020-11-04 09:49:19 +01:00
Sébastien Besnier
aaff5a5dce first draft about invalid optional fields in records 2020-11-03 21:28:50 +01:00
Folkert
b075c2d394 clean up imports 2020-10-31 15:36:46 +01:00
Folkert
8b3b677439 remove aliases from Let and LetCon 2020-10-31 15:27:24 +01:00
Folkert
ee23e5979d pass argument by reference 2020-10-29 00:35:10 +01:00
Folkert
047746c716 use only references (no Vec) in canonical AST 2020-10-29 00:12:44 +01:00
Richard Feldman
b43ff799ff Revise a bunch of bucket stuff 2020-10-22 21:59:58 -04:00
Folkert
cfce0235f2 fix mono tests 2020-10-17 02:41:40 +02:00
Folkert
777b29259f remove unused function 2020-10-17 00:51:10 +02:00
Folkert
cbe78593c2 add extra pass that further trims down the captured symbols 2020-10-17 00:17:55 +02:00
Folkert
d931c8994a fix most type inference issues 2020-10-16 20:50:42 +02:00
Folkert
e656363cc0 restrain the set of captured variables further 2020-10-16 01:42:06 +02:00
Folkert
40ffca2b7b IT WORKS 2020-10-16 00:18:40 +02:00
Folkert
b7e099a6c8 add captured symbols field to Closure 2020-10-15 16:08:35 +02:00
Folkert
de8ad07f2e Merge branch 'top-level-thunks' into sized-functions-inference 2020-10-14 21:58:53 +02:00
Folkert
c8e5acf142 code gen Accessor 2020-10-03 21:44:04 +02:00
Folkert
05d1f28e83 add logic to generate/solve closure size constraints 2020-10-02 20:46:47 +02:00
Folkert
2e1e87ad6a add closure size variable 2020-10-02 00:53:02 +02:00
Richard Feldman
be0c8cd59b clipp-w clipp-x clipp-y 2020-08-31 23:22:10 -04:00
Richard Feldman
37a254cef3 Interpolate strings by desugaring to Str.concat
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
2e15443c8c Canonicalize unicode code point escapes 2020-08-31 23:13:50 -04:00
Richard Feldman
7682e09b0a Fix some fmt stuff 2020-08-31 23:13:50 -04:00
Richard Feldman
274e7e786d Constrain string interpolation 2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Folkert
b4c5c2f793 add variable to list
stores the list type, so we can know whether it is unique
2020-08-10 21:05:57 +02:00
Richard Feldman
71f929aba2 Count default exprs as having used things 2020-07-20 21:58:05 -04:00
Richard Feldman
8b53ec15fe Change guard to DestructType 2020-07-18 12:42:04 -04:00
Folkert
331a8ed5eb error message for record update and missing module 2020-07-14 23:37:19 +02:00
Richard Feldman
1cd49689c2 Merge remote-tracking branch 'origin/trunk' into low-level-ops 2020-07-07 21:09:50 -04:00
Folkert
9d67b11c0d pretty error messages for integers 2020-07-07 22:10:23 +02:00