/
Simplest interpreter that could possibly work
Simplest interpreter that could possibly work
Size: 1
Summary:
As a programmer, I have a base interpreter on which to build and prototype.
Details:
Program model:
A sequence of actions, where each action is a string
Example: [ “forward”, “turn-left”, “forward”, “turn-left”, “forward”, “turn-left”, “forward” ]
Interpreter/vm:
A program
A program counter
A set of pluggable “action handlers”
A step operation that executes the current action and increments the program counter
Acceptance:
Unit tests and “hello, world” program that prints to the console.
Dependencies:
None
, multiple selections available,
Related content
Looping in the Coding Environment
Looping in the Coding Environment
More like this
Editable program
Editable program
More like this
Programming interface for touch, eye gaze, and switch access Part 1
Programming interface for touch, eye gaze, and switch access Part 1
More like this
Visual presentation of the program
Visual presentation of the program
More like this
Turtle graphics
Turtle graphics
More like this
Critique of Assignment
Critique of Assignment
More like this