Commit graph

659 commits

Author SHA1 Message Date
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
cfa7490b86
Pattern::Stmt cannot be malformed 2024-04-14 13:44:59 +10:00
Luke Boswell
a5df0aa1c2
implement equivalent for Pattern::Stmt 2024-04-14 13:44:59 +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
Jonathan Schear
4553392af4
Merge branch 'main' into js/double_hash_is_a_doc_comment 2024-03-27 14:05:59 -04: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
Trevor Settles
ef68183a92
switched error then succeess cases 2024-03-24 20:13:58 -06:00
Trevor Settles
ab744a883a
combined examples and increased consistency 2024-03-24 15:13:31 -06:00
Jonathan Schear
ab4a5343a0
Update tests 2024-03-24 14:31:34 -04:00
Jonathan Schear
723c390f52
Treat two hash marks followed by text as a doc comment 2024-03-24 14:31:27 -04:00
Trevor Settles
aa3a7c2ab0
combined error and sucdcess examples 2024-03-24 11:03:12 -06:00
Luke Boswell
370ac1e6b8
move suffixed parsing into chomp_identifier_chain 2024-03-22 19:22:05 +11:00
Luke Boswell
4035221dac
desugar no args correctly e.g. Stdin.line! 2024-03-21 19:25:34 +11:00
Luke Boswell
a394f1b4cf
update from review comments 2024-03-21 15:46:14 +11:00
Trevor Settles
fedc0f5dfb
removed and linted unused example imports 2024-03-19 20:47:44 -06:00
Luke Boswell
e74501981e
fmt and clippy fixes 2024-03-20 12:31:04 +11:00
Luke Boswell
cc10df6db9
handle Suffixed is in the middle of our Defs 2024-03-20 11:48:08 +11:00
Luke Boswell
c4b459b436
handle Suffixed in first index 2024-03-20 09:49:12 +11:00
Luke Boswell
d6a01b3014
WIP stuck on removing Defs 2024-03-19 16:03:29 +11:00
Trevor Settles
949b3f83bd
Merge branch 'main' of https://github.com/rtfeldman/roc into parser-docs 2024-03-16 15:02:49 -06:00
Trevor Settles
5660de93e0
removed one_of_with_error 2024-03-16 15:02:09 -06:00
Richard Feldman
14ba398b5d
Merge pull request #6569 from faldor20/docs
Add docs to completions and hover
2024-03-16 11:22:58 -04:00
Anton-4
ad4fa6a4d7
fix spelling 2024-03-16 14:44:36 +01:00
Anton-4
3fadcf7bcb
style changes 2024-03-16 14:41:08 +01:00
Trevor Settles
6d64bbb65a
Merge branch 'main' into parser-docs 2024-03-15 18:14:56 -06: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
Trevor Settles
fd8c13010a
added links in docs 2024-03-14 15:32:04 -06:00
Trevor Settles
c4172be7ce
fixed type parser -> parsers 2024-03-14 11:35:59 -06:00
Trevor Settles
bf96a59bbc
example and docs for backtrackable 2024-03-14 11:26:23 -06:00
Trevor Settles
3ebaa592f6
function versions for loc and map_with_arena macros 2024-03-14 11:19:18 -06:00
Trevor Settles
8ae0d99707
example for between 2024-03-14 11:10:28 -06:00
Trevor Settles
805ca70f75
example and docs for either 2024-03-13 22:10:35 -06:00
Trevor Settles
5714db6528
example and docs for debug 2024-03-13 21:58:45 -06:00
Trevor Settles
956bfdfde0
aero_or_more and one_or_more 2024-03-13 21:21:51 -06:00
Trevor Settles
2fc7b939da
example and docs for map 2024-03-13 14:04:20 -06:00
Trevor Settles
6db6629417
examples and docs for word2 and word3 2024-03-12 21:18:30 -06:00
Trevor Settles
b6d5425f6e
examples and docs for word1_indent 2024-03-12 20:42:35 -06:00
Trevor Settles
7884d92e29
example and docs for word1 2024-03-12 20:11:17 -06:00
Trevor Settles
47b537c278
added example for one_of_with_error 2024-03-12 15:43:08 -06:00
Trevor Settles
b146030fff
docs and examples for one_of 2024-03-12 15:03:14 -06:00
faldor20
3fe3a3439a
cleanup fetching module docs 2024-03-11 15:17:46 +10:00
Trevor Settles
09dbc93b7d
docs and example for and 2024-03-10 21:38:17 -06:00
Trevor Settles
bf40247aec
example and docs for fail 2024-03-10 15:06:52 -06:00
Trevor Settles
4e33a6c4b3
fail_when example and docs 2024-03-09 21:25:57 -07:00