anitatailor / eval-exp

AST and Parser for simple expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eval-exp

Build Status Codacy Badge CodeFactor codecov Coverage Status Dependencies Known Vulnerabilities

AST and Json-Parser for simple expressions

Json Schema for defining 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>
  }

Build

  • 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.

Json Generator Util

Use the javascript snippet to easily generate the json for complex expressions.

About

AST and Parser for simple expressions

License:GNU General Public License v3.0


Languages

Language:Scala 100.0%