Gwenhael Le Moine
|
291db997c5
|
refine decision to launch repl; option to set verbosity
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2022-11-15 14:24:38 +01:00 |
|
Gwenhael Le Moine
|
522c07b5f3
|
verbosity (+levels); debug messages; -q implies no persistence
|
2022-11-15 13:53:24 +01:00 |
|
Gwenhael Le Moine
|
70b69d94af
|
print stack to $stdout on exiting
|
2022-11-15 13:52:39 +01:00 |
|
Gwenhael Le Moine
|
c4a3afdb7f
|
Merge branch 'trunk' of ssh://src.le-moine.org:38172/gwh/rpl.rb into trunk
|
2022-10-30 15:23:03 +01:00 |
|
Gwenhael Le Moine
|
41a0d5e7e4
|
save persisted state into $XDG_DATA_HOME/rpl.rb/env.rpl
|
2022-10-30 15:22:23 +01:00 |
|
Gwenhael Le Moine
|
8cfb5ce26a
|
add a Ruby-esque ! suffix to some methods
|
2022-10-12 17:04:50 +02:00 |
|
Gwenhael Le Moine
|
3be0140d64
|
show error
|
2022-10-11 13:35:27 +02:00 |
|
Gwenhael Le Moine
|
31443519e8
|
don't confuse Emacs' syntax highlighting
|
2022-10-11 13:34:52 +02:00 |
|
Gwenhael Le Moine
|
d54bebdcec
|
HISTORY pushes the history on the stack as a list
|
2022-10-11 13:32:19 +02:00 |
|
Gwenhael Le Moine
|
0d07d0e0dd
|
leave the terminal as we found it
|
2022-10-11 13:29:09 +02:00 |
|
Gwenhael Le Moine
|
91d6eab71f
|
use reline instead of readline
|
2022-10-11 13:06:26 +02:00 |
|
Gwenhael Le Moine
|
6f3fe40a03
|
rename EDIT → EXTEDIT, EDIT now use prompt
|
2022-10-05 15:22:15 +02:00 |
|
Gwenhael Le Moine
|
8d1f6519aa
|
fix HISTORY
|
2022-10-05 09:56:12 +02:00 |
|
Gwenhael Le Moine
|
06e43ca137
|
set version number in lib/rpl.rb and nowhere else
|
2022-10-05 09:27:26 +02:00 |
|
Gwenhael Le Moine
|
1630622f51
|
define Version so that it's picked by OptParser for --version
|
2022-10-04 17:10:00 +02:00 |
|
Gwenhael Le Moine
|
4dfe9554cb
|
Persist stack and variable in ~/.local/state/rpl.rb/machine
|
2022-10-04 16:49:24 +02:00 |
|
Gwenhael Le Moine
|
dfac755ce5
|
File.expand_path is way more useful than File.absolute_path
|
2022-10-04 16:47:48 +02:00 |
|
Gwenhael Le Moine
|
c10c7f02fd
|
REPL outputs stack and variables defined as RPL.rb code
|
2022-07-03 19:46:05 +02:00 |
|
Gwenhael Le Moine
|
fcb809d797
|
[WIP] almost there
|
2022-02-26 18:53:39 +01:00 |
|
Gwenhael Le Moine
|
e2aee4ad22
|
commenting and formatting
|
2022-02-24 15:28:40 +01:00 |
|
Gwenhael Le Moine
|
e9a269e652
|
[bin/rpl] implicit -i if no args given
|
2022-02-16 16:28:33 +01:00 |
|
Gwenhael Le Moine
|
e529b19f12
|
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 |
|
Gwenhael Le Moine
|
f74a8d8e45
|
allow making REPL using preloaded interpreter
|
2022-02-16 16:22:52 +01:00 |
|
Gwenhael Le Moine
|
8b07724e50
|
make it a gem
|
2022-02-15 17:06:19 +01:00 |
|