daeisbae / AParser

Yet another programming language for educational purpose and simplicity
MIT License
0 stars 0 forks source link

Implement BooleanValue type, and add default and binary evaluation for boolean type #52

Closed daeisbae closed 4 months ago

daeisbae commented 4 months ago

Changes

Demo

./AParser                                                                                                                               ─╯
>>> true
true
>>> false
false
>>> set hello = true
true
>>> hello + 35
36
>>> true - false
1
>>> true + true
2
>>> true * true
1
>>> true / true
1