Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 376 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 376 Bytes

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