Erin
2ec416db97
Implemented read in Parser
2021-06-18 20:28:53 +02:00
Alex Bethel
b26c0ab639
Clippy conformance
2021-06-16 10:35:06 -05:00
Alex Bethel
0e6bf2b27e
Use pass-by-reference for variables, pass-by-value for expressions
2021-06-15 09:51:00 -05:00
Alex Bethel
5ac9117651
Implement most of pass-by-reference
...
We need some parser changes to make it work fully: function arguments
are now identifiers rather than expressions.
2021-06-15 09:51:00 -05:00
Alex Bethel
e709f398f7
Implement functio
declaration & calling
2021-06-15 09:51:00 -05:00
HTG-YT
aa5000c6c8
handle Token::Rickroll
in parser
2021-06-13 13:24:09 +08:00
Erin
ae3a7b7c8a
Better comment
2021-06-11 19:44:53 +02:00
Erin
76e5fb9043
Removed todo when unknown token
2021-06-11 18:34:34 +02:00
Erin
8dbf93caa5
Fixed invalid spanning of UnexpectedToken in parse_expr
2021-06-11 18:31:25 +02:00
Erin
f3c459f26e
BF code is now Vec<u8>
2021-06-11 18:10:11 +02:00
Erin
eecde7635c
Basic BfFunctio support
2021-06-11 17:52:47 +02:00
Erin
588f69b710
Added variable assignment to parser
...
- Fixed parse error, that `rlyeh` returned HopBack
2021-06-11 16:59:40 +02:00
Alex Bethel
bdb32c4599
Remove 0..0 placeholder from unexpected_eof()
2021-06-07 20:03:26 -05:00
Erin
717d592710
Added T-Dark test
2021-06-07 23:06:13 +02:00
Erin
84f58dab3d
Added tests, Bugfix
...
- Originally, it spanned from operator (bug)
2021-06-07 22:58:28 +02:00
Erin
99ebd71dac
Added missing mut
2021-06-07 22:24:43 +02:00
Erin
7b1546387e
Unified span terminology
...
- Add more derivations, because it's required by another parts of project
2021-06-07 22:21:21 +02:00
Erin
17a7f33c0b
Removed unwraps, added Rlyeh
2021-06-07 11:07:50 +02:00
Erin
42df59705b
Implement function calls
...
- And printing
- Revised terminology in Lexer
- Control flow
2021-06-07 11:00:06 +02:00
Erin
f0cd6cd0ad
Added logical operators
2021-06-07 09:17:30 +02:00
Erin
927ad5e955
Binary operator boilerplate reduction
2021-06-07 09:17:18 +02:00
Erin
afee5fb82d
Added basic parsing
...
- Expressions
- If, Functio
2021-06-07 00:09:45 +02:00
Erin
7026711b64
Initial parser work
2021-04-18 16:39:43 +02:00
Erin
4ca017671c
clippy + fmt
2021-04-13 17:43:54 +02:00
Erin
2194e2726f
Added tokenization
...
- Added tokenization
- Modified `Token` definition for make it compatible with Logos
- And also obeyed our paperclip overlord and changed all names to be complaint with Rust conventions
2021-04-12 20:20:45 +02:00
able
2c4154025f
Tokens added or something
2021-04-11 17:22:06 -05:00
able
6719d955e8
Worst best parser
2021-04-11 15:11:23 -05:00