2022-01-26 16:15:20 +01:00
|
|
|
# rpl.rb
|
2021-10-30 17:44:38 +02:00
|
|
|
|
2022-01-26 16:15:20 +01:00
|
|
|
https://github.com/louisrubet/rpn/ inspired language in ruby
|
2022-01-18 17:06:13 +01:00
|
|
|
|
2022-02-15 17:06:19 +01:00
|
|
|
To run REPL locally: `ruby -Ilib bin/rpl`
|
|
|
|
|
|
|
|
To run the test suite: `find ./spec/ -name \*.rb -exec ruby -Ilib {} \;`
|
|
|
|
|
2022-01-18 17:06:13 +01:00
|
|
|
# TODO-list
|
|
|
|
* pseudo filesystem: subdir for variables
|
|
|
|
* UI toolkit (based on https://github.com/AndyObtiva/glimmer-dsl-libui ?)
|
2022-02-10 14:33:09 +01:00
|
|
|
|
|
|
|
# Not implemented
|
2022-02-22 15:34:56 +01:00
|
|
|
* use IFT, IFTE
|
|
|
|
. if
|
|
|
|
. then
|
|
|
|
. else
|
|
|
|
. end
|
|
|
|
* use LOOP, TIMES
|
|
|
|
. start
|
|
|
|
. for
|
|
|
|
. next
|
|
|
|
. step
|
|
|
|
. do
|
|
|
|
. until
|
|
|
|
. while
|
|
|
|
. repeat
|
|
|
|
* use LSTO
|
|
|
|
. ->, →
|
2022-02-10 14:33:09 +01:00
|
|
|
* edit
|