README 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. RPL-TOOLS
  2. =========
  3. Useful tools for working with RPL source code, the native language of
  4. HP48/49/50-series calculators.
  5. In its present state really only provides `sysrpl-mode' for editing
  6. SysRPL source files. This mode implements syntax highlighting and
  7. documentation lookup, using data extracted from Carsten Dominik's
  8. ``entries.db'' system RPL entries database.
  9. To install rpl-tools, clone the Mercurial repository to somewhere in
  10. your Emac's `load-path' with
  11. hg clone http://bitbucket.org/pdo/rpl-tools
  12. then add the following to your ~/.emacs file
  13. (require 'rpl-tools)
  14. (add-to-list 'sysrpl-mode-hook 'eldoc-mode)
  15. where the latter command activates the minor eldoc-mode in
  16. sysrpl-mode. This causes a stack-effect diagram to be displayed in
  17. the minibuffer, corresponding to the SysRPL word under the cursor.
  18. More info can be displayed with the `sysrpl-apropos-thing-at-point'
  19. command, bound to C-c C-a by default, which pops up another window
  20. with any extra information available for the supplied word (by default
  21. the one under the cursor).
  22. Note: sysrpl-mode is not bound to any particular file extension by
  23. default, so to enable it you will have to issue the command
  24. M-x sysrpl-mode
  25. to place the current buffer into sysrpl-mode. This can of course be
  26. automated by adding an appropriate rule to the 'auto-mode-alist'
  27. variable in your ~/.emacs file.
  28. --
  29. Paul Onions
  30. 24 May 2014
  31. paul.onions@acm.org