Joshua Warner
|
50d2111919
|
Remove unnecessary arg to check_indent
Quick refactoring / follow-up to #6634
|
2024-04-19 20:25:55 -07:00 |
|
Luke Boswell
|
7886d30b8e
|
parse/unwrap nested defs
|
2024-04-15 09:25:00 +10:00 |
|
Luke Boswell
|
129ca94733
|
remove unit type from EmptyDefsFinal
|
2024-04-14 13:45:07 +10:00 |
|
Luke Boswell
|
0143035dc0
|
cleanup, improve docs
|
2024-04-14 13:45:06 +10:00 |
|
Luke Boswell
|
c32fa5b600
|
support optional suffied last def
|
2024-04-14 13:45:06 +10:00 |
|
Luke Boswell
|
b13adf6898
|
more flexible statement parsing
|
2024-04-14 13:45:06 +10:00 |
|
Luke Boswell
|
5bb44fcce5
|
most tests passing
|
2024-04-14 13:45:05 +10:00 |
|
Luke Boswell
|
8b9e08bd76
|
WIP try simplification
|
2024-04-14 13:45:05 +10:00 |
|
Luke Boswell
|
5a91a4f78a
|
WIP support nested suffixes
|
2024-04-14 13:45:03 +10:00 |
|
Luke Boswell
|
d08a51b134
|
cargo fmt
|
2024-04-14 13:45:02 +10:00 |
|
Luke Boswell
|
69a3a3c477
|
cleanup
|
2024-04-14 13:45:02 +10:00 |
|
Luke Boswell
|
a28cd251ab
|
spelling
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
5ae188c08f
|
cleanup
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
b8ec53738a
|
fix desugar for suffixed nodes
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
fac52f7408
|
parse statements correctly
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
ba22527e29
|
WIP parse statements correctly
|
2024-04-14 13:45:01 +10:00 |
|
Luke Boswell
|
997284e113
|
parse suffixed statements as defs
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
3c3e523b45
|
add suffixed to Identifer and QualifiedIdentifier
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
a418bf4fb8
|
add is_loc_expr_suffixed helper
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
73b60113ff
|
fix for suffixed without arguments
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
56d91ce74c
|
support multiline suffixed statements
|
2024-04-14 13:45:00 +10:00 |
|
Luke Boswell
|
42fdcb7ff1
|
Make unit assignment optional for suffixed defs
|
2024-04-14 13:44:59 +10:00 |
|
Luke Boswell
|
ca01913ab3
|
add EExpr error for unexpected comma
|
2024-04-02 20:48:13 +11:00 |
|
Anton-4
|
30b5943b54
|
Merge pull request #6548 from roboteng/parser-docs
Parser docs examples
|
2024-03-26 19:35:39 +01:00 |
|
Anton-4
|
59ab438c1e
|
misc improvements
|
2024-03-26 16:38:09 +01:00 |
|
Luke Boswell
|
370ac1e6b8
|
move suffixed parsing into chomp_identifier_chain
|
2024-03-22 19:22:05 +11:00 |
|
Luke Boswell
|
e2557067c8
|
add nested snapshot for suffixed expr
|
2024-03-15 14:40:09 +11:00 |
|
Luke Boswell
|
8bbbd768ec
|
add snapshot test for suffixed expr
|
2024-03-15 14:39:21 +11:00 |
|
Richard Feldman
|
9bc0ab79af
|
Parse Expr::Suffixed
|
2024-03-15 14:39:14 +11:00 |
|
Richard Feldman
|
88042c2578
|
Rename has variable to implements
|
2024-03-15 14:39:04 +11:00 |
|
Brendan Hansknecht
|
5e8974177c
|
avoid bloating parse expr size
|
2023-12-02 21:18:32 -08:00 |
|
Brendan Hansknecht
|
3966d63e2f
|
add src and location to dbg
|
2023-12-02 21:18:31 -08:00 |
|
Brendan Hansknecht
|
b7f72eff86
|
add basic Dbg desugaring and LowLevelDbg
|
2023-11-29 21:05:48 -08:00 |
|
jecaro
|
55befee0b0
|
Dont swallow bad input while parsing spaces
Fix #5939
|
2023-11-21 19:47:17 +01:00 |
|
Anton-4
|
954f687666
|
minor fixes
|
2023-08-11 16:14:33 +02:00 |
|
Bryce Miller
|
afa5aaba94
|
has -> implements
|
2023-06-10 13:30:54 -04:00 |
|
Bryce Miller
|
e514d0cb83
|
Define and use IMPLEMENTS const in roc_parse::keyword
|
2023-05-29 07:21:27 -04:00 |
|
Bryce Miller
|
76c54c2e7a
|
loc_has_parser -> loc_implements_parser
|
2023-05-26 23:09:22 -04:00 |
|
Bryce Miller
|
b05befd770
|
ident: "has" -> ident: "implements"
|
2023-05-24 10:38:06 -04:00 |
|
Bryce Miller
|
46cb45f717
|
loc_has -> loc_implements
|
2023-05-20 19:24:08 -04:00 |
|
Bryce Miller
|
4b90948fcf
|
ast::HasAbilities -> ast::ImplementsAbilities
|
2023-05-20 19:13:01 -04:00 |
|
Bryce Miller
|
64c34a5c6d
|
ast::Has -> ast::Implements
|
2023-05-20 08:12:20 -04:00 |
|
Agustin Zubiaga
|
d1feb00170
|
Track spaces between : and <- in record builders
|
2023-05-17 11:49:06 -03:00 |
|
Agustin Zubiaga
|
731cd4257d
|
Record Builder colon arrow syntax
|
2023-05-16 22:44:55 -03:00 |
|
Agustin Zubiaga
|
232f5fd84c
|
Take self by value in RecordField::to_* fns
|
2023-05-13 21:21:12 -03:00 |
|
Agustin Zubiaga
|
4a10ead0e4
|
Do not use unit for RecordField to_* fn errors
|
2023-05-13 21:15:54 -03:00 |
|
Agustin Zubiaga
|
f94004d137
|
Parse builders without backtracking from records
|
2023-05-13 20:05:42 -03:00 |
|
Agustin Zubiaga
|
d2a57112fd
|
Unapplied record builder error
|
2023-05-08 20:16:38 -03:00 |
|
Agustin Zubiaga
|
6670fbb1ab
|
Multiple record builder error
|
2023-05-08 19:26:47 -03:00 |
|
Agustin Zubiaga
|
735721769c
|
Record Builder parsing
|
2023-05-05 23:26:20 -03:00 |
|