A Reverse Polish Lisp language implemented in Ruby
Find a file
2022-02-16 16:25:14 +01:00
bin bin/rpl can load files, run code, optionally start a REPL and print stack's content on exit 2022-02-16 16:23:37 +01:00
lib Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk 2022-02-16 16:25:14 +01:00
spec Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk 2022-02-15 18:48:27 +01:00
.gitignore Initial commit 2021-10-30 17:44:38 +02:00
LICENSE Initial commit 2021-10-30 17:44:38 +02:00
README.md make it a gem 2022-02-15 17:06:19 +01:00
rpl.gemspec fix gemspec required_ruby_version 2022-02-15 18:54:54 +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

  • if
  • then
  • else
  • end
  • start
  • for
  • next
  • step
  • do
  • until
  • while
  • repeat
  • ->, →
  • edit