cd0c9c7c8c
parser: add assign and label
2023-08-20 08:45:16 +00:00
867ee171a5
parser: add jump
2023-08-20 06:02:18 +00:00
b97abc776c
parser: add dma and mvi parsers
2023-08-20 05:54:53 +00:00
22625c7c90
ast: add printers for all instructions
2023-08-19 19:40:20 -07:00
e520a0de19
parser: initial op parsing
2023-08-20 00:59:41 +00:00
663b1139c9
stmt: add constructor boilerplate
2023-08-18 22:20:15 -07:00
d05767d280
grammar.txt: initial
2023-08-19 04:14:21 +00:00
e48bd182dc
keyword: add more keywords
...
This also concedes that a lexer that returns std::vector is probably
the simplest API for the parser, but I will still continue to consider
alternatives.
2023-08-17 08:14:07 +00:00
c59a221c54
add notes
2023-08-16 23:03:07 -07:00
cc7345ec33
lexer: loop if the current character does not produce a token
2023-08-16 19:52:02 +00:00
b6d4ae5e8e
parser: initial expression parser
2023-08-15 20:18:35 -07:00
e2f587437d
expr: add more expression structures
2023-08-15 23:01:35 +00:00
97d35bfa4f
visitor/expr: initial
2023-08-15 18:56:13 +00:00
082ebc20e5
lexer: add header
...
This also calls the lexer from main.
2023-08-14 11:38:52 -07:00
29428c7a92
initial
2023-08-14 16:52:56 +00:00