-
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, 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?