todo and revamp README.md

This commit is contained in:
Gwenhael Le Moine 2022-10-04 14:39:53 +02:00
parent 62c0420a57
commit 7a157faee0
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1,25 +1,58 @@
# rpl.rb
https://github.com/louisrubet/rpn/ inspired language in ruby
Reverse-Polish-Lisp inspired language in ruby
To run REPL locally: `rake run`
To run the test suite: `rake test`
# BUGs
To build gem: `rake gem`
# known bugs
-
# TODO-list
* pseudo filesystem: subdir/namespace for variables
. 'a dir' crdir 'a dir' cd vars
* REPL:
* autosave/autoload stack and vars from ~/.rplenv on start/exit
. autoload is just « '~/.rplenv' feval »
. autosave on exit overwrites
* Language:
* pseudo filesystem: subdir/namespace for variables
. 'a dir' crdir 'a dir' cd vars
* SDL-based graphic environment/API
# Not implemented
* use IFT, IFTE
# Not yet implemented
```sh
$ grep "# @dictionary.add_word" ./lib/rpl/words/*.rb
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['ln'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['lnp1'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['exp'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['expm'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['log10'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['alog10'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['log2'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['alog2'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['sinh'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['asinh'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['cosh'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['acosh'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['tanh'],
./lib/rpl/words/logarithm.rb: # @dictionary.add_word( ['atanh'],
./lib/rpl/words/mode.rb: # @dictionary.add_word( ['std'],
./lib/rpl/words/mode.rb: # @dictionary.add_word( ['fix'],
./lib/rpl/words/mode.rb: # @dictionary.add_word( ['sci'],
./lib/rpl/words/mode.rb: # @dictionary.add_word( ['round'],
./lib/rpl/words/operations-complexes.rb: # @dictionary.add_word( ['p→r', 'p->r'],
./lib/rpl/words/operations-complexes.rb: # @dictionary.add_word( ['r→p', 'r->p'],
```
# No implementation planned
* use IFT, IFTE instead of
. if
. then
. else
. end
* use LOOP, TIMES
* use LOOP, TIMES instead of
. start
. for
. next
@ -28,5 +61,9 @@ To run the test suite: `rake test`
. until
. while
. repeat
* use LSTO
* use LSTO instead of
. ->, →
# inspirations and references
* https://en.wikipedia.org/wiki/RPL_(programming_language)
* https://github.com/louisrubet/rpn/