pug-lexer

The pug lexer (takes a string and converts it to an array of tokens)

pug-parser

The pug parser (takes an array of tokens and converts it to an abstract syntax tree)