got substitution and symbol table to work, need to work on regex parse and built in vars