1. 14
  1. 1

    I’d recommend having a look at the code here. It’s a nice example of a simple scanner, parser and evaluator in JavaScript without any dependencies. Very readable.