| |
|
| |
|
| (defvar forth-positives |
(defvar forth-positives |
| " : :noname code ;code does> begin do ?do +do -do u+do u-do while if ?dup-if ?dup-not-if else case struct [if] [else] " |
" : :noname code ;code does> begin do ?do +do -do u+do u-do while if ?dup-if ?dup-0=-if else case struct [if] [else] " |
| "Contains all words which will cause the indent-level to be incremented |
"Contains all words which will cause the indent-level to be incremented |
| on the next line. |
on the next line. |
| OBS! All words in forth-positives must be surrounded by spaces.") |
OBS! All words in forth-positives must be surrounded by spaces.") |
| (defun forth-remove-tracers () |
(defun forth-remove-tracers () |
| "Remove tracers of the form `~~ '. Queries the user for each occurrence." |
"Remove tracers of the form `~~ '. Queries the user for each occurrence." |
| (interactive) |
(interactive) |
| (query-replace "~~ " "")) |
(query-replace-regexp "\\(~~ \\| ~~$\\)" "" nil)) |
| |
|
| (defvar forth-program-name "gforth" |
(defvar forth-program-name "gforth" |
| "*Program invoked by the `run-forth' command.") |
"*Program invoked by the `run-forth' command.") |