js-compiler - parsing algebraic expressions with variables.
Code -> Lexer -> Parser -> AST -> syntax highlighting | interpreter | compiler
Code
a = 2 b = 4 *a c= 1 + 2 * a + 5 delta = b*b-4*a*c
Evaluate
Code from AST
Compile and build
AST