1.1.2 • Published 6 years ago
lfr-forms-evaluator v1.1.2
Liferay Forms Evaluator in JavaScript
Installation
yarnRunning
To run the REPL, run:
yarn startNow you can start evaluating expressions. For every line you type in the interpreter will evaluate it and print out the tokens list, AST and finally evaluate the expression and display the result.
If we try out the following expression:
print(2 * 5 / (5.2 - 4) == 3)The interpreter should output:

Try it out!