daeisbae / AParser

Yet another programming language for educational purpose and simplicity
https://daeisbae.github.io/AParser/
MIT License
1 stars 0 forks source link

If 1 or more plus/minus op exist, evaluate the plus/minus symbol in parsing stage #60 #61

Closed daeisbae closed 7 months ago

daeisbae commented 7 months ago

Changes

Demo

 ./AParser                                                                                                                               ─╯
>>> +1 ----1
2
>>> -----11 ++---++--1
-12
>>> 1--1
2
>>> 1+-----1
0