AST and Json-Parser for simple expressions
{
"type": <String representing the type of the entity>,
"key": <String representing the key of the symbol>,
"value": <String or Number representing the literal>,
"cond": <Object representing the condition for IF statement>,
"lhs": <Object representing the lhs operand>,
"rhs": <Object representing the rhs operand>
}
- Execute
sbt assembly
to run tests and build the uber jar. - Execute
sbt clean coverage test coverageReport
to run tests and generate the coverage report.
Use the javascript snippet to easily generate the json for complex expressions.