https://github.com/gnuwilliam/toylang
Simple toy programming language
https://github.com/gnuwilliam/toylang
Last synced: 3 months ago
JSON representation
Simple toy programming language
- Host: GitHub
- URL: https://github.com/gnuwilliam/toylang
- Owner: gnuwilliam
- Created: 2014-02-09T15:09:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-11T19:36:03.000Z (over 12 years ago)
- Last Synced: 2025-05-02T11:44:03.278Z (about 1 year ago)
- Language: Ruby
- Size: 258 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Toy Programming Language
Simple toy programming language that runs on top of Ruby
## Run the example
``./toylang test.toy``
## Running the tests
### Lexer tests
``ruby -Itest test/lexer_test.rb``
### Parser tests
``ruby -Itest test/parser_test.rb``
### Runtime tests
``ruby -Itest test/runtime_test.rb``
### Interpreter tests
``ruby -Itest test/interpreter_test.rb``