Go to file
Niles Rogoff 4a57a7c32c
Whitespace can be big
2017-03-25 00:59:00 -04:00
(1+0)*1.svg add graphs 2017-03-22 09:49:56 -04:00
.gitignore gitignore 2017-03-22 14:23:44 -04:00
ab(c1+2d(e*f)d)*e.svg add graphs 2017-03-22 09:49:56 -04:00
lexer.py Whitespace can be big 2017-03-25 00:59:00 -04:00
nfa.py Fixed integers, fixed ? operator 2017-03-24 19:25:47 -04:00
readme.md Fixed integers, fixed ? operator 2017-03-24 19:25:47 -04:00
temp.svg Lexer works 2017-03-24 16:47:40 -04:00

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

This is what the lexical analyzer looks like now