README 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 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. REFERENCES
  29. ==========
  30. [1] Carsten Dominik's SysRPL entries database
  31. http://staff.science.uva.nl/~dominik/hpcalc/entries/index.html
  32. --
  33. Paul Onions
  34. 25 May 2014
  35. paul.onions@acm.org