Commit graph

45 commits

Author SHA1 Message Date
Folkert
ef211ce49a clippy 2021-03-21 22:15:47 +01:00
Folkert
ce98da9d04 remove Nested from Def 2021-03-21 21:14:32 +01:00
Folkert
2827af7e59 remove Nested from pattern 2021-03-21 21:03:37 +01:00
Folkert
197835b6ed remove nested in expr 2021-03-21 20:56:18 +01:00
Folkert
165a2d83ff cleanup 2021-03-21 00:24:58 +01:00
Folkert
8b8afec50e remove allocation 2021-03-20 23:51:55 +01:00
Folkert
1871697b0f remove BinOp variant 2021-03-20 23:01:12 +01:00
Folkert
ad40609d44 cleanup 2021-03-20 22:36:08 +01:00
Folkert
d5ec66244f use new binops 2021-03-20 21:19:10 +01:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
Folkert
60265b5d2a add dedicated RecordUpdate tag to parse ast 2021-03-20 16:06:07 +01:00
Folkert
0e7106280c bump allocate precedence conflict 2021-03-20 15:59:06 +01:00
Folkert
9208000316 only store start position for PrecedenceConflict 2021-03-20 15:34:08 +01:00
Folkert
d22acb521e use record for PrecedenceConflict 2021-03-20 15:07:15 +01:00
Folkert
9d10b060da clippy 2021-03-17 21:19:26 +01:00
Folkert
0be4704f94 checkpoint working parse tests 2021-03-13 15:49:07 +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
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
182fd5201d store is_negative for all number literals in the parse ast 2021-03-12 16:11:46 +01:00
Folkert
e2d08b8f78 make backpassing an expr 2021-03-06 16:05:18 +01:00
Folkert
42654debbf basic backpassing 2021-03-05 22:33:34 +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
Sébastien Besnier
4e9387cbda fix compile issues 2020-12-28 21:17:27 +01: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
Sébastien Besnier
420e1c84e0 make clippy happy 2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501 fix parsing issue 2020-11-08 13:48:19 +01:00
Richard Feldman
6db4bd6ed4 Drop spaces around fields in canonicalization 2020-11-08 13:48:19 +01:00
Richard Feldman
5f82372899 Fix AnnotatedBody desugaring 2020-11-08 13:48:19 +01:00
Sébastien Besnier
014131dabe handle AnnotatedBody everywhere. It compiles now! 2020-11-08 13:43:11 +01:00
Brendan Hansknecht
d00189530a Add fuzzing to the parser.
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07: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
3c39a331d7 Remove obsolete parse::ast::TypedBody 2020-09-07 09:19:25 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Richard Feldman
85f51ef39d Introduce optional record fields 2020-07-18 12:31:17 -04:00
Richard Feldman
5fe30be9f5 s/negate/neg 2020-07-12 22:53:03 -04:00
Richard Feldman
88990c8711 Move Int and Float modules into Num 2020-06-22 23:25:38 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -04:00
Folkert
11c8e2bfaa improve Precedence error message 2020-03-31 23:11:35 +02:00
Folkert
a040bc971a don't drop guard, and desugar it 2020-03-21 14:58:28 +01:00
Richard Feldman
3ecbe0325c Plain number literals (e.g. 5) are now Num * 2020-03-10 22:27:13 -04:00
Richard Feldman
3b6ed43126 Extract can/ into its own crate, plus its deps 2020-03-05 23:01:32 -05:00
Renamed from compiler/src/can/operator.rs (Browse further)