Commit graph

27 commits

Author SHA1 Message Date
Richard Feldman
85e7969c2d
Replace references to "global tag" with "tag" 2022-04-25 17:04:34 -04:00
Ayaz Hafiz
1ed9cf551a
Remove private tags from Ast 2022-04-25 11:20:37 -04:00
Brendan Hansknecht
f7c0e2ef19 Merge remote-tracking branch 'origin/trunk' into single-quote-literal 2022-02-24 10:13:39 -08:00
ayazhafiz
6104a27b45 Parse opaque references 2022-02-19 21:30:42 -05:00
ayazhafiz
a6f7579c07 Parse and expand numeric bounds in canonicalization pass 2022-02-01 22:50:46 -05:00
ayazhafiz
9f72b2710f Run linter 2022-02-01 22:49:52 -05:00
ayazhafiz
320827167f Parse number literal width suffixes
Supports [u,i][8,16,32,64,128] and [nat,dec]

Part of #2350
2022-02-01 22:48:48 -05:00
Joshua Warner
48c207bb06 Remove trailing whitespace from the output of the formatter 2021-12-18 17:14:14 -08:00
Joshua Warner
86c8764012 Detangle lifetime annotations for Formattable 2021-12-14 19:52:53 -08:00
Joshua Warner
e3f2f8d9a4 keep indent state in fmt Buf 2021-12-04 18:26:32 -08:00
Eric Correia
8272ea876f Get it all to compile! 2021-10-02 13:48:07 -04:00
Folkert
2827af7e59 remove Nested from pattern 2021-03-21 21:03:37 +01:00
Folkert
a87dfac7da improved malformed patterns 2021-03-01 16:12:37 +01:00
rvcas
72c85009c6 do not set an underscore on parse and only prefix in formatter 2020-11-18 08:25:40 -05:00
rvcas
8df5d5c13c feat(parse): support capturing a str in Pattern::Underscore 2020-11-17 21:53:49 -05:00
Sébastien Besnier
25192fca10 make fmt_comments_only more general 2020-11-15 10:26:14 +01:00
Sébastien Besnier
93b7ac5b0c remove duplicated is_comment function 2020-11-15 09:01:24 +01:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Folkert
29c3eebace parse default optional expressions in pattern matches 2020-07-20 00:52:16 +02:00
Richard Feldman
8b53ec15fe Change guard to DestructType 2020-07-18 12:42:04 -04:00
Folkert
9aa05fdc4c WIP 2020-07-10 23:54:00 +02:00
Folkert
36ccafd8ab cleanup 2020-07-10 23:54:00 +02:00
Folkert
d61b8c88a1 implement Formattable for Pattern 2020-07-10 23:54:00 +02:00
Folkert
e18d3bbfe4 use Parens type in pattern formatting 2020-07-10 23:54:00 +02:00
Folkert
9d67b11c0d pretty error messages for integers 2020-07-07 22:10:23 +02:00
Richard Feldman
3ecbe0325c Plain number literals (e.g. 5) are now Num * 2020-03-10 22:27:13 -04:00
Richard Feldman
5a129a506a Move fmt 2020-03-06 18:24:37 -05:00
Renamed from compiler/src/fmt/pattern.rs (Browse further)