https://github.com/eriknyquist/interpreter
https://github.com/eriknyquist/interpreter
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eriknyquist/interpreter
- Owner: eriknyquist
- Created: 2019-11-04T06:09:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T05:47:02.000Z (over 5 years ago)
- Last Synced: 2025-01-11T05:28:31.258Z (6 months ago)
- Language: C
- Size: 319 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Interpreter project
-------------------An interpreted programming language that relies on a stack-based virtual machine
to execute compiled bytecode.Source code is compiled into tightly-packed binary instructions that describe
a sequence of atomic operations understood by the "virtual machine". The virtual
machine itself is just a program that reads these instructions, and the data
encoded with them, and performs the operations they describe.Some inspiration and advice taken from `this excellent guide `_
Project file structure
----------------------* `source/runtime`: contains code related to interpreting and executing bytecode.
Doing most of my work in here right now.* `source/backend`: contains code related to generating bytecode
* `source/frontend`: contains code related to parsing source files