An expression parser in JavaScript
REPL is now integrated. Write your expressions in the REPL terminal and see the results appear below:
node .
>> 1+2
4
>> 6*2
12
>>
- Multiplication
*
- Addition
+
- Subtraction
-
- Division
/
- Less Than
<
- Greater Than
>
- Less or Equal To
<=
- Greater or Equal To
>=
- Not Equal
!=
- Grouping
()
Please, you are free to contribute especially folks new to compiler/intrepreter programming and willing to learn how compilers/interpreters works.