An open API service indexing awesome lists of open source software.

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

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``