A Reverse Polish Lisp language implemented in Ruby
Find a file
2022-03-12 22:20:30 +01:00
bin [WIP] almost there 2022-02-26 18:53:39 +01:00
lib rpl comments with @ 2022-03-12 22:20:30 +01:00
spec rpl comments with @ 2022-03-12 22:20:30 +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 0.7.1: fix numeric parsing not using BigDecimal 2022-03-02 14:27:35 +01:00
rpl.gemspec 0.7.1: fix numeric parsing not using BigDecimal 2022-03-02 14:27:35 +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 . ->, →