2014-05-24 17:56:51 +02:00
|
|
|
RPL-TOOLS
|
|
|
|
=========
|
|
|
|
|
|
|
|
Useful tools for working with RPL source code, the native language of
|
|
|
|
HP48/49/50-series calculators.
|
|
|
|
|
|
|
|
In its present state really only provides `sysrpl-mode' for editing
|
|
|
|
SysRPL source files. This mode implements syntax highlighting and
|
|
|
|
documentation lookup, using data extracted from Carsten Dominik's
|
2014-05-25 10:33:23 +02:00
|
|
|
``entries.db'' system RPL entries database[1].
|
2014-05-24 17:56:51 +02:00
|
|
|
|
|
|
|
To install rpl-tools, clone the Mercurial repository to somewhere in
|
|
|
|
your Emac's `load-path' with
|
|
|
|
|
|
|
|
hg clone http://bitbucket.org/pdo/rpl-tools
|
|
|
|
|
|
|
|
then add the following to your ~/.emacs file
|
|
|
|
|
|
|
|
(require 'rpl-tools)
|
|
|
|
(add-to-list 'sysrpl-mode-hook 'eldoc-mode)
|
|
|
|
|
|
|
|
where the latter command activates the minor eldoc-mode in
|
|
|
|
sysrpl-mode. This causes a stack-effect diagram to be displayed in
|
2014-05-25 10:33:23 +02:00
|
|
|
the minibuffer whenever the cursor is on a SysRPL word.
|
2014-05-24 17:56:51 +02:00
|
|
|
|
|
|
|
More info can be displayed with the `sysrpl-apropos-thing-at-point'
|
|
|
|
command, bound to C-c C-a by default, which pops up another window
|
|
|
|
with any extra information available for the supplied word (by default
|
|
|
|
the one under the cursor).
|
|
|
|
|
|
|
|
Note: sysrpl-mode is not bound to any particular file extension by
|
2014-05-25 10:48:50 +02:00
|
|
|
default, so to enable it for any particular buffer you will have to
|
|
|
|
issue the command
|
2014-05-24 17:56:51 +02:00
|
|
|
|
|
|
|
M-x sysrpl-mode
|
|
|
|
|
2014-05-25 10:48:50 +02:00
|
|
|
to place the current buffer into sysrpl-mode. Alternatively you can
|
|
|
|
use the standard Emacs file local variable feature to embed the mode
|
|
|
|
name into the first line of a file. See the included example in
|
|
|
|
examples/timedone.s for details.
|
2014-05-24 17:56:51 +02:00
|
|
|
|
2014-05-25 10:33:23 +02:00
|
|
|
|
|
|
|
REFERENCES
|
|
|
|
==========
|
|
|
|
|
|
|
|
[1] Carsten Dominik's SysRPL entries database
|
|
|
|
http://staff.science.uva.nl/~dominik/hpcalc/entries/index.html
|
|
|
|
|
2014-05-24 17:56:51 +02:00
|
|
|
--
|
|
|
|
Paul Onions
|
2014-05-25 10:33:23 +02:00
|
|
|
25 May 2014
|
2014-05-24 17:56:51 +02:00
|
|
|
paul.onions@acm.org
|