Find a file
2018-11-25 14:59:08 +00:00
data Added ability to create SASM entry tables from edb data. 2018-11-25 11:23:44 +00:00
examples Tidied up calculator selection code. 2014-04-27 19:48:38 +01:00
tables Added ability to create SASM entry tables from edb data. 2018-11-25 11:23:44 +00:00
LICENCE Added LICENCE file. 2014-04-27 21:56:57 +01:00
README Changed to use Git version control. 2017-12-17 20:59:03 +00:00
rpl-base.el Added ability to create SASM entry tables from edb data. 2018-11-25 11:23:44 +00:00
rpl-edb.el Added ability to create SASM entry tables from edb data. 2018-11-25 11:23:44 +00:00
rpl-tools.el Started work on SASM mode for Saturn assembler source. 2015-05-04 11:12:13 +01:00
sasm-mode.el Added ability to create SASM entry tables from edb data. 2018-11-25 11:23:44 +00:00
sysrpl-mode.el Improved behaviour of SysRPL apropos feature. 2018-11-25 14:59:08 +00:00

RPL-TOOLS
=========

Useful Emacs 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
``entries.db'' system RPL entries database[1].

To install rpl-tools, clone this Git repository to somewhere in
your Emacs `load-path' with

  git 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
the minibuffer whenever the cursor is on a SysRPL word.

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
default, so to enable it for any particular buffer you will have to
issue the command

  M-x sysrpl-mode

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.

Also, be aware that this code was written with Gnu Emacs 24.3 so I may
have used features not found in earlier versions.  If you see strange
errors when you try to use it, check your Emacs version with

  M-x emacs-version

and be prepared to upgrade your Emacs if necessary.


REFERENCES
==========

[1] Carsten Dominik's SysRPL entries database
    http://staff.science.uva.nl/~dominik/hpcalc/entries/index.html

--
Paul Onions
17 December 2017
paul.onions@acm.org