Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 693 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 693 Bytes

Snapshots

Interpreter for a toy imperative language

Snapshots Demo

Features

* Step forward through the program's evaluation

* Step backwards through the program's evaluation

* View all previously evaluated Instructions

* Inspect variable values at each previous step in the program

* View the current environment (in-scope variables and their values)

* Inspect a specific in-scope variable and its value

Build and Run

> stack setup

> stack build

> stack exec interpreter-exe

This will run with the default file. To specify another file run the following

> stack exec interpreter-exe <path-to-file>