-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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, I will refrain a bit until this reaches a mature state so I can even give variable indicies and so on.
Would you like to start with the Simpletron or the Simple Compiler?