mini-editor.hlp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. PSL Structure Editor
  2. -------------------
  3. Based on the BBN-Lisp editor, circa 1968, and its descendants.
  4. This editor can be entered from inside the break loop or by calling
  5. the functin Edit on a structure to be edited. For information on
  6. other editors do (Help Editor).
  7. Looking Commands:
  8. P Print the current level. The printout replace all sublevels deeper
  9. than 'plevel' by ***. 'plevel' is initialized to 3.
  10. PL n Change 'plevel' to n.
  11. 'Stroll around in the structure' commands
  12. n (>0) sets the new current level to the n-th element in the
  13. present current level (Walk down to the n-th sub-expression).
  14. -n (n>0) sets the current level to the n-th cdr in the present current
  15. level.
  16. UP go up to the level you were in just before
  17. T go to the top of the original expression
  18. F s Find the first occurence of s . Test is performed by equal.
  19. After executing, current level is set to the first level s was
  20. a member in.
  21. Structure changing commands:
  22. (Notice, that all these commands are parenthesis expressions.)
  23. (n) Delete the n-th element (in the current level)
  24. (n S ...S ) Replace the n-th element by S ...S .
  25. 1 n
  26. (-n S ...S ) Insert before the n-th element the elements S ...S .
  27. 1 n
  28. (R S S ) Replace all occurence (in the tree you are placed at)
  29. 1 n of S by S (Equal test).
  30. Others:
  31. B Enter a break loop.
  32. OK Leave the editor.
  33. HELP Print this text.
  34. E Eval and print the next expression.