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-03-09 11:22:20 +01:00
|
|
|
To run REPL locally: `rake run`
|
2022-02-15 17:06:19 +01:00
|
|
|
|
2022-03-09 11:22:20 +01:00
|
|
|
To run the test suite: `rake test`
|
2022-02-15 17:06:19 +01:00
|
|
|
|
2022-01-18 17:06:13 +01:00
|
|
|
# TODO-list
|
2022-05-11 15:37:31 +02:00
|
|
|
* pseudo filesystem: subdir/namespace for variables
|
|
|
|
. 'a dir' crdir 'a dir' cd vars
|
2022-05-11 15:18:16 +02:00
|
|
|
* SDL-based graphic environment/API
|
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
|
|
|
|
. ->, →
|