Compile regexes to a list of nodes
work on lisp implementation
Work on cpp implementation