See on GitHub

calcLex

A simple lexer using a yacc.