Erin
aa854a067b
Restructured project ( #37 )
...
* Separation to two crates
- `ablescript`: library, language
- `ablescript_cli` - cli: repl and executor for files
* Added lints (back) to library
- unsafe_code and unwrap_used are forbidden
2021-08-10 21:32:12 +02:00
Erin
0c000337d2
fmt
2021-08-01 18:28:59 +02:00
Erin
b451503a27
Obeyed clippy
2021-07-29 23:22:38 +02:00
Erin
241f2261d1
Added history (session based)
2021-07-29 22:48:36 +02:00
Alex Bethel
a225105f09
Prettier error handling
2021-07-13 13:54:27 -05:00
Alex Bethel
cdb4a22443
Add --debug
option for printing AST
2021-06-16 10:29:27 -05:00
Alex Bethel
098137082e
Better error messages, remove debug AST printing
2021-06-16 10:25:55 -05:00
Alex Bethel
dc5ef63fef
Better error handling in REPL
...
We have much better spanned expression support, so now we get to show
it off!
2021-06-07 20:08:38 -05:00
Alex Bethel
426aee6a2b
Repair interpreter after parser changes
2021-06-07 16:20:20 -05:00
Erin
f893e24aed
Changed position terminology
2021-06-07 21:28:24 +02:00
Alex Bethel
4bda25c9f3
Correct spelling of "occurred"
2021-06-05 08:50:20 -05:00
Alex Bethel
6c2d5cc84a
Prettier error handling
2021-06-04 18:56:26 -05:00
Alexander Bethel
669f379700
Better abstractions, implement scoping rules
2021-05-25 13:26:01 -05:00
Alexander Bethel
eccc00ff81
Implement basic interpreter
...
Added code for interpreting parsed AbleScript expressions and
statements, and hooked it up to the REPL.
2021-05-20 18:18:01 -05:00
Erin
c90d242b0f
Parser implements examples
...
- Function call is now stmt (muhehe)
2021-05-02 15:43:25 +02:00
Erin
3794fd3c8f
Divided token types
...
- Item = Expr | Stmt
- Added REPL (AST dump)
- Removed operator parsing because it was horrible and I need to redo it
2021-05-01 13:44:58 +02:00