version 1.38, 1998/12/08 22:02:44
|
version 1.41, 1999/05/03 09:46:20
|
Line 292 locals-types definitions
|
Line 292 locals-types definitions
|
postpone laddr# @ lp-offset, ; |
postpone laddr# @ lp-offset, ; |
|
|
\ you may want to make comments in a locals definitions group: |
\ you may want to make comments in a locals definitions group: |
' \ alias \ immediate |
' \ alias \ ( -- ) \ core-ext,block-ext backslash |
' ( alias ( immediate |
\G Line comment: if @code{BLK} contains 0, parse and discard the remainder |
|
\G of the parse area. Otherwise, parse and discard all subsequent characters in the |
|
\G parse area corresponding to the current line. |
|
immediate |
|
|
|
' ( alias ( ( compilation 'ccc<close-paren>' -- ; run-time -- ) \ core,file paren |
|
\G Comment: parse and discard all subsequent characters in the parse |
|
\G area until ")" is encountered. During interactive input, an end-of-line |
|
\G also acts as a comment terminator. For file input, it does not; if the |
|
\G end-of-file is encountered whilst parsing for the ")" delimiter, Gforth |
|
\G will generate a warning. |
|
immediate |
|
|
forth definitions |
forth definitions |
|
|
Line 324 create new-locals-map ( -- wordlist-map
|
Line 335 create new-locals-map ( -- wordlist-map
|
' drop A, \ rehash method |
' drop A, \ rehash method |
' drop A, |
' drop A, |
|
|
slowvoc @ |
new-locals-map mappedwordlist Constant new-locals-wl |
slowvoc on |
|
vocabulary new-locals |
\ slowvoc @ |
slowvoc ! |
\ slowvoc on |
new-locals-map ' new-locals >body wordlist-map A! \ !! use special access words |
\ vocabulary new-locals |
|
\ slowvoc ! |
|
\ new-locals-map ' new-locals >body wordlist-map A! \ !! use special access words |
|
|
variable old-dpp |
variable old-dpp |
|
|
Line 337 variable old-dpp
|
Line 350 variable old-dpp
|
dp old-dpp ! |
dp old-dpp ! |
locals-dp dpp ! |
locals-dp dpp ! |
lastxt get-current |
lastxt get-current |
also new-locals |
get-order new-locals-wl swap 1+ set-order |
also locals definitions locals-types |
also locals definitions locals-types |
0 TO locals-wordlist |
0 TO locals-wordlist |
0 postpone [ ; immediate |
0 postpone [ ; immediate |