A Pascal runtime written in Golang.
The project is highly inspired by and slightly varied from the book Writing Compilers and Interpreters (3rd edition): A Software Engineering Approach and Pascalts.
// Check "Hello world" example by running
go run main.go| Feature | Done |
|---|---|
| Source | [✓] |
| Token | [✓] |
| Scanner | [✓] |
| Parser | [✓] |
| Node | [✓] |
| AST | [✓] |
| Messages | [✓] |
| Executor | [x] |
| Debugger | [x] |
| Package | Done | Coverage |
|---|---|---|
| executor | [x] | |
| intermediate | [✓] | [13.2%] |
| intermediate/definition | [x] | |
| intermediate/routinecode | [x] | |
| intermediate/typechecker | [x] | |
| message | [✓] | [100.0%] |
| parser | [x] | |
| scanner | [✓] | [86.4%] |
| source | [✓] | [94.9%] |
| token | [✓] | [27.4%] |