Niles Rogoff 9f88ed9d0d | ||
---|---|---|
(1+0)*1.svg | ||
.gitignore | ||
ab(c1+2d(e*f)d)*e.svg | ||
lexer.py | ||
nfa.py | ||
parser.py | ||
readme.md | ||
temp.svg |
readme.md
python cool compiler
COOL is the Classroom Object Oriented Language. I'm going to get at least partway through writing a compiler for it. I've written a regular expression parser, then used that to write a lexical analyzer. Now I need to write a few more definitions for lexemes and work on constructing an abstract syntax tree