gluax
50b37d2672
parse_assign_statment
2021-03-24 15:33:03 -04:00
gluax
3571fa2080
I think this is the best way to handle access_expressions in ABNF to reflect the parser
2021-03-24 15:25:56 -04:00
gluax
f71d77762c
comment out bitwise, mod, &&= and ||= for now
2021-03-24 13:28:01 -04:00
gluax
b96861feea
forgot function doc strings
2021-03-24 12:53:00 -04:00
gluax
007cdfafbd
put parse_array_expression and parse_tupple_expression as their own blocks
2021-03-24 12:50:56 -04:00
gluax
e0200ff789
tentative cast-expression abnf rule, refactor fuzzy rule to conditional expression
2021-03-24 12:33:52 -04:00
gluax
600cf120f9
idents in annotation name and for arguements, no white space between @ and annotation-name
2021-03-24 12:08:07 -04:00
gluax
fd52192d58
_ token in parser and symbol in abnf
2021-03-24 11:40:26 -04:00
gluax
c9daf4a8a9
typed one thing in the comment and another in the if condition whoops
2021-03-23 17:42:54 -04:00
gluax
becafb3798
fix some cases where _ is the only character in the identifier
2021-03-23 17:35:55 -04:00
gluax
98fd0ac4dc
rename function names to reflect abnf more
2021-03-23 17:27:45 -04:00
gluax
026816f085
cleaner way to remove _ from beginning of idents
2021-03-23 16:45:43 -04:00
gluax
62e68f42da
forgot to push new error with previous commit
2021-03-23 16:06:39 -04:00
gluax
8c996fb15d
do not allow _ at start of identifier
2021-03-23 16:02:01 -04:00
gluax
0663227741
order tokens to try and match ABNF
2021-03-23 13:45:57 -04:00
gluax
1adc8cee14
consistent keyword order and names
2021-03-23 12:11:42 -04:00
Protryon
0c72e3e264
ident -> identifier
2021-03-12 10:40:05 -08:00
Protryon
344f6a2d8e
transparent keywords
2021-03-12 04:29:25 -08:00
bors[bot]
9a62585c07
Merge #757
...
757: Readd executable parser r=collinc97 a=Protryon
To install the parser do: `$ cargo install --path . --example parser` within the `<leo repo>/parser` directory. Executable is called `parser`.
Co-authored-by: Protryon <max.bruce12@gmail.com>
2021-03-10 20:54:32 +00:00
Protryon
4d6c44a021
readd executable parser
2021-03-10 04:23:46 -08:00
collin
eb15f247be
fix parser benchmark
2021-03-09 16:18:47 -08:00
Protryon
a4f2101aaf
remove if from ternary expression
2021-03-08 14:45:38 -08:00
Protryon
2a616eb13d
absolute path for parser tests
2021-03-07 10:17:33 -08:00
Protryon
b60affc40b
fix ci test
2021-03-07 07:20:08 -08:00
Protryon
a6bf66f864
fix tests
2021-03-07 06:48:02 -08:00
Protryon
1f49d8bc44
Merge branch 'tokenizer' of github.com:AleoHQ/leo into tokenizer
2021-03-07 06:27:57 -08:00
Protryon
f5187fc872
fix some failing tests
2021-03-07 06:27:42 -08:00
collin
76afaf6167
add comments to parser tokenizer
2021-03-05 15:01:43 -08:00
collin
ef91489829
add comments to parser types
2021-03-05 14:43:27 -08:00
collin
7caf53bb31
add comments to parser statements
2021-03-05 14:38:40 -08:00
collin
01e2a13170
add comments to parser file
2021-03-05 14:26:59 -08:00
collin
4fada913fb
add comments to parser expression
2021-03-05 14:09:14 -08:00
Protryon
f86e03f4b7
fix spans for comments
2021-03-05 09:53:06 -08:00
Protryon
d14a3a666b
format
2021-03-05 09:23:38 -08:00
Protryon
e492950106
fix package names
2021-03-05 09:16:49 -08:00
collin
ed41a55c47
add comments to context
2021-03-04 16:47:41 -08:00
collin
d7d84c0ea7
fix test build issues. parser errors on dash + number names
2021-03-04 15:58:00 -08:00
collin
10ecc6e6e2
merge master and fix build issues
2021-03-04 14:11:17 -08:00
collin
b5fbb9c217
cargo clippy
2021-03-04 12:08:55 -08:00
Protryon
d400764e00
parser rewrite
2021-03-03 09:59:24 -08:00