pycoolc/readme.md

10 lines
497 B
Markdown
Raw Permalink Normal View History

2017-03-22 14:05:26 +01:00
## python cool compiler
2017-03-25 00:16:47 +01:00
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
2017-03-25 00:18:22 +01:00
This is what the lexical analyzer looks like now
2017-03-25 00:25:47 +01:00
![](http://i.imgur.com/ZzrVRWG.png)
2017-03-25 20:11:34 +01:00
This is what the parser looks like so far
![](http://i.imgur.com/vq3DkmY.png)