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
Boolean Operators
#53
Closed
sunjay
closed
7 years ago
sunjay
commented
7 years ago
[x]
||
- "or" operator
[x]
&&
- "and" operator
[x]
!
- "not" operator
[x]
||
and
&&
should short-circuit evaluation
#72
[x] Define true and false keywords (make sure they can be parsed as constants in grammar)
[x] make sure variables aren't inadvertently consumed (copy the cells when necessary)
||
- "or" operator&&
- "and" operator!
- "not" operator#72||
and&&
should short-circuit evaluation