version 1.32, 1996/02/19 18:57:26
|
version 1.33, 1996/05/13 16:36:56
|
Line 3198 Not implemented (yet).
|
Line 3198 Not implemented (yet).
|
@table @i |
@table @i |
|
|
@item changing the compilation wordlist (during compilation): |
@item changing the compilation wordlist (during compilation): |
The definition is put into the wordlist that is the compilation wordlist |
The word is entered into the wordlist that was the compilation wordlist |
when @code{REVEAL} is executed (by @code{;}, @code{DOES>}, |
at the start of the definition. Any changes to the name field (e.g., |
@code{RECURSIVE}, etc.). |
@code{immediate}) or the code field (e.g., when executing @code{DOES>}) |
|
are applied to the latest defined word (as reported by @code{last} or |
|
@code{lastxt}), if possible, irrespective of the compilation wordlist. |
|
|
@item search order empty (@code{previous}): |
@item search order empty (@code{previous}): |
@code{abort" Vocstack empty"}. |
@code{abort" Vocstack empty"}. |
Line 3218 when @code{REVEAL} is executed (by @code
|
Line 3220 when @code{REVEAL} is executed (by @code
|
@chapter Emacs and Gforth |
@chapter Emacs and Gforth |
|
|
Gforth comes with @file{gforth.el}, an improved version of |
Gforth comes with @file{gforth.el}, an improved version of |
@file{forth.el} by Goran Rydqvist (icluded in the TILE package). The |
@file{forth.el} by Goran Rydqvist (included in the TILE package). The |
improvements are a better (but still not perfect) handling of |
improvements are a better (but still not perfect) handling of |
indentation. I have also added comment paragraph filling (@kbd{M-q}), |
indentation. I have also added comment paragraph filling (@kbd{M-q}), |
commenting (@kbd{C-x \}) and uncommenting (@kbd{C-u C-x \}) regions and |
commenting (@kbd{C-x \}) and uncommenting (@kbd{C-u C-x \}) regions and |
Line 3243 several tags files at the same time (e.g
|
Line 3245 several tags files at the same time (e.g
|
and one for your program, @pxref{Select Tags Table,,Selecting a Tags |
and one for your program, @pxref{Select Tags Table,,Selecting a Tags |
Table,emacs, Emacs Manual}). The TAGS file for the preloaded words is |
Table,emacs, Emacs Manual}). The TAGS file for the preloaded words is |
@file{$(datadir)/gforth/$(VERSION)/TAGS} (e.g., |
@file{$(datadir)/gforth/$(VERSION)/TAGS} (e.g., |
@file{/usr/local/share/gforth/0.2/TAGS}). |
@file{/usr/local/share/gforth/0.2.0/TAGS}). |
|
|
To get all these benefits, add the following lines to your @file{.emacs} |
To get all these benefits, add the following lines to your @file{.emacs} |
file: |
file: |
Line 3298 limitations: GNU C, the version of C pro
|
Line 3300 limitations: GNU C, the version of C pro
|
GNU C Manual}). Its labels as values feature (@pxref{Labels as Values, , |
GNU C Manual}). Its labels as values feature (@pxref{Labels as Values, , |
Labels as Values, gcc.info, GNU C Manual}) makes direct and indirect |
Labels as Values, gcc.info, GNU C Manual}) makes direct and indirect |
threading possible, its @code{long long} type (@pxref{Long Long, , |
threading possible, its @code{long long} type (@pxref{Long Long, , |
Double-Word Integers, gcc.info, GNU C Manual}) corresponds to Forths |
Double-Word Integers, gcc.info, GNU C Manual}) corresponds to Forth's |
double numbers@footnote{Unfortunately, long longs are not implemented |
double numbers@footnote{Unfortunately, long longs are not implemented |
properly on all machines (e.g., on alpha-osf1, long longs are only 64 |
properly on all machines (e.g., on alpha-osf1, long longs are only 64 |
bits, the same size as longs (and pointers), but they should be twice as |
bits, the same size as longs (and pointers), but they should be twice as |