A Reverse Polish Lisp language implemented in Ruby
Find a file
Gwenhael Le Moine e0b085bc8a
implement MANT
2022-02-22 16:38:42 +01:00
bin [bin/rpl] implicit -i if no args given 2022-02-16 16:28:33 +01:00
lib implement MANT 2022-02-22 16:38:42 +01:00
spec implement MANT 2022-02-22 16:38:42 +01:00
.gitignore Initial commit 2021-10-30 17:44:38 +02:00
LICENSE Initial commit 2021-10-30 17:44:38 +02:00
Makefile make targets for running and testing 2022-02-22 16:14:47 +01:00
README.md allow comments, using '#' 2022-02-22 15:53:22 +01:00
rpl.gemspec 0.4.0 2022-02-22 15:55:07 +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