Writing a C compiler in 500 lines of Python(vgel.me)
454 points by vgel | 142 comments
Blog post by vgel describing the design and architecture of a small C compiler written in about 500 lines of Python.
454 points by vgel | 142 comments
Blog post by vgel describing the design and architecture of a small C compiler written in about 500 lines of Python.
216 points by roywashere | 156 comments
375 points by rbanffy | 81 comments
Blog post explaining how Python source code encoding declarations (PEP 263) can be abused to implement a preprocessor that transforms code before execution.