Category Archives: Compilation

Interesting links – 4

http://ivory.idyll.org/articles/advanced-swc/ “Intermediate and Advanced Software Carpentry in Python” is an excellent reading by Titus Brown. If you feel you’re good with Python but want to improve it, or if you are an experienced programmer that wants to get better, this … Continue reading

Posted in Compilation, Math, Programming, Python | Tagged , , , , | Leave a comment

Manually fuzzing my own compiler

As I mentioned before, I had to write a compiler for simplified CPL. An obvious requirement was that the compiler generate correct code. A less obvious requirement, but important none-the-less, was that after a syntax error, the compiler will keep … Continue reading

Posted in Compilation, computer science, Programming, Projects, Python | Tagged , , , , | Leave a comment

Writing a Quad Interpreter

My compilation homework is writing a compiler from simplified CPL to Quad, a made up assembly language. The compiler was going well, and when it started to emit code, I naturally wanted to test it. The problem is, I work … Continue reading

Posted in Assembly, Compilation, computer science, Personal, Programming, Python | Tagged , , | Leave a comment