/calcf

Primary LanguageTypeScript

CalcF

Simple parser, lexer, and code generator for a DSL of calculation expressions

  • Lexer
  • Parser
  • Code Generator

Ex 1

f(x) = x + 2

Ex 2

f(x) = (x + 2) 3

Ex 2

f(x) = (x + 2) /3