• http://www.danielsanchez.net/wp-content/uploads/2014/12/H04-image01.jpg

This project was an attempt to teach myself how to create a very basic parser and interpreter. I created this project in Visual Basic 6, and I took on this challange without knowledge of how compilers or text processors worked, so the design is very poorly implemented. The capabilities are:

  • variable declaration
  • variable assignment (integers only)
  • single level IF statements
  • simple math operations
  • undefined variable error

Reflecting back on this project, it is probably the worst implementation of an interpreter ever created. Every command or error catch was hard-coded, and the syntax I was parsing looked like spaghetti. However, I learned valuable string processing knowledge because Visual Basic lacked any sort of string processing library. All text processing, parameter capturing, and parsing was done using functions I implemented.

Skills Used:

Visual Basic 6
Text Processing