Tuesday, March 5, 2013

Tiny Basic Interpreter Working Flow

1. Restructure Interpreter with two parts: 
     a)  Execute the program already stored on the code stack;
     b)  Evaluate the statement input from the Interpreter.

2. Finish the processing rule for INPUT statement.

3. Implement the RUN statement. (Maybe using CEK machine model)

4. Extend the language feature with:
     a)  RUN expr-list
     b)  LIST expr-list

No comments:

Post a Comment