How difficult is it to write a compiler?
- Read in a source file, and create a parse tree.
- Turn the parse tree into an abstract syntax tree.
- Turn the abstract syntax tree into object code.
Sounds easy...eh. I think I'll write one after lunch.
But food for thought, a whole new programming language was created in the space of a few weeks on multiple platforms: LOLCode!
Based on the site: I Can Has Cheez burger
tags: [
code |
geek |
how-to]