README 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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[1].
  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 whenever the cursor is on a SysRPL word.
  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 for any particular buffer you will have to
  24. issue the command
  25. M-x sysrpl-mode
  26. to place the current buffer into sysrpl-mode. Alternatively you can
  27. use the standard Emacs file local variable feature to embed the mode
  28. name into the first line of a file. See the included example in
  29. examples/timedone.s for details.
  30. REFERENCES
  31. ==========
  32. [1] Carsten Dominik's SysRPL entries database
  33. http://staff.science.uva.nl/~dominik/hpcalc/entries/index.html
  34. --
  35. Paul Onions
  36. 25 May 2014
  37. paul.onions@acm.org