Recent Posts

An update on the Wul programming language

Wul (pronounced wool) is a toy programming language I’ve been working on as a learning exercise. In my school days, I was asked to implement a very simple tree-walking interpreter using ANTLR to generate the parser. I found this to be one of the more interesting programming assignments. I spent many hours simplifying the EBNF grammar from which the parser was generated. Wul is the language that I began to design after that course.

Read More →

Simple Virtual Machines

Terrence Parr presented an introduction to virtual machines. He implemented a simple virtual machine and put the code in both Java and C varieties on GitHub: I decided to implement the same virtual machine in one of the worst languages for such a task: Lua. Lua itself uses a virtual machine. Now we have a virtual machine inside another virtual machine. Furtheremore, Lua doesn’t have an integer type or the switch statement.

Read More →

Recent Projects