Today I got some simple lexing set up using a package called
lexmachine. Next I’ll be learning to use
yacc so I can plug the resulting tokens into a parser. Small steps.