Commit Graph

9 Commits

Author SHA1 Message Date
Luna b7d5646bad add classes for AST nodes
- add Reader.expect, Reader.next_safe
 - fix fn_read_args, use TypedVar
 - use Reader.expect in read_function's post-fn check
 - use Function in read_function
 - add basics of blocks using { and } in read_start
2019-03-10 02:13:22 -03:00
Luna 7ce0565de7 add basics of a handwritten parser
hell yeah i'm going down that path

lark made confusing stuff, i'll probably get more confused with a
handwritten one, but oh well, such is life
2019-03-10 01:55:12 -03:00
Luna 9fda0b31c3 grammaer: more changes
i cant make sense of the errors lmao help
2019-03-09 20:05:03 -03:00
Luna abdff4f65c put more things in grammar 2019-03-09 18:58:28 -03:00
Luna 09f230985e remove unused grammar file
since we're moving to lark
2019-03-09 16:58:46 -03:00
Luna 9e8a5abdaa package jortsc with setup.py
add lark parser as dep
2019-03-09 16:52:34 -03:00
Luna a11d21873a finish basic token list 2019-03-09 00:02:13 -03:00
Luna 588b63fabe add basic lexer
also a draft grammar that i wont use probably
2019-03-08 23:43:17 -03:00
Luna 3c983b004c add jortsc/main.py 2019-03-08 18:50:58 -03:00