Skip to content
Nicholas Prado edited this page Jan 21, 2013 · 4 revisions

This repository hosts an implementation of both Deitel & Deitel's Simpletron and Simple Compiler exercises, as explained in their 'How to Program' series (generally in the array and advanced data structures chapters, respectively). Deitel expects you to find the exercises, but some oversharers have uploaded the simpletron and simple compiler specifications anyway.

While Deitel's series cover the C languages, I implemented both in Python, for 2.6.7, mainly to learn to use Python. As such, these programs do subvert some of the intended aspects of both because Python handles, as an example, variables dynamically. So, a java or c++ version may use the same algorithms and structure but involve more data type boilerplate. (However, python has an equal and opposite crutch in how it handles OO.)

I will make an effort to craft this wiki in the literate style. Luckily, I don't need to worry about tangling or untangling as you have access to the code in the repository. However, this wiki will only concern the state of the system marked at the tag "v1.0". The later commits are either the optional exercises or my own embellishments.

Would you like to start with the Simpletron or the Simple Compiler?

Clone this wiki locally