A Reverse Polish Lisp language implemented in Ruby
Find a file
2022-02-24 15:28:40 +01:00
bin commenting and formatting 2022-02-24 15:28:40 +01:00
lib commenting and formatting 2022-02-24 15:28:40 +01:00
spec strings and lists are somewhat similar and words overlap 2022-02-24 15:27:11 +01:00
.gitignore Initial commit 2021-10-30 17:44:38 +02:00
LICENSE Initial commit 2021-10-30 17:44:38 +02:00
Rakefile replace Makefile with equivalent Rakefile 2022-02-22 16:53:28 +01:00
README.md allow comments, using '#' 2022-02-22 15:53:22 +01:00
rpl.gemspec strings and lists are somewhat similar and words overlap 2022-02-24 15:27:11 +01:00

rpl.rb

https://github.com/louisrubet/rpn/ inspired language in ruby

To run REPL locally: ruby -Ilib bin/rpl

To run the test suite: find ./spec/ -name \*.rb -exec ruby -Ilib {} \;

TODO-list

Not implemented

  • use IFT, IFTE . if . then . else . end
  • use LOOP, TIMES . start . for . next . step . do . until . while . repeat
  • use LSTO . ->, →
  • edit