issues
search
sunjay
/
brain
A high level programming language that compiles into the brainfuck esoteric programming language
MIT License
167
stars
12
forks
source link
Operation Generation
#56
Open
sunjay
opened
7 years ago
sunjay
commented
7 years ago
Be able to generate operations for every part of the AST.
[x] block
[x] supports last statement as return type (using .pop() on the provided statements)
[x] statement
[x] declaration
[x] assignment
[x] while loop
[ ] expression
[x] identifier
[x] string literal
[ ] tests
[x] numeric literal
[ ] tests
[x] call
[ ] access
[x] branch
[ ] primitives
[ ] boolean
[x] boolean and/or/not (#53)
[ ] comparison operators (#52)
[x] array
[x] Split ScopeItem into ScopeType and ScopeItem
[x] Make two separate hash tables in scope for types and for items
[x] u8 (increment, decrement)
[ ] stdio (See spec in
https://github.com/brain-lang/brain/issues/66
)
[x] stdout
[ ] stdin
Be able to generate operations for every part of the AST.