diff view
color-brad2.f color-brad3.f
end of diff view
1. 0 [IF] 
2.    Forth to HTML converter 
1. 0 [IF] 
2.    Forth to HTML converter 
3.    Brad Eckert 
4.    Revision 2. See bottom for revision history. 
3.  
4.    Main contributors: Brad Eckert & Ed Beroset
5.    Revision 4. See bottom for revision history.
5.  
6.    This ANS Forth program is public domain. It translates ANS Forth to colorized 
7.    HTML. Hyperlinks to the ANS Forth draft standard are inserted for all ANS 
8.    standard words. Hyperlinks to user definitions are included. 
9.  
6.  
7.    This ANS Forth program is public domain. It translates ANS Forth to colorized 
8.    HTML. Hyperlinks to the ANS Forth draft standard are inserted for all ANS 
9.    standard words. Hyperlinks to user definitions are included. 
10.  
10.    Usage: HTML FileName       Generates HTML file from Forth source 
11.                               output file is Filename with .HTM extension 
11.    Usage: HTML FileName    Generates HTML file from Forth source.
12.                            Output file is Filename with .HTM extension.
12.           Q [forth code]      Outputs HTML for 1 line to screen 
13.  
14.    Q is used for debugging. You can use "linenum ?" to show the line number if an 
15.    ABORT occurs. The HTML is about 10 times as big as the Forth source because of 
16.    all the links, color changes and whitespace. 
17.  
18.    INCLUDEd files produce corresponding HTML pages. Most browsers get severely 
19.    bogged down with large files. If you're converting a large Forth program to 
20.    HTML, try to keep the source files under 500 lines each by splitting long 
13.           Q [forth code]      Outputs HTML for 1 line to screen 
14.  
15.    Q is used for debugging. You can use "linenum ?" to show the line number if an 
16.    ABORT occurs. The HTML is about 10 times as big as the Forth source because of 
17.    all the links, color changes and whitespace. 
18.  
19.    INCLUDEd files produce corresponding HTML pages. Most browsers get severely 
20.    bogged down with large files. If you're converting a large Forth program to 
21.    HTML, try to keep the source files under 500 lines each by splitting long 
21.    source into multiple INCLUDE files. HTML pages are best viewed with Internet 
22.    Explorer. Netscape ignores the <code> attribute and is more sluggish with 
23.    large files. 
22.    source into multiple INCLUDE files.
24.  
23.  
25.    When you INCLUDE this file some redefinition complaints will occur. That's 
24.    When you INCLUDE this file some redefinition complaints may occur. That's
26.    okay since you won't be loading an application on top of this. 
25.    okay since you won't be loading an application on top of this. 
 
26.  
27.    Users of specific Forths can extend the hyperlink table to point to words
28.    in a glossary for that particular Forth.
29.  
30.    You can change the following bold/italic/nestable options:
27. [THEN]
28.  
29. ONLY FORTH ALSO DEFINITIONS
30.  
31. [THEN]
32.  
33. ONLY FORTH ALSO DEFINITIONS
34.  
31. : [undef] ( <name> -- f ) BL WORD FIND NIP 0= ;
32.   [undef] +PLACE [IF] : +PLACE 2DUP 2>R COUNT CHARS + SWAP MOVE 2R> C+! ; [THEN]
33.   [undef] PLACE  [IF] : PLACE  0 OVER C! +PLACE ;                         [THEN]
34.   [undef] FDROP  [IF] : FDROP ;                                           [THEN]
35.   [undef] >FLOAT [IF] : >FLOAT DROP C@ [CHAR] 0 [CHAR] 9 1+ WITHIN ;      [THEN]
35. 0 VALUE bold                                    \ T if bold text
36. 1 VALUE italic                                  \ T if italic comments
37. 1 VALUE nestable                                \ T if INCLUDE nests files
38.  
39. : undefined ( <name> -- f ) BL WORD FIND NIP 0= ;
40. undefined C+!    [IF] : C+! SWAP OVER C@ + SWAP C! ;                      [THEN]
41. undefined BOUNDS [IF] : BOUNDS OVER + SWAP ;                              [THEN]
42. undefined SCAN   [IF] : SCAN
43.    >R
44.    BEGIN DUP WHILE OVER C@ R@ <> WHILE 1 /STRING REPEAT THEN
45.    R> DROP ;                                                              [THEN]
46. undefined SKIP   [IF] : SKIP
47.    >R
48.    BEGIN DUP WHILE OVER C@ R@ = WHILE 1 /STRING REPEAT THEN
49.    R> DROP ;                                                              [THEN]
50. undefined NOOP   [IF] : NOOP ;                                            [THEN]
51. undefined +PLACE [IF] : +PLACE 2DUP 2>R COUNT CHARS + SWAP MOVE 2R> C+! ; [THEN]
52. undefined PLACE  [IF] : PLACE  0 OVER C! +PLACE ;                         [THEN]
53. undefined FDROP  [IF] : FDROP ;                                           [THEN]
54. undefined >FLOAT [IF] : >FLOAT DROP C@ [CHAR] 0 [CHAR] 9 1+ WITHIN ;      [THEN]
36.  
37. 0 VALUE outf                                    \ output to file
38. 1 VALUE screen-only                             \ screen is for testing
39. : werr  ABORT" Error writing file" ;
40. : out   screen-only IF type    ELSE outf WRITE-FILE werr THEN ;
41. : outln screen-only IF type cr ELSE outf WRITE-LINE werr THEN ;
42.  
43. WORDLIST CONSTANT hyperlinks
44. VARIABLE attrib
45. : /a      ( -- )         attrib @ IF S" </a>" out THEN 0 attrib ! ;
46. : ,$      ( a len -- )   DUP C, BOUNDS ?DO I C@ C, LOOP ; \ text to dictionary
47. : text    ( <text> -- )  -1 WORD COUNT -TRAILING ,$ ;
48. : line    ( a line# -- ) 0 ?DO COUNT + LOOP COUNT out ;   \ output one string
49. : boiler  ( addr -- )    BEGIN COUNT DUP WHILE 2DUP + >R outln R> REPEAT 2DROP ;
55.  
56. 0 VALUE outf                                    \ output to file
57. 1 VALUE screen-only                             \ screen is for testing
58. : werr  ABORT" Error writing file" ;
59. : out   screen-only IF type    ELSE outf WRITE-FILE werr THEN ;
60. : outln screen-only IF type cr ELSE outf WRITE-LINE werr THEN ;
61.  
62. WORDLIST CONSTANT hyperlinks
63. VARIABLE attrib
64. : /a      ( -- )         attrib @ IF S" </a>" out THEN 0 attrib ! ;
65. : ,$      ( a len -- )   DUP C, BOUNDS ?DO I C@ C, LOOP ; \ text to dictionary
66. : text    ( <text> -- )  -1 WORD COUNT -TRAILING ,$ ;
67. : line    ( a line# -- ) 0 ?DO COUNT + LOOP COUNT out ;   \ output one string
68. : boiler  ( addr -- )    BEGIN COUNT DUP WHILE 2DUP + >R outln R> REPEAT 2DROP ;
 
69. : ital(   ( -- )         italic IF S" <i>" out THEN ;
70. : )ital   ( -- )         italic IF S" </i>" out THEN ;
50.  
51. CREATE misctext                                 \ various attribute strings
71.  
72. CREATE misctext                                 \ various attribute strings
52.    text <a style="text-decoration:none" href=
53.    text <a name="
73.    text <a href="
74.    text <a name="x
54.    text ">
75.    text ">
55.    text <a href="#
56.    text " style="text-decoration:none">
57.    text <font color="#
58.    text <font color="#000000"><hr><h1><code>
59.    text </code></h1><hr>
76.    text <a href="#x
77.    text ">
78.    text <span style="color:#
79.    text <hr /><h1>
80.    text </h1><hr /><p>
81.    text </span>
60.    0 c,
61.  
62. VARIABLE color                                  \ current color
82.    0 c,
83.  
84. VARIABLE color                                  \ current color
 
85. VARIABLE infont                                 \ within <font> tag
63.  
64. : fontcolor ( color -- ) BASE @ >R              \ change font color
86.  
87. : fontcolor ( color -- ) BASE @ >R              \ change font color
 
88.    1 infont !
65.    misctext 5 line 0 HEX <# # # # # # # #> out
66.    misctext 2 line       R> BASE ! ;
67.  
68. : col ( color <name> -- )                       \ define a font color
69.    CREATE , DOES> @ color ! ;
70.  
71. HEX
72. 808080 col unknown
73. 008000 col commentary
74. CC0000 col numeric
75. 990080 col values
76. 000000 col userwords
77. 009999 col userdefiner
78. CC00CC col variables
79. 0000FF col core_ws
80. 0000FF col core_ext_ws
81. 0000FF col block_ws
82. 0000FF col double_ws
83. 0000FF col exception_ws
84. 0000FF col facilities_ws
85. 0000FF col file_ws
86. 0000FF col fp_ws
87. 0000FF col local_ws
88. 0000FF col malloc_ws
89. 0000FF col progtools_ws
90. 0000FF col searchord_ws
91. 0000FF col string_ws
92. DECIMAL
93.  
94. CREATE begin_header                             \ begin of HTML file part 1
89.    misctext 5 line 0 HEX <# # # # # # # #> out
90.    misctext 2 line       R> BASE ! ;
91.  
92. : col ( color <name> -- )                       \ define a font color
93.    CREATE , DOES> @ color ! ;
94.  
95. HEX
96. 808080 col unknown
97. 008000 col commentary
98. CC0000 col numeric
99. 990080 col values
100. 000000 col userwords
101. 009999 col userdefiner
102. CC00CC col variables
103. 0000FF col core_ws
104. 0000FF col core_ext_ws
105. 0000FF col block_ws
106. 0000FF col double_ws
107. 0000FF col exception_ws
108. 0000FF col facilities_ws
109. 0000FF col file_ws
110. 0000FF col fp_ws
111. 0000FF col local_ws
112. 0000FF col malloc_ws
113. 0000FF col progtools_ws
114. 0000FF col searchord_ws
115. 0000FF col string_ws
116. DECIMAL
117.  
118. CREATE begin_header                             \ begin of HTML file part 1
95.    text <html> <head>
96.    text <meta http-equiv="Content-Type" content="text/html;">
97.    text <meta name="GENERATOR" content="Forth2HTML 0.2">
119.    text <?xml version="1.0"?>
120.    text <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
121.    text     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
122.    text <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
123.    text <head>
124.    text <meta http-equiv="Content-Type" content="text/xml; charset=iso-8859-1" />
125.    text <meta name="GENERATOR" content="Forth2HTML 0.0" />
126.    text <style type="text/css">
127.    text body {background: #FFFFEE;}
128.    text h1 {color: #000000;}
129.    text p {font-family: monospace;}
130.    text a {text-decoration:none;}
131.    text </style>
98.    text <title>
99.    0 C,
100.  
101. \ body defaults: the most common link color (blue) is made the default color
102. \ the most common plain text color (green) is made default.
103.  
104. CREATE mid_header                               \ begin of HTML file part 2
105.    text </title></head>
132.    text <title>
133.    0 C,
134.  
135. \ body defaults: the most common link color (blue) is made the default color
136. \ the most common plain text color (green) is made default.
137.  
138. CREATE mid_header                               \ begin of HTML file part 2
139.    text </title></head>
106.    text <body bgcolor="#FFFFEE" link="0000FF" vlink="0000FF" alink="0000FF">
107.    text <pre>
140.    text <body>
108.    0 C,
109.  
110. CREATE end_header                               \ end of HTML file
141.    0 C,
142.  
143. CREATE end_header                               \ end of HTML file
111.    text </pre></body>
144.    text </p></body>
112.    text </html>
113.    0 C,
114.  
115. HEX
116. : setcolor ( -- )                               \ select next color
117.    attrib @ 1 = color @ 0000FF = AND 0=         \ blue link: don't color
145.    text </html>
146.    0 C,
147.  
148. HEX
149. : setcolor ( -- )                               \ select next color
150.    attrib @ 1 = color @ 0000FF = AND 0=         \ blue link: don't color
 
151.    DROP TRUE                                    \ /4/ vlinks are still purple
118.    IF color @ fontcolor THEN ;
119. DECIMAL
120.  
152.    IF color @ fontcolor THEN ;
153. DECIMAL
154.  
 
155. : closefont ( -- )
156.    infont @ IF
157.    misctext 8 line 0 infont ! THEN ;
158.     
159.  
160. VARIABLE bltally
121. : outh    ( a n -- )                            \ HTMLized text output
161. : outh    ( a n -- )                            \ HTMLized text output
 
162.    999 bltally !
122.    BOUNDS ?DO I C@ CASE
123.       [CHAR] & OF S" &amp;"  out ENDOF
124.       [CHAR] < OF S" &lt;"   out ENDOF
125.       [CHAR] > OF S" &gt;"   out ENDOF
126.       [CHAR] " OF S" &quot;" out ENDOF
163.    BOUNDS ?DO I C@ CASE
164.       [CHAR] & OF S" &amp;"  out ENDOF
165.       [CHAR] < OF S" &lt;"   out ENDOF
166.       [CHAR] > OF S" &gt;"   out ENDOF
167.       [CHAR] " OF S" &quot;" out ENDOF
 
168.       BL       OF bltally @ 0= IF S"  " ELSE S" &nbsp;" THEN out
169.                 1 bltally +!     ENDOF
170.       I 1 out   0 bltally !
171.    ENDCASE LOOP ;
172.  
173. : outhattr  ( a n -- )                          \ HTMLized text output
174.    BOUNDS ?DO I C@ CASE
175.       [CHAR] & OF S" amp"       out ENDOF
176.       [CHAR] < OF S" lt"        out ENDOF
177.       [CHAR] > OF S" gt"        out ENDOF
178.       [CHAR] " OF S" quot"      out ENDOF
179.       [CHAR] + OF S" plus"      out ENDOF
180.       [CHAR] ! OF S" bang"      out ENDOF
181.       [CHAR] / OF S" slash"     out ENDOF
182.       [CHAR] \ OF S" backslash" out ENDOF
183.       [CHAR] ' OF S" apos"      out ENDOF
184.       [CHAR] = OF S" equal"     out ENDOF
185.       [CHAR] - OF S" dash"      out ENDOF
186.       [CHAR] @ OF S" at"        out ENDOF
187.       [CHAR] ; OF S" semi"      out ENDOF
188.       [CHAR] * OF S" star"      out ENDOF
189.       [CHAR] ? OF S" question"  out ENDOF
190.       [CHAR] ~ OF S" tilde"     out ENDOF
191.       [CHAR] # OF S" pound"     out ENDOF
192.       [CHAR] , OF S" comma"     out ENDOF
193.       [CHAR] $ OF S" dollar"    out ENDOF
194.       [CHAR] | OF S" bar"       out ENDOF
195.       [CHAR] [ OF S" leftbracket" out ENDOF
196.       [CHAR] ( OF S" leftparen" out ENDOF
197.       [CHAR] { OF S" leftbrace" out ENDOF
198.       [CHAR] ] OF S" rightbracket" out ENDOF
199.       [CHAR] ) OF S" rightparen" out ENDOF
200.       [CHAR] } OF S" rightbrace" out ENDOF
201.       BL       OF S" _"         out ENDOF
127.       I 1 out 
128.    ENDCASE LOOP ;
129.  
130. : label ( addr len -- ) /a                      \ associate a label with a word
202.       I 1 out 
203.    ENDCASE LOOP ;
204.  
205. : label ( addr len -- ) /a                      \ associate a label with a word
131.    misctext 1 line outh
206.    misctext 1 line outhattr
132.    misctext 2 line 1 attrib ! ;
133.  
207.    misctext 2 line 1 attrib ! ;
208.  
134. : std    ( word color <string> -- )
135.    CREATE ' , ' , BL WORD COUNT ,$
209. \ Assuming this is running on a PC, we allocate enough storage that crashes from
210. \ string overflows can't happen.                /4/
211.  
212. CREATE inbuf 260 CHARS ALLOT                    \ current line from file
213. CREATE token 260 CHARS ALLOT                    \ the last blank delimited string
214. CREATE XPAD  260 CHARS ALLOT                    \ temporary pad for word storage
215. CREATE EPAD  260 CHARS ALLOT                    \ temporary pad for evaluation
216. CREATE fn    260 CHARS ALLOT                    \ file name
217. CREATE fn1   260 CHARS ALLOT                    \ file name backup
218. CREATE "str" 260 CHARS ALLOT                    \ parsed string storage
219. CREATE uname 260 CHARS ALLOT                    \ : definition name
220. 0 VALUE inf
221. VARIABLE nufile                                 \ T if nesting a file
222. VARIABLE utype                                  \ type of defined word
223. VARIABLE hstate
224. VARIABLE linenum
225. VARIABLE special                                \ special action, 0=none
226.  
227. : std    ( word 2nd_fn color filename label -- )
228.    CREATE ' , ' , BL WORD COUNT ,$ BL WORD COUNT ,$
136.    DOES> /a DUP >R  2 CELLS +
137.    misctext 0 line                              \ begin hyperlink
229.    DOES> /a DUP >R  2 CELLS +
230.    misctext 0 line                              \ begin hyperlink
138.    BASE @ >R DECIMAL
139.    COUNT 0 0 2OVER >NUMBER 2DROP D>S
140.    R> BASE ! CASE                               \ choose file name
141.        6 OF S" dpans6.htm#"  out ENDOF
142.        7 OF S" dpans7.htm#"  out ENDOF
143.        8 OF S" dpans8.htm#"  out ENDOF
144.        9 OF S" dpans9.htm#"  out ENDOF
145.       10 OF S" dpans10.htm#" out ENDOF
146.       11 OF S" dpans11.htm#" out ENDOF
147.       12 OF S" dpans12.htm#" out ENDOF
148.       13 OF S" dpans13.htm#" out ENDOF
149.       14 OF S" dpans14.htm#" out ENDOF
150.       15 OF S" dpans15.htm#" out ENDOF
151.       16 OF S" dpans16.htm#" out ENDOF
152.       17 OF S" dpans17.htm#" out ENDOF
153.       ABORT" Undefined source file"
154.    ENDCASE  out s" >" out
231.    COUNT 2DUP + >R  out S" #" out               \ output file name      /4/
232.    R> COUNT out misctext 2 line                 \ and anchor name
155.    1 attrib !
156.    R> 2@ SWAP EXECUTE EXECUTE ;                 \ extra attributes
157.  
158. : genHTML ( -- )                                \ generate pending HTML
233.    1 attrib !
234.    R> 2@ SWAP EXECUTE EXECUTE ;                 \ extra attributes
235.  
236. : genHTML ( -- )                                \ generate pending HTML
159.    PAD COUNT DUP IF setcolor THEN outh /a  0 PAD ! ;
237.    token COUNT DUP IF setcolor THEN outh closefont /a  0 token ! ;
160.  
161. : isnumber? ( addr len -- f )                   \ string converts to number?
162.    0 0 2SWAP >NUMBER NIP NIP NIP 0= ;
163.  
164. : hparse ( a len char -- a' len' )
165.    >R 2DUP R@ SKIP R> SCAN BL SCAN
238.  
239. : isnumber? ( addr len -- f )                   \ string converts to number?
240.    0 0 2SWAP >NUMBER NIP NIP NIP 0= ;
241.  
242. : hparse ( a len char -- a' len' )
243.    >R 2DUP R@ SKIP R> SCAN BL SCAN
166.    2SWAP 2 PICK - PAD +PLACE ;
244.    2SWAP 2 PICK - token +PLACE ;
167.  
245.  
168. CREATE XPAD 260 CHARS ALLOT                     \ temporary pad for word storage
169. CREATE EPAD 260 CHARS ALLOT                     \ temporary pad for evaluation
170.  
171. : >XPAD ( -- ) PAD COUNT BL SKIP XPAD PLACE ;   \ move to temporary pad
246. : >XPAD ( -- ) token COUNT BL SKIP XPAD PLACE ; \ move to temporary pad
172.  
173. : hint  ( addr len -- )                         \ interpret one line...
174.    BEGIN
247.  
248. : hint  ( addr len -- )                         \ interpret one line...
249.    BEGIN
175.       0 PAD !  BL hparse PAD C@
250.       0 token !  BL hparse token C@
176.    WHILE unknown                                \ default color
177.       >XPAD XPAD COUNT hyperlinks SEARCH-WORDLIST \ got a hyperlink for this?
178.       IF DEPTH >R EXECUTE
179.          R> DEPTH <> ABORT" stack depth change in HTML generator"
180.       ELSE
181.          XPAD COUNT BASE @ 10 = IF
182.             >FLOAT IF FDROP numeric THEN        \ valid float or integer
183.          ELSE
184.             isnumber? IF numeric THEN
185.          THEN
186.       THEN genHTML
187.    REPEAT 2DROP
251.    WHILE unknown                                \ default color
252.       >XPAD XPAD COUNT hyperlinks SEARCH-WORDLIST \ got a hyperlink for this?
253.       IF DEPTH >R EXECUTE
254.          R> DEPTH <> ABORT" stack depth change in HTML generator"
255.       ELSE
256.          XPAD COUNT BASE @ 10 = IF
257.             >FLOAT IF FDROP numeric THEN        \ valid float or integer
258.          ELSE
259.             isnumber? IF numeric THEN
260.          THEN
261.       THEN genHTML
262.    REPEAT 2DROP
188.    S" " outln ;                                 \ new line
189.  
190. CREATE inbuf 260 CHARS ALLOT
191. CREATE fn    128 CHARS ALLOT                    \ file name
192. CREATE fn1   128 CHARS ALLOT                    \ file name backup
193. CREATE pstr  128 CHARS ALLOT                    \ parsed string storage
194. CREATE uname  64 CHARS ALLOT                    \ : definition name
195. 0 VALUE inf
196. VARIABLE nufile                                 \ T if nesting a file
197. VARIABLE utype                                  \ type of defined word
198. VARIABLE hstate
199. VARIABLE linenum
200. VARIABLE special                                \ special action, 0=none
263.    S" <br />" outln ;                           \ new line
201.  
202. : ofn   ( -- addr len )                         \ output file name
203.    fn COUNT 2DUP [CHAR] . SCAN NIP - EPAD PLACE
204.    S" .htm" EPAD +PLACE   EPAD COUNT ;
205.  
206. : hcreate ( addr len -- )
264.  
265. : ofn   ( -- addr len )                         \ output file name
266.    fn COUNT 2DUP [CHAR] . SCAN NIP - EPAD PLACE
267.    S" .htm" EPAD +PLACE   EPAD COUNT ;
268.  
269. : hcreate ( addr len -- )
 
270.    DUP 0= IF 2DROP S" fakename" THEN            \ in case the name is missing
207.    S" CREATE " EPAD PLACE  EPAD +PLACE
208.    GET-CURRENT >R hyperlinks SET-CURRENT
209.    EPAD COUNT EVALUATE    R> SET-CURRENT ;      \ create a hyperlink generator
210.  
211. \ The user defined words use the following data structure:
212. \ CELL   xt of coloring word
213. \ STRING name of reference word
214. \ STRING name of file
215.  
216. : deflink ( addr -- )                           \ make hyperlink from data structure
217.    DUP @ EXECUTE CELL+                          \ set color
218.    DUP COUNT + COUNT ofn COMPARE                \ in an external file?
219.    IF   misctext 0 line DUP COUNT + COUNT out   \ yes, put file name
220.         S" #" out COUNT outh S" >" out
271.    S" CREATE " EPAD PLACE  EPAD +PLACE
272.    GET-CURRENT >R hyperlinks SET-CURRENT
273.    EPAD COUNT EVALUATE    R> SET-CURRENT ;      \ create a hyperlink generator
274.  
275. \ The user defined words use the following data structure:
276. \ CELL   xt of coloring word
277. \ STRING name of reference word
278. \ STRING name of file
279.  
280. : deflink ( addr -- )                           \ make hyperlink from data structure
281.    DUP @ EXECUTE CELL+                          \ set color
282.    DUP COUNT + COUNT ofn COMPARE                \ in an external file?
283.    IF   misctext 0 line DUP COUNT + COUNT out   \ yes, put file name
284.         S" #" out COUNT outh S" >" out
221.    ELSE misctext 3 line COUNT outh              \ no, just use the name
285.    ELSE misctext 3 line COUNT outhattr          \ no, just use the name
222.         misctext 4 line
223.    THEN 1 attrib ! ;
224.  
225. : defx  ( a len xt -- a' len' )
226.    >R genHTML BL hparse >XPAD                   \ output defining word
227.    XPAD COUNT 2DUP hcreate R> , ,$ ofn ,$
228.    DOES> deflink ;
229.  
286.         misctext 4 line
287.    THEN 1 attrib ! ;
288.  
289. : defx  ( a len xt -- a' len' )
290.    >R genHTML BL hparse >XPAD                   \ output defining word
291.    XPAD COUNT 2DUP hcreate R> , ,$ ofn ,$
292.    DOES> deflink ;
293.  
230. : labelnow   genHTML XPAD COUNT label ;
294. : labelnow   genHTML XPAD COUNT label ;         \ /4/
231. : defdat ['] numeric   defx numeric   labelnow ;
232. : defvar ['] variables defx variables labelnow ;
233. : defusr ['] userwords defx userwords labelnow ;
234. : defval ['] values    defx values    labelnow ;
235. : defdef ['] userdefiner defx userdefiner labelnow ;
236.  
237. : hstate=0 ( -- )             0 hstate ! ;
238. : hstate=1 ( -- )             1 hstate ! ;
239. : spec=zero ( -- )            1 special ! ;
240. : skip)  ( a len -- a' len' ) [CHAR] ) hparse ;
241. : skipw  ( a len -- a' len' ) BL hparse ;
242. : skipc  ( a len -- a len )   hstate @ 0= IF numeric skipw THEN ;
295. : defdat ['] numeric   defx numeric   labelnow ;
296. : defvar ['] variables defx variables labelnow ;
297. : defusr ['] userwords defx userwords labelnow ;
298. : defval ['] values    defx values    labelnow ;
299. : defdef ['] userdefiner defx userdefiner labelnow ;
300.  
301. : hstate=0 ( -- )             0 hstate ! ;
302. : hstate=1 ( -- )             1 hstate ! ;
303. : spec=zero ( -- )            1 special ! ;
304. : skip)  ( a len -- a' len' ) [CHAR] ) hparse ;
305. : skipw  ( a len -- a' len' ) BL hparse ;
306. : skipc  ( a len -- a len )   hstate @ 0= IF numeric skipw THEN ;
243. : skip"  ( a len -- a' len' )                   \ copy string to pstr
244.    genHTML [CHAR] " hparse PAD COUNT 1- pstr PLACE ;
307. : skip"  ( a len -- a' len' )                   \ copy string to "str"
308.    genHTML [CHAR] " hparse token COUNT 1- "str" PLACE ;
245.  
246. \ ------------------------------------------------------------------------------
247. \ ":" definitions might be defining words, so they can't be assumed to be defusr
248. \ types. ":" makes a label and saves the name for later use by ";" which makes
249. \ a hyperlink or a hyperlink defining word.
250.  
251. :NONAME                                         \ normal : definition
309.  
310. \ ------------------------------------------------------------------------------
311. \ ":" definitions might be defining words, so they can't be assumed to be defusr
312. \ types. ":" makes a label and saves the name for later use by ";" which makes
313. \ a hyperlink or a hyperlink defining word.
314.  
315. :NONAME                                         \ normal : definition
252.    uname COUNT ['] userwords defx 2DROP  0 PAD !
316.    uname COUNT ['] userwords defx 2DROP  0 token !
253. ; CONSTANT normal_def
254.  
255. :NONAME
256.    uname COUNT 2DUP hcreate ['] userwords , ,$ ofn ,$
257.    DOES> deflink defdef
258. ; CONSTANT defining_def
259.  
260. : defunk ( a len -- a' len' )                   \ starting unknown definition
261.    hstate=1  normal_def utype !                 \ save name of : definition
317. ; CONSTANT normal_def
318.  
319. :NONAME
320.    uname COUNT 2DUP hcreate ['] userwords , ,$ ofn ,$
321.    DOES> deflink defdef
322. ; CONSTANT defining_def
323.  
324. : defunk ( a len -- a' len' )                   \ starting unknown definition
325.    hstate=1  normal_def utype !                 \ save name of : definition
262.    genHTML skipw userwords PAD COUNT BL SKIP 2DUP uname PLACE label ;
326.    genHTML skipw userwords token COUNT BL SKIP 2DUP uname PLACE label ;
263.  
264. : resunk ( -- )                                 \ resolve unknown defined word
327.  
328. : resunk ( -- )                                 \ resolve unknown defined word
265.    genHTML utype @ EXECUTE
266.    hstate=0                                     \ ; cleanup
267.    GET-ORDER hyperlinks 1 SET-ORDER
268.    S" L#O#C#A#L" EVALUATE                       \ forget locals
269.    SET-ORDER ;
329.    genHTML utype @ EXECUTE hstate=0 ;
270.  
271. : created ( -- ) hstate @
272.    IF   defining_def utype !                    \ make ; create a defining word
273.    ELSE defdat                                  \ not compiling
274.    THEN ;
275.  
276. \ ------------------------------------------------------------------------------
277.  
278. : header  ( addr len -- )                       \ output big header text
330.  
331. : created ( -- ) hstate @
332.    IF   defining_def utype !                    \ make ; create a defining word
333.    ELSE defdat                                  \ not compiling
334.    THEN ;
335.  
336. \ ------------------------------------------------------------------------------
337.  
338. : header  ( addr len -- )                       \ output big header text
279.    misctext 6 line out misctext 7 line ;
339.    misctext 6 line outln misctext 7 line ;
280.  
340.  
281. : _incfil ( addr -- )                           \ trigger file nesting
282.    fn COUNT fn1 PLACE COUNT BL SKIP fn place 1 nufile ! ;
341. : _incfil ( addr -- )                           \ trigger file nesting      /4/
342.    nestable 0= IF DROP EXIT THEN                \ don't nest files if disabled
343.    COUNT BL SKIP  2DUP R/O OPEN-FILE            \ can the file be opened?
344.    IF   DROP 2DROP                              \ no
345.    ELSE CLOSE-FILE DROP                         \ yes
346.         fn COUNT fn1 PLACE  fn PLACE 1 nufile !
347.    THEN ;
283.  
284. : incfile ( a len -- a' len' )                  \ include a file
348.  
349. : incfile ( a len -- a' len' )                  \ include a file
285.    genHTML skipw PAD _incfil ;
350.    genHTML skipw token _incfil ;
286.  
287. : "incfil ( a len -- a' len' )                  \ include file from S" filename"
351.  
352. : "incfil ( a len -- a' len' )                  \ include file from S" filename"
288.    skipw pstr _incfil ;
353.    skipw "str" _incfil ;
289.  
354.  
290. : hfill  ( -- len )                             \ read next line of file
291.    inbuf 256 inf READ-LINE ABORT" Error reading file"
355. : hfill  ( -- len ior )                         \ read next line of file
356.    inbuf 256 BL FILL
357.    XPAD 256 inf READ-LINE ABORT" Error reading file"
358.    >R >R 0 XPAD R> BOUNDS                       ( idx . . )
359.    ?DO  I C@ 9 = IF 3 RSHIFT 1+ 3 LSHIFT        \ tab
360.         ELSE I C@ OVER 255 AND CHARS inbuf + C!
361.            1+ DUP 256 = IF CR ." Input line too long" THEN
362.         THEN
363.    LOOP R>
292.    1 linenum +! ;
293.  
294. : open  ( -- ) cr ." Reading " fn COUNT type ."  at line " linenum @ .
364.    1 linenum +! ;
365.  
366. : open  ( -- ) cr ." Reading " fn COUNT type ."  at line " linenum @ .
295.    1 linenum !
367.    0 linenum !
296.    fn COUNT R/O OPEN-FILE ABORT" Error opening source file" to inf ;
297.  
298. : close  ( -- ) cr ." closing " fn COUNT type
299.    inf CLOSE-FILE ABORT" Error closing file" ;
300.  
368.    fn COUNT R/O OPEN-FILE ABORT" Error opening source file" to inf ;
369.  
370. : close  ( -- ) cr ." closing " fn COUNT type
371.    inf CLOSE-FILE ABORT" Error closing file" ;
372.  
 
373. : .title ( addr len -- )                        \ output as title string
374.    BOUNDS ?DO I C@ BL = IF S" %20" out ELSE I 1 out THEN LOOP ;
375.  
301. : oopen  ( -- )
302.    ofn W/O CREATE-FILE ABORT" Error creating file" to outf
303.    begin_header boiler                          \ begin boilerplate
376. : oopen  ( -- )
377.    ofn W/O CREATE-FILE ABORT" Error creating file" to outf
378.    begin_header boiler                          \ begin boilerplate
304.    fn COUNT outln  mid_header boiler            \ title and end boilerplate
379.    fn COUNT .title  mid_header boiler           \ title and end boilerplate
380.    bold IF S" <b>" out THEN
305.    fn COUNT header ;
306.  
307. : HTML  ( <infile> -- )
381.    fn COUNT header ;
382.  
383. : HTML  ( <infile> -- )
 
384.    S" /basic-links/" hyperlinks SEARCH-WORDLIST
385.    IF   EXECUTE  THEN                           \ remove user hyperlinks
386.    GET-CURRENT >R hyperlinks SET-CURRENT        \ replace the fence
387.    S" MARKER /basic-links/" EVALUATE
388.    R> SET-CURRENT
308.    0 TO screen-only  0 nufile !  1 linenum !    \ force usage of file
309.    BL WORD COUNT fn PLACE open oopen            \ open input and output files
310.    -1 DUP >R outf >R                            \ file nest uses stacks
311.    hstate=0
312.    BEGIN
313.       BEGIN 0 special !                         \ process line
314.          nufile @                               \ nest a file?
315.          IF   inf outf
316.               open oopen  outf >R               \ open new files
317.               0 nufile !
318.          THEN hfill
319.       WHILE inbuf SWAP hint
320.       REPEAT DROP
321.       close fn1 COUNT fn PLACE                  \ restore file name
322.       DUP -1 <>
323.       IF   TO outf TO inf FALSE                 \ unnest files
324.       ELSE TRUE
325.       THEN
326.    UNTIL DROP
327.    BEGIN R> DUP -1 <>                           \ close all output files
389.    0 TO screen-only  0 nufile !  1 linenum !    \ force usage of file
390.    BL WORD COUNT fn PLACE open oopen            \ open input and output files
391.    -1 DUP >R outf >R                            \ file nest uses stacks
392.    hstate=0
393.    BEGIN
394.       BEGIN 0 special !                         \ process line
395.          nufile @                               \ nest a file?
396.          IF   inf outf
397.               open oopen  outf >R               \ open new files
398.               0 nufile !
399.          THEN hfill
400.       WHILE inbuf SWAP hint
401.       REPEAT DROP
402.       close fn1 COUNT fn PLACE                  \ restore file name
403.       DUP -1 <>
404.       IF   TO outf TO inf FALSE                 \ unnest files
405.       ELSE TRUE
406.       THEN
407.    UNTIL DROP
408.    BEGIN R> DUP -1 <>                           \ close all output files
328.    WHILE end_header boiler                      \ finish up HTML
409.    WHILE bold IF S" </b>" out THEN
410.       end_header boiler                         \ finish up HTML
329.       close-file ABORT" Error closing file"
330.    REPEAT DROP ;
331.  
332. : q  ( -- ) 1 TO screen-only                    \ single line test
333.    -1 word count inbuf place inbuf count hint ;
334.  
335. \ 0 [IF] is often used as a comment. If it is used as a comment, scan the file
336. \ for a [THEN]. [THEN] must be on the next line or beyond.
337.  
338. : upp ( an--) BOUNDS ?DO I C@ [CHAR] a > IF I C@ 32 - I C! THEN LOOP \ uppercase
339. ;
340.  
411.       close-file ABORT" Error closing file"
412.    REPEAT DROP ;
413.  
414. : q  ( -- ) 1 TO screen-only                    \ single line test
415.    -1 word count inbuf place inbuf count hint ;
416.  
417. \ 0 [IF] is often used as a comment. If it is used as a comment, scan the file
418. \ for a [THEN]. [THEN] must be on the next line or beyond.
419.  
420. : upp ( an--) BOUNDS ?DO I C@ [CHAR] a > IF I C@ 32 - I C! THEN LOOP \ uppercase
421. ;
422.  
341. : bigif  ( a len -- a len )  special @ 1 =
342.    IF    genHTML commentary setcolor outh       \ finish up this line
343.       BEGIN hfill      S"  " outln
423. CREATE terminator 16 CHARS ALLOT                \ multiline comment terminator
424.  
425. : multicomment ( a len searchstring -- a' len' )
426.    terminator PLACE
427.    genHTML commentary setcolor ital( outh       \ finish up this line
428.    BEGIN hfill      S" <br />" outln
344.       WHILE >R inbuf EPAD R@ MOVE
345.          EPAD R@ upp                            \ uppercase for search
429.       WHILE >R inbuf EPAD R@ MOVE
430.          EPAD R@ upp                            \ uppercase for search
346.          EPAD R@ S" [THEN]" SEARCH
347.          IF   DROP EPAD - inbuf OVER PAD PLACE  \ before [THEN] is comment
431.       EPAD R@ terminator COUNT SEARCH
432.       IF   DROP EPAD - inbuf OVER token PLACE   \ before [THEN] is comment
348.               genHTML
433.               genHTML
349.               inbuf R> ROT /STRING EXIT
434.            inbuf R> ROT /STRING
435.            )ital closefont EXIT
350.          ELSE 2DROP inbuf R> outh               \ whole line is comment
351.          THEN
436.          ELSE 2DROP inbuf R> outh               \ whole line is comment
437.          THEN
352.       REPEAT DROP -1 ABORT" Missing [THEN]"
353.    THEN ;
438.    REPEAT inbuf SWAP )ital closefont ;          \ EOF found
354.  
439.  
355. : _local  ( a len -- a len )                    \ define locals to |
356.    genHTML
357.    S" MARKER L#O#C#A#L" EVALUATE                \ start a list of locals
358.    BEGIN
359.       BEGIN 2DUP BL hparse 2DROP
360.             PAD COUNT BL SKIP  DUP              \ inputstring wordstring .
361.       WHILE S" |" COMPARE  0 PAD !
362.          IF   defval
363.          ELSE local_ws EXIT
364.          THEN
365.       REPEAT 2DROP 2DROP
366.       hfill 0= ABORT" Missing | in locals list"
367.       inbuf SWAP  S"  " outln
368.    AGAIN ;
440. : bigif  ( a len -- a len )  special @ 1 =
441.    IF S" [THEN]" multicomment THEN ;
369.  
370. \ =============================================================================
371.  
372. : _DEFINITIONS DEFINITIONS ;
442.  
443. \ =============================================================================
444.  
445. : _DEFINITIONS DEFINITIONS ;
 
446. : _order order ;  : _words words ; : _see see ;
373.  
374. hyperlinks SET-CURRENT
375. \ The following words are not in the ANS standard but are very common.
447.  
448. hyperlinks SET-CURRENT
449. \ The following words are not in the ANS standard but are very common.
376. : L#O#C#A#L ;
 
377. : VOCABULARY    defusr ;
378. : DEFER         defusr ;
379. : INCLUDE       hstate @ 0= IF incfile THEN ;
380. : FLOAD         hstate @ 0= IF incfile THEN ;
381. : BINARY        2 BASE ! ;
382. : OCTAL         8 BASE ! ;
383. : 0             numeric spec=zero ;
384. : 1             numeric  ;
385. : -1            numeric  ;
450. : VOCABULARY    defusr ;
451. : DEFER         defusr ;
452. : INCLUDE       hstate @ 0= IF incfile THEN ;
453. : FLOAD         hstate @ 0= IF incfile THEN ;
454. : BINARY        2 BASE ! ;
455. : OCTAL         8 BASE ! ;
456. : 0             numeric spec=zero ;
457. : 1             numeric  ;
458. : -1            numeric  ;
 
459. : COMMENT:      S" COMMENT;" multicomment ;
460. : ((            S" ))"       multicomment ;
386.  
387. \ The rest is ANS Forth standard
388.  
461.  
462. \ The rest is ANS Forth standard
463.  
389. : \             commentary genHTML PAD PLACE  PAD 0 ;
464. : \             commentary genHTML ital( token PLACE genHTML )ital token 0 ;
465.  
466. (   NAME                ACTION  COLOR           FILENAME        REFERENCE )
467. (   ------------------  ------  --------------  -----------     --------- )
468. std !                   NOOP    core_ws         dpans6.htm      6.1.0010
469. std #                   NOOP    core_ws         dpans6.htm      6.1.0030
470. std #>                  NOOP    core_ws         dpans6.htm      6.1.0040
471. std #S                  NOOP    core_ws         dpans6.htm      6.1.0050
472. std '                   NOOP    core_ws         dpans6.htm      6.1.0070
473. std (                   skip)   commentary      dpans6.htm      6.1.0080
474. std *                   NOOP    core_ws         dpans6.htm      6.1.0090
475. std */                  NOOP    core_ws         dpans6.htm      6.1.0100
476. std */MOD               NOOP    core_ws         dpans6.htm      6.1.0110
477. std +                   NOOP    core_ws         dpans6.htm      6.1.0120
478. std +!                  NOOP    core_ws         dpans6.htm      6.1.0130
479. std +LOOP               NOOP    core_ws         dpans6.htm      6.1.0140
480. std ,                   NOOP    core_ws         dpans6.htm      6.1.0150
481. std -                   NOOP    core_ws         dpans6.htm      6.1.0160
482. std .                   NOOP    core_ws         dpans6.htm      6.1.0180
483. std ."                  skip"   numeric         dpans6.htm      6.1.0190
484. std /                   NOOP    core_ws         dpans6.htm      6.1.0230
485. std /MOD                NOOP    core_ws         dpans6.htm      6.1.0240
486. std 0<                  NOOP    core_ws         dpans6.htm      6.1.0250
487. std 0=                  NOOP    core_ws         dpans6.htm      6.1.0270
488. std 1+                  NOOP    core_ws         dpans6.htm      6.1.0290
489. std 1-                  NOOP    core_ws         dpans6.htm      6.1.0300
490. std 2!                  NOOP    core_ws         dpans6.htm      6.1.0310
491. std 2*                  NOOP    core_ws         dpans6.htm      6.1.0320
492. std 2/                  NOOP    core_ws         dpans6.htm      6.1.0330
493. std 2@                  NOOP    core_ws         dpans6.htm      6.1.0350
494. std 2DROP               NOOP    core_ws         dpans6.htm      6.1.0370
495. std 2DUP                NOOP    core_ws         dpans6.htm      6.1.0380
496. std 2OVER               NOOP    core_ws         dpans6.htm      6.1.0400
497. std 2SWAP               NOOP    core_ws         dpans6.htm      6.1.0430
498. std :                   defunk  core_ws         dpans6.htm      6.1.0450
499. std ;                   resunk  core_ws         dpans6.htm      6.1.0460
500. std <                   NOOP    core_ws         dpans6.htm      6.1.0480
501. std <#                  NOOP    core_ws         dpans6.htm      6.1.0490
502. std =                   NOOP    core_ws         dpans6.htm      6.1.0530
503. std >                   NOOP    core_ws         dpans6.htm      6.1.0540
504. std >BODY               NOOP    core_ws         dpans6.htm      6.1.0550
505. std >IN                 NOOP    core_ws         dpans6.htm      6.1.0560
506. std >NUMBER             NOOP    core_ws         dpans6.htm      6.1.0570
507. std >R                  NOOP    core_ws         dpans6.htm      6.1.0580
508. std ?DUP                NOOP    core_ws         dpans6.htm      6.1.0630
509. std @                   NOOP    core_ws         dpans6.htm      6.1.0650
510. std ABORT               NOOP    core_ws         dpans6.htm      6.1.0670
511. std ABORT"              skip"   numeric         dpans6.htm      6.1.0680
512. std ABS                 NOOP    core_ws         dpans6.htm      6.1.0690
513. std ACCEPT              NOOP    core_ws         dpans6.htm      6.1.0695
514. std ALIGN               NOOP    core_ws         dpans6.htm      6.1.0705
515. std ALIGNED             NOOP    core_ws         dpans6.htm      6.1.0706
516. std ALLOT               NOOP    core_ws         dpans6.htm      6.1.0710
517. std AND                 NOOP    core_ws         dpans6.htm      6.1.0720
518. std BASE                NOOP    core_ws         dpans6.htm      6.1.0750
519. std BEGIN               NOOP    core_ws         dpans6.htm      6.1.0760
520. std BL                  NOOP    numeric         dpans6.htm      6.1.0770
521. std C!                  NOOP    core_ws         dpans6.htm      6.1.0850
522. std C,                  NOOP    core_ws         dpans6.htm      6.1.0860
523. std C@                  NOOP    core_ws         dpans6.htm      6.1.0870
524. std CELL+               NOOP    core_ws         dpans6.htm      6.1.0880
525. std CELLS               NOOP    core_ws         dpans6.htm      6.1.0890
526. std CHAR                skipc   core_ws         dpans6.htm      6.1.0895
527. std CHAR+               NOOP    core_ws         dpans6.htm      6.1.0897
528. std CHARS               NOOP    core_ws         dpans6.htm      6.1.0898
529. std CONSTANT            defdat  core_ws         dpans6.htm      6.1.0950
530. std COUNT               NOOP    core_ws         dpans6.htm      6.1.0980
531. std CR                  NOOP    core_ws         dpans6.htm      6.1.0990
532. std CREATE              created core_ws         dpans6.htm      6.1.1000
533. std DECIMAL             DECIMAL core_ws         dpans6.htm      6.1.1170
534. std DEPTH               NOOP    core_ws         dpans6.htm      6.1.1200
535. std DO                  NOOP    core_ws         dpans6.htm      6.1.1240
536. std DOES>               NOOP    core_ws         dpans6.htm      6.1.1250
537. std DROP                NOOP    core_ws         dpans6.htm      6.1.1260
538. std DUP                 NOOP    core_ws         dpans6.htm      6.1.1290
539. std ELSE                NOOP    core_ws         dpans6.htm      6.1.1310
540. std EMIT                NOOP    core_ws         dpans6.htm      6.1.1320
541. std ENVIRONMENT?        NOOP    core_ws         dpans6.htm      6.1.1345
542. std EVALUATE            NOOP    core_ws         dpans6.htm      6.1.1360
543. std EXECUTE             NOOP    core_ws         dpans6.htm      6.1.1370
544. std EXIT                NOOP    core_ws         dpans6.htm      6.1.1380
545. std FILL                NOOP    core_ws         dpans6.htm      6.1.1540
546. std FIND                NOOP    core_ws         dpans6.htm      6.1.1550
547. std FM/MOD              NOOP    core_ws         dpans6.htm      6.1.1561
548. std HERE                NOOP    core_ws         dpans6.htm      6.1.1650
549. std HOLD                NOOP    core_ws         dpans6.htm      6.1.1670
550. std I                   NOOP    core_ws         dpans6.htm      6.1.1680
551. std IF                  NOOP    core_ws         dpans6.htm      6.1.1700
552. std IMMEDIATE           NOOP    core_ws         dpans6.htm      6.1.1710
553. std INVERT              NOOP    core_ws         dpans6.htm      6.1.1720
554. std J                   NOOP    core_ws         dpans6.htm      6.1.1730
555. std KEY                 NOOP    core_ws         dpans6.htm      6.1.1750
556. std LEAVE               NOOP    core_ws         dpans6.htm      6.1.1760
557. std LITERAL             NOOP    core_ws         dpans6.htm      6.1.1780
558. std LOOP                NOOP    core_ws         dpans6.htm      6.1.1800
559. std LSHIFT              NOOP    core_ws         dpans6.htm      6.1.1805
560. std M*                  NOOP    core_ws         dpans6.htm      6.1.1810
561. std MAX                 NOOP    core_ws         dpans6.htm      6.1.1870
562. std MIN                 NOOP    core_ws         dpans6.htm      6.1.1880
563. std MOD                 NOOP    core_ws         dpans6.htm      6.1.1890
564. std MOVE                NOOP    core_ws         dpans6.htm      6.1.1900
565. std NEGATE              NOOP    core_ws         dpans6.htm      6.1.1910
566. std OR                  NOOP    core_ws         dpans6.htm      6.1.1980
567. std OVER                NOOP    core_ws         dpans6.htm      6.1.1990
568. std POSTPONE            NOOP    core_ws         dpans6.htm      6.1.2033
569. std QUIT                NOOP    core_ws         dpans6.htm      6.1.2050
570. std R>                  NOOP    core_ws         dpans6.htm      6.1.2060
571. std R@                  NOOP    core_ws         dpans6.htm      6.1.2070
572. std RECURSE             NOOP    core_ws         dpans6.htm      6.1.2120
573. std REPEAT              NOOP    core_ws         dpans6.htm      6.1.2140
574. std ROT                 NOOP    core_ws         dpans6.htm      6.1.2160
575. std RSHIFT              NOOP    core_ws         dpans6.htm      6.1.2162
576. std S"                  skip"   numeric         dpans6.htm      6.1.2165
577. std S>D                 NOOP    core_ws         dpans6.htm      6.1.2170
578. std SIGN                NOOP    core_ws         dpans6.htm      6.1.2210
579. std SM/REM              NOOP    core_ws         dpans6.htm      6.1.2214
580. std SOURCE              NOOP    core_ws         dpans6.htm      6.1.2216
581. std SPACE               NOOP    core_ws         dpans6.htm      6.1.2220
582. std SPACES              NOOP    core_ws         dpans6.htm      6.1.2230
583. std STATE               NOOP    core_ws         dpans6.htm      6.1.2250
584. std SWAP                NOOP    core_ws         dpans6.htm      6.1.2260
585. std THEN                NOOP    core_ws         dpans6.htm      6.1.2270
586. std TYPE                NOOP    core_ws         dpans6.htm      6.1.2310
587. std U.                  NOOP    core_ws         dpans6.htm      6.1.2320
588. std U<                  NOOP    core_ws         dpans6.htm      6.1.2340
589. std UM*                 NOOP    core_ws         dpans6.htm      6.1.2360
590. std UM/MOD              NOOP    core_ws         dpans6.htm      6.1.2370
591. std UNLOOP              NOOP    core_ws         dpans6.htm      6.1.2380
592. std UNTIL               NOOP    core_ws         dpans6.htm      6.1.2390
593. std VARIABLE            defvar  core_ws         dpans6.htm      6.1.2410
594. std WHILE               NOOP    core_ws         dpans6.htm      6.1.2430
595. std WORD                NOOP    core_ws         dpans6.htm      6.1.2450
596. std XOR                 NOOP    core_ws         dpans6.htm      6.1.2490
597. std [                  hstate=0 core_ws         dpans6.htm      6.1.2500
598. std [']                 skipw   numeric         dpans6.htm      6.1.2510
599. std [CHAR]              skipw   numeric         dpans6.htm      6.1.2520
600. std ]                  hstate=1 core_ws         dpans6.htm      6.1.2540
601. std #TIB                NOOP    core_ext_ws     dpans6.htm      6.2.0060
602. std .(                  skip)   commentary      dpans6.htm      6.2.0200
603. std .R                  NOOP    core_ext_ws     dpans6.htm      6.2.0210
604. std 0<>                 NOOP    core_ext_ws     dpans6.htm      6.2.0260
605. std 0>                  NOOP    core_ext_ws     dpans6.htm      6.2.0280
606. std 2>R                 NOOP    core_ext_ws     dpans6.htm      6.2.0340
607. std 2R>                 NOOP    core_ext_ws     dpans6.htm      6.2.0410
608. std 2R@                 NOOP    core_ext_ws     dpans6.htm      6.2.0415
609. std :NONAME             NOOP    core_ext_ws     dpans6.htm      6.2.0455
610. std <>                  NOOP    core_ext_ws     dpans6.htm      6.2.0500
611. std ?DO                 NOOP    core_ext_ws     dpans6.htm      6.2.0620
612. std AGAIN               NOOP    core_ext_ws     dpans6.htm      6.2.0700
613. std C"                  skip"   numeric         dpans6.htm      6.2.0855
614. std CASE                NOOP    core_ext_ws     dpans6.htm      6.2.0873
615. std COMPILE,            NOOP    core_ext_ws     dpans6.htm      6.2.0945
616. std CONVERT             NOOP    core_ext_ws     dpans6.htm      6.2.0970
617. std ENDCASE             NOOP    core_ext_ws     dpans6.htm      6.2.1342
618. std ENDOF               NOOP    core_ext_ws     dpans6.htm      6.2.1343
619. std ERASE               NOOP    core_ext_ws     dpans6.htm      6.2.1350
620. std EXPECT              NOOP    core_ext_ws     dpans6.htm      6.2.1390
621. std FALSE             spec=zero numeric         dpans6.htm      6.2.1485
622. std HEX                 HEX     core_ext_ws     dpans6.htm      6.2.1660
623. std MARKER              defusr  core_ext_ws     dpans6.htm      6.2.1850
624. std NIP                 NOOP    core_ext_ws     dpans6.htm      6.2.1930
625. std OF                  NOOP    core_ext_ws     dpans6.htm      6.2.1950
626. std PAD                 NOOP    core_ext_ws     dpans6.htm      6.2.2000
627. std PARSE               NOOP    core_ext_ws     dpans6.htm      6.2.2008
628. std PICK                NOOP    core_ext_ws     dpans6.htm      6.2.2030
629. std QUERY               NOOP    core_ext_ws     dpans6.htm      6.2.2040
630. std REFILL              NOOP    core_ext_ws     dpans6.htm      6.2.2125
631. std RESTORE-INPUT       NOOP    core_ext_ws     dpans6.htm      6.2.2148
632. std ROLL                NOOP    core_ext_ws     dpans6.htm      6.2.2150
633. std SAVE-INPUT          NOOP    core_ext_ws     dpans6.htm      6.2.2182
634. std SOURCE-ID           NOOP    core_ext_ws     dpans6.htm      6.2.2218
635. std SPAN                NOOP    core_ext_ws     dpans6.htm      6.2.2240
636. std TIB                 NOOP    core_ext_ws     dpans6.htm      6.2.2290
637. std TO                  NOOP    core_ext_ws     dpans6.htm      6.2.2295
638. std TRUE                NOOP    numeric         dpans6.htm      6.2.2298
639. std TUCK                NOOP    core_ext_ws     dpans6.htm      6.2.2300
640. std U.R                 NOOP    core_ext_ws     dpans6.htm      6.2.2330
641. std U>                  NOOP    core_ext_ws     dpans6.htm      6.2.2350
642. std UNUSED              NOOP    core_ext_ws     dpans6.htm      6.2.2395
643. std VALUE               defval  core_ext_ws     dpans6.htm      6.2.2405
644. std WITHIN              NOOP    core_ext_ws     dpans6.htm      6.2.2440
645. std [COMPILE]           NOOP    core_ext_ws     dpans6.htm      6.2.2530
646. std BLK                 NOOP    block_ws        dpans7.htm      7.6.1.0790
647. std BLOCK               NOOP    block_ws        dpans7.htm      7.6.1.0800
648. std BUFFER              NOOP    block_ws        dpans7.htm      7.6.1.0820
649. std FLUSH               NOOP    block_ws        dpans7.htm      7.6.1.1559
650. std LOAD                NOOP    block_ws        dpans7.htm      7.6.1.1790
651. std SAVE-BUFFERS        NOOP    block_ws        dpans7.htm      7.6.1.2180
652. std UPDATE              NOOP    block_ws        dpans7.htm      7.6.1.2400
653. std EMPTY-BUFFERS       NOOP    block_ws        dpans7.htm      7.6.2.1330
654. std LIST                NOOP    block_ws        dpans7.htm      7.6.2.1770
655. std SCR                 NOOP    block_ws        dpans7.htm      7.6.2.2190
656. std THRU                NOOP    block_ws        dpans7.htm      7.6.2.2280
657. std 2CONSTANT           defdat  double_ws       dpans8.htm      8.6.1.0360
658. std 2LITERAL            NOOP    double_ws       dpans8.htm      8.6.1.0390
659. std 2VARIABLE           defvar  double_ws       dpans8.htm      8.6.1.0440
660. std D+                  NOOP    double_ws       dpans8.htm      8.6.1.1040
661. std D-                  NOOP    double_ws       dpans8.htm      8.6.1.1050
662. std D.                  NOOP    double_ws       dpans8.htm      8.6.1.1060
663. std D.R                 NOOP    double_ws       dpans8.htm      8.6.1.1070
664. std D0<                 NOOP    double_ws       dpans8.htm      8.6.1.1075
665. std D0=                 NOOP    double_ws       dpans8.htm      8.6.1.1080
666. std D2*                 NOOP    double_ws       dpans8.htm      8.6.1.1090
667. std D2/                 NOOP    double_ws       dpans8.htm      8.6.1.1100
668. std D<                  NOOP    double_ws       dpans8.htm      8.6.1.1110
669. std D=                  NOOP    double_ws       dpans8.htm      8.6.1.1120
670. std D>S                 NOOP    double_ws       dpans8.htm      8.6.1.1140
671. std DABS                NOOP    double_ws       dpans8.htm      8.6.1.1160
672. std DMAX                NOOP    double_ws       dpans8.htm      8.6.1.1210
673. std DMIN                NOOP    double_ws       dpans8.htm      8.6.1.1220
674. std DNEGATE             NOOP    double_ws       dpans8.htm      8.6.1.1230
675. std M*/                 NOOP    double_ws       dpans8.htm      8.6.1.1820
676. std M+                  NOOP    double_ws       dpans8.htm      8.6.1.1830
677. std 2ROT                NOOP    double_ws       dpans8.htm      8.6.2.0420
678. std DU<                 NOOP    double_ws       dpans8.htm      8.6.2.1270
679. std CATCH               NOOP    exception_ws    dpans9.htm      9.6.1.0875
680. std THROW               NOOP    exception_ws    dpans9.htm      9.6.1.2275
681. std AT-XY               NOOP    facilities_ws   dpans10.htm     10.6.1.0742
682. std KEY?                NOOP    facilities_ws   dpans10.htm     10.6.1.1755
683. std PAGE                NOOP    facilities_ws   dpans10.htm     10.6.1.2005
684. std EKEY                NOOP    facilities_ws   dpans10.htm     10.6.2.1305
685. std EKEY<CHAR           NOOP    facilities_ws   dpans10.htm     10.6.2.1306
686. std EKEY?               NOOP    facilities_ws   dpans10.htm     10.6.2.1307
687. std EMIT?               NOOP    facilities_ws   dpans10.htm     10.6.2.1325
688. std MS                  NOOP    facilities_ws   dpans10.htm     10.6.2.1905
689. std TIME&DATE           NOOP    facilities_ws   dpans10.htm     10.6.2.2292
690. std BIN                 NOOP    file_ws         dpans11.htm     11.6.1.0765
691. std CLOSE-FILE          NOOP    file_ws         dpans11.htm     11.6.1.0900
692. std CREATE-FILE         NOOP    file_ws         dpans11.htm     11.6.1.1010
693. std DELETE-FILE         NOOP    file_ws         dpans11.htm     11.6.1.1190
694. std FILE-POSITION       NOOP    file_ws         dpans11.htm     11.6.1.1520
695. std FILE-SIZE           NOOP    file_ws         dpans11.htm     11.6.1.1522
696. std INCLUDE-FILE        NOOP    file_ws         dpans11.htm     11.6.1.1717
697. std INCLUDED            "incfil file_ws         dpans11.htm     11.6.1.1718
698. std OPEN-FILE           NOOP    file_ws         dpans11.htm     11.6.1.1970
699. std R/O                 NOOP    file_ws         dpans11.htm     11.6.1.2054
700. std R/W                 NOOP    file_ws         dpans11.htm     11.6.1.2056
701. std READ-FILE           NOOP    file_ws         dpans11.htm     11.6.1.2080
702. std READ-LINE           NOOP    file_ws         dpans11.htm     11.6.1.2090
703. std REPOSITION-FILE     NOOP    file_ws         dpans11.htm     11.6.1.2142
704. std RESIZE-FILE         NOOP    file_ws         dpans11.htm     11.6.1.2147
705. std W/O                 NOOP    file_ws         dpans11.htm     11.6.1.2425
706. std WRITE-FILE          NOOP    file_ws         dpans11.htm     11.6.1.2480
707. std WRITE-LINE          NOOP    file_ws         dpans11.htm     11.6.1.2485
708. std FILE-STATUS         NOOP    file_ws         dpans11.htm     11.6.2.1524
709. std FLUSH-FILE          NOOP    file_ws         dpans11.htm     11.6.2.1560
710. std RENAME-FILE         NOOP    file_ws         dpans11.htm     11.6.2.2130
711. std >FLOAT              NOOP    fp_ws           dpans12.htm     12.6.1.0558
712. std D>F                 NOOP    fp_ws           dpans12.htm     12.6.1.1130
713. std F!                  NOOP    fp_ws           dpans12.htm     12.6.1.1400
714. std F*                  NOOP    fp_ws           dpans12.htm     12.6.1.1410
715. std F+                  NOOP    fp_ws           dpans12.htm     12.6.1.1420
716. std F-                  NOOP    fp_ws           dpans12.htm     12.6.1.1425
717. std F/                  NOOP    fp_ws           dpans12.htm     12.6.1.1430
718. std F0<                 NOOP    fp_ws           dpans12.htm     12.6.1.1440
719. std F0=                 NOOP    fp_ws           dpans12.htm     12.6.1.1450
720. std F<                  NOOP    fp_ws           dpans12.htm     12.6.1.1460
721. std F>D                 NOOP    fp_ws           dpans12.htm     12.6.1.1460
722. std F@                  NOOP    fp_ws           dpans12.htm     12.6.1.1472
723. std FALIGN              NOOP    fp_ws           dpans12.htm     12.6.1.1479
724. std FALIGNED            NOOP    fp_ws           dpans12.htm     12.6.1.1483
725. std FCONSTANT           defdat  fp_ws           dpans12.htm     12.6.1.1492
726. std FDEPTH              NOOP    fp_ws           dpans12.htm     12.6.1.1497
727. std FDROP               NOOP    fp_ws           dpans12.htm     12.6.1.1500
728. std FDUP                NOOP    fp_ws           dpans12.htm     12.6.1.1510
729. std FLITERAL            NOOP    fp_ws           dpans12.htm     12.6.1.1552
730. std FLOAT+              NOOP    fp_ws           dpans12.htm     12.6.1.1555
731. std FLOATS              NOOP    fp_ws           dpans12.htm     12.6.1.1556
732. std FLOOR               NOOP    fp_ws           dpans12.htm     12.6.1.1558
733. std FMAX                NOOP    fp_ws           dpans12.htm     12.6.1.1562
734. std FMIN                NOOP    fp_ws           dpans12.htm     12.6.1.1565
735. std FNEGATE             NOOP    fp_ws           dpans12.htm     12.6.1.1567
736. std FOVER               NOOP    fp_ws           dpans12.htm     12.6.1.1600
737. std FROT                NOOP    fp_ws           dpans12.htm     12.6.1.1610
738. std FROUND              NOOP    fp_ws           dpans12.htm     12.6.1.1612
739. std FSWAP               NOOP    fp_ws           dpans12.htm     12.6.1.1620
740. std FVARIABLE           defvar  fp_ws           dpans12.htm     12.6.1.1630
741. std REPRESENT           NOOP    fp_ws           dpans12.htm     12.6.1.2143
742. std DF!                 NOOP    fp_ws           dpans12.htm     12.6.2.1203
743. std DF@                 NOOP    fp_ws           dpans12.htm     12.6.2.1204
744. std DFALIGN             NOOP    fp_ws           dpans12.htm     12.6.2.1205
745. std DFALIGNED           NOOP    fp_ws           dpans12.htm     12.6.2.1207
746. std DFLOAT+             NOOP    fp_ws           dpans12.htm     12.6.2.1208
747. std DFLOATS             NOOP    fp_ws           dpans12.htm     12.6.2.1209
748. std F**                 NOOP    fp_ws           dpans12.htm     12.6.2.1415
749. std F.                  NOOP    fp_ws           dpans12.htm     12.6.2.1427
750. std FABS                NOOP    fp_ws           dpans12.htm     12.6.2.1474
751. std FACOS               NOOP    fp_ws           dpans12.htm     12.6.2.1476
752. std FACOSH              NOOP    fp_ws           dpans12.htm     12.6.2.1477
753. std FALOG               NOOP    fp_ws           dpans12.htm     12.6.2.1484
754. std FASIN               NOOP    fp_ws           dpans12.htm     12.6.2.1486
755. std FASINH              NOOP    fp_ws           dpans12.htm     12.6.2.1487
756. std FATAN               NOOP    fp_ws           dpans12.htm     12.6.2.1488
757. std FATAN2              NOOP    fp_ws           dpans12.htm     12.6.2.1489
758. std FATANH              NOOP    fp_ws           dpans12.htm     12.6.2.1491
759. std FCOS                NOOP    fp_ws           dpans12.htm     12.6.2.1493
760. std FCOSH               NOOP    fp_ws           dpans12.htm     12.6.2.1494
761. std FE.                 NOOP    fp_ws           dpans12.htm     12.6.2.1513
762. std FEXP                NOOP    fp_ws           dpans12.htm     12.6.2.1515
763. std FEXPM1              NOOP    fp_ws           dpans12.htm     12.6.2.1516
764. std FLN                 NOOP    fp_ws           dpans12.htm     12.6.2.1553
765. std FLNP1               NOOP    fp_ws           dpans12.htm     12.6.2.1554
766. std FLOG                NOOP    fp_ws           dpans12.htm     12.6.2.1557
767. std FS.                 NOOP    fp_ws           dpans12.htm     12.6.2.1613
768. std FSIN                NOOP    fp_ws           dpans12.htm     12.6.2.1614
769. std FSINCOS             NOOP    fp_ws           dpans12.htm     12.6.2.1616
770. std FSINH               NOOP    fp_ws           dpans12.htm     12.6.2.1617
771. std FSQRT               NOOP    fp_ws           dpans12.htm     12.6.2.1618
772. std FTAN                NOOP    fp_ws           dpans12.htm     12.6.2.1625
773. std FTANH               NOOP    fp_ws           dpans12.htm     12.6.2.1626
774. std F~                  NOOP    fp_ws           dpans12.htm     12.6.2.1640
775. std PRECISION           NOOP    fp_ws           dpans12.htm     12.6.2.2035
776. std SET-PRECISION       NOOP    fp_ws           dpans12.htm     12.6.2.2200
777. std SF!                 NOOP    fp_ws           dpans12.htm     12.6.2.2202
778. std SF@                 NOOP    fp_ws           dpans12.htm     12.6.2.2203
779. std SFALIGN             NOOP    fp_ws           dpans12.htm     12.6.2.2204
780. std SFALIGNED           NOOP    fp_ws           dpans12.htm     12.6.2.2206
781. std SFLOAT+             NOOP    fp_ws           dpans12.htm     12.6.2.2207
782. std SFLOATS             NOOP    fp_ws           dpans12.htm     12.6.2.2208
783. std (LOCAL)             NOOP    local_ws        dpans13.htm     13.6.1.0086
784. std LOCALS|             NOOP    local_ws        dpans13.htm     13.6.2.1795
785. std ALLOCATE            NOOP    malloc_ws       dpans14.htm     14.6.1.0707
786. std FREE                NOOP    malloc_ws       dpans14.htm     14.6.1.1605
787. std RESIZE              NOOP    malloc_ws       dpans14.htm     14.6.1.2145
788. std .S                  NOOP    progtools_ws    dpans15.htm     15.6.1.0220
789. std ?                   NOOP    progtools_ws    dpans15.htm     15.6.1.0600
790. std DUMP                NOOP    progtools_ws    dpans15.htm     15.6.1.1280
791. std SEE                 NOOP    progtools_ws    dpans15.htm     15.6.1.2194
792. std WORDS               NOOP    progtools_ws    dpans15.htm     15.6.1.2465
793. std ;CODE               resunk  progtools_ws    dpans15.htm     15.6.2.0470
794. std AHEAD               NOOP    progtools_ws    dpans15.htm     15.6.2.0702
795. std ASSEMBLER           NOOP    progtools_ws    dpans15.htm     15.6.2.0740
796. std BYE                 NOOP    progtools_ws    dpans15.htm     15.6.2.0830
797. std CODE                defusr  progtools_ws    dpans15.htm     15.6.2.0930
798. std CS-PICK             NOOP    progtools_ws    dpans15.htm     15.6.2.1015
799. std CS-ROLL             NOOP    progtools_ws    dpans15.htm     15.6.2.1020
800. std EDITOR              NOOP    progtools_ws    dpans15.htm     15.6.2.1300
801. std FORGET              NOOP    progtools_ws    dpans15.htm     15.6.2.1580
802. std [ELSE]              NOOP    progtools_ws    dpans15.htm     15.6.2.2531
803. std [IF]                bigif   progtools_ws    dpans15.htm     15.6.2.2532
804. std [THEN]              NOOP    progtools_ws    dpans15.htm     15.6.2.2533
805. std DEFINITIONS         NOOP    searchord_ws    dpans16.htm     16.6.1.1180
806. std FORTH-WORDLIST      NOOP    searchord_ws    dpans16.htm     16.6.1.1595
807. std GET-CURRENT         NOOP    searchord_ws    dpans16.htm     16.6.1.1643
808. std GET-ORDER           NOOP    searchord_ws    dpans16.htm     16.6.1.1647
809. std SEARCH-WORDLIST     NOOP    searchord_ws    dpans16.htm     16.6.1.2192
810. std SET-CURRENT         NOOP    searchord_ws    dpans16.htm     16.6.1.2195
811. std SET-ORDER           NOOP    searchord_ws    dpans16.htm     16.6.1.2197
812. std WORDLIST            NOOP    searchord_ws    dpans16.htm     16.6.1.2460
813. std ALSO                NOOP    searchord_ws    dpans16.htm     16.6.2.0715
814. std FORTH               NOOP    searchord_ws    dpans16.htm     16.6.2.1590
815. std ONLY                NOOP    searchord_ws    dpans16.htm     16.6.2.1965
816. std ORDER               NOOP    searchord_ws    dpans16.htm     16.6.2.1985
817. std PREVIOUS            NOOP    searchord_ws    dpans16.htm     16.6.2.2037
818. std -TRAILING           NOOP    string_ws       dpans17.htm     17.6.1.0170
819. std /STRING             NOOP    string_ws       dpans17.htm     17.6.1.0245
820. std BLANK               NOOP    string_ws       dpans17.htm     17.6.1.0780
821. std CMOVE               NOOP    string_ws       dpans17.htm     17.6.1.0910
822. std CMOVE>              NOOP    string_ws       dpans17.htm     17.6.1.0920
823. std COMPARE             NOOP    string_ws       dpans17.htm     17.6.1.0935
824. std SEARCH              NOOP    string_ws       dpans17.htm     17.6.1.2191
825. std SLITERAL            NOOP    string_ws       dpans17.htm     17.6.1.2212
390.  
826.  
391. (   NAME                ACTION  COLOR           REFERENCE   )
392. (   ------------------  ------  --------------  ----------- )
393. std !                   NOOP    core_ws         6.1.0010
394. std #                   NOOP    core_ws         6.1.0030
395. std #>                  NOOP    core_ws         6.1.0040
396. std #S                  NOOP    core_ws         6.1.0050
397. std '                   NOOP    core_ws         6.1.0070
398. std (                   skip)   commentary      6.1.0080
399. std *                   NOOP    core_ws         6.1.0090
400. std */                  NOOP    core_ws         6.1.0100
401. std */MOD               NOOP    core_ws         6.1.0110
402. std +                   NOOP    core_ws         6.1.0120
403. std +!                  NOOP    core_ws         6.1.0130
404. std +LOOP               NOOP    core_ws         6.1.0140
405. std ,                   NOOP    core_ws         6.1.0150
406. std -                   NOOP    core_ws         6.1.0160
407. std .                   NOOP    core_ws         6.1.0180
408. std ."                  skip"   numeric         6.1.0190
409. std /                   NOOP    core_ws         6.1.0230
410. std /MOD                NOOP    core_ws         6.1.0240
411. std 0<                  NOOP    core_ws         6.1.0250
412. std 0=                  NOOP    core_ws         6.1.0270
413. std 1+                  NOOP    core_ws         6.1.0290
414. std 1-                  NOOP    core_ws         6.1.0300
415. std 2!                  NOOP    core_ws         6.1.0310
416. std 2*                  NOOP    core_ws         6.1.0320
417. std 2/                  NOOP    core_ws         6.1.0330
418. std 2@                  NOOP    core_ws         6.1.0350
419. std 2DROP               NOOP    core_ws         6.1.0370
420. std 2DUP                NOOP    core_ws         6.1.0380
421. std 2OVER               NOOP    core_ws         6.1.0400
422. std 2SWAP               NOOP    core_ws         6.1.0430
423. std :                   defunk  core_ws         6.1.0450
424. std ;                   resunk  core_ws         6.1.0460
425. std <                   NOOP    core_ws         6.1.0480
426. std <#                  NOOP    core_ws         6.1.0490
427. std =                   NOOP    core_ws         6.1.0530
428. std >                   NOOP    core_ws         6.1.0540
429. std >BODY               NOOP    core_ws         6.1.0550
430. std >IN                 NOOP    core_ws         6.1.0560
431. std >NUMBER             NOOP    core_ws         6.1.0570
432. std >R                  NOOP    core_ws         6.1.0580
433. std ?DUP                NOOP    core_ws         6.1.0630
434. std @                   NOOP    core_ws         6.1.0650
435. std ABORT               NOOP    core_ws         6.1.0670
436. std ABORT"              skip"   numeric         6.1.0680
437. std ABS                 NOOP    core_ws         6.1.0690
438. std ACCEPT              NOOP    core_ws         6.1.0695
439. std ALIGN               NOOP    core_ws         6.1.0705
440. std ALIGNED             NOOP    core_ws         6.1.0706
441. std ALLOT               NOOP    core_ws         6.1.0710
442. std AND                 NOOP    core_ws         6.1.0720
443. std BASE                NOOP    core_ws         6.1.0750
444. std BEGIN               NOOP    core_ws         6.1.0760
445. std BL                  NOOP    numeric         6.1.0770
446. std C!                  NOOP    core_ws         6.1.0850
447. std C,                  NOOP    core_ws         6.1.0860
448. std C@                  NOOP    core_ws         6.1.0870
449. std CELL+               NOOP    core_ws         6.1.0880
450. std CELLS               NOOP    core_ws         6.1.0890
451. std CHAR                skipc   core_ws         6.1.0895
452. std CHAR+               NOOP    core_ws         6.1.0897
453. std CHARS               NOOP    core_ws         6.1.0898
454. std CONSTANT            defdat  core_ws         6.1.0950
455. std COUNT               NOOP    core_ws         6.1.0980
456. std CR                  NOOP    core_ws         6.1.0990
457. std CREATE              created core_ws         6.1.1000
458. std DECIMAL             DECIMAL core_ws         6.1.1170
459. std DEPTH               NOOP    core_ws         6.1.1200
460. std DO                  NOOP    core_ws         6.1.1240
461. std DOES>               NOOP    core_ws         6.1.1250
462. std DROP                NOOP    core_ws         6.1.1260
463. std DUP                 NOOP    core_ws         6.1.1290
464. std ELSE                NOOP    core_ws         6.1.1310
465. std EMIT                NOOP    core_ws         6.1.1320
466. std ENVIRONMENT?        NOOP    core_ws         6.1.1345
467. std EVALUATE            NOOP    core_ws         6.1.1360
468. std EXECUTE             NOOP    core_ws         6.1.1370
469. std EXIT                NOOP    core_ws         6.1.1380
470. std FILL                NOOP    core_ws         6.1.1540
471. std FIND                NOOP    core_ws         6.1.1550
472. std FM/MOD              NOOP    core_ws         6.1.1561
473. std HERE                NOOP    core_ws         6.1.1650
474. std HOLD                NOOP    core_ws         6.1.1670
475. std I                   NOOP    core_ws         6.1.1680
476. std IF                  NOOP    core_ws         6.1.1700
477. std IMMEDIATE           NOOP    core_ws         6.1.1710
478. std INVERT              NOOP    core_ws         6.1.1720
479. std J                   NOOP    core_ws         6.1.1730
480. std KEY                 NOOP    core_ws         6.1.1750
481. std LEAVE               NOOP    core_ws         6.1.1760
482. std LITERAL             NOOP    core_ws         6.1.1780
483. std LOOP                NOOP    core_ws         6.1.1800
484. std LSHIFT              NOOP    core_ws         6.1.1805
485. std M*                  NOOP    core_ws         6.1.1810
486. std MAX                 NOOP    core_ws         6.1.1870
487. std MIN                 NOOP    core_ws         6.1.1880
488. std MOD                 NOOP    core_ws         6.1.1890
489. std MOVE                NOOP    core_ws         6.1.1900
490. std NEGATE              NOOP    core_ws         6.1.1910
491. std OR                  NOOP    core_ws         6.1.1980
492. std OVER                NOOP    core_ws         6.1.1990
493. std POSTPONE            NOOP    core_ws         6.1.2033
494. std QUIT                NOOP    core_ws         6.1.2050
495. std R>                  NOOP    core_ws         6.1.2060
496. std R@                  NOOP    core_ws         6.1.2070
497. std RECURSE             NOOP    core_ws         6.1.2120
498. std REPEAT              NOOP    core_ws         6.1.2140
499. std ROT                 NOOP    core_ws         6.1.2160
500. std RSHIFT              NOOP    core_ws         6.1.2162
501. std S"                  skip"   numeric         6.1.2165
502. std S>D                 NOOP    core_ws         6.1.2170
503. std SIGN                NOOP    core_ws         6.1.2210
504. std SM/REM              NOOP    core_ws         6.1.2214
505. std SOURCE              NOOP    core_ws         6.1.2216
506. std SPACE               NOOP    core_ws         6.1.2220
507. std SPACES              NOOP    core_ws         6.1.2230
508. std STATE               NOOP    core_ws         6.1.2250
509. std SWAP                NOOP    core_ws         6.1.2260
510. std THEN                NOOP    core_ws         6.1.2270
511. std TYPE                NOOP    core_ws         6.1.2310
512. std U.                  NOOP    core_ws         6.1.2320
513. std U<                  NOOP    core_ws         6.1.2340
514. std UM*                 NOOP    core_ws         6.1.2360
515. std UM/MOD              NOOP    core_ws         6.1.2370
516. std UNLOOP              NOOP    core_ws         6.1.2380
517. std UNTIL               NOOP    core_ws         6.1.2390
518. std VARIABLE            defvar  core_ws         6.1.2410
519. std WHILE               NOOP    core_ws         6.1.2430
520. std WORD                NOOP    core_ws         6.1.2450
521. std XOR                 NOOP    core_ws         6.1.2490
522. std [                  hstate=0 core_ws         6.1.2500
523. std [']                 skipw   numeric         6.1.2510
524. std [CHAR]              skipw   numeric         6.1.2520
525. std ]                  hstate=1 core_ws         6.1.2540
526. std #TIB                NOOP    core_ext_ws     6.2.0060
527. std .(                  skip)   commentary      6.2.0200
528. std .R                  NOOP    core_ext_ws     6.2.0210
529. std 0<>                 NOOP    core_ext_ws     6.2.0260
530. std 0>                  NOOP    core_ext_ws     6.2.0280
531. std 2>R                 NOOP    core_ext_ws     6.2.0340
532. std 2R>                 NOOP    core_ext_ws     6.2.0410
533. std 2R@                 NOOP    core_ext_ws     6.2.0415
534. std :NONAME             NOOP    core_ext_ws     6.2.0455
535. std <>                  NOOP    core_ext_ws     6.2.0500
536. std ?DO                 NOOP    core_ext_ws     6.2.0620
537. std AGAIN               NOOP    core_ext_ws     6.2.0700
538. std C"                  skip"   numeric         6.2.0855
539. std CASE                NOOP    core_ext_ws     6.2.0873
540. std COMPILE,            NOOP    core_ext_ws     6.2.0945
541. std CONVERT             NOOP    core_ext_ws     6.2.0970
542. std ENDCASE             NOOP    core_ext_ws     6.2.1342
543. std ENDOF               NOOP    core_ext_ws     6.2.1343
544. std ERASE               NOOP    core_ext_ws     6.2.1350
545. std EXPECT              NOOP    core_ext_ws     6.2.1390
546. std FALSE             spec=zero numeric         6.2.1485
547. std HEX                 HEX     core_ext_ws     6.2.1660
548. std MARKER              defusr  core_ext_ws     6.2.1850
549. std NIP                 NOOP    core_ext_ws     6.2.1930
550. std OF                  NOOP    core_ext_ws     6.2.1950
551. std PAD                 NOOP    core_ext_ws     6.2.2000
552. std PARSE               NOOP    core_ext_ws     6.2.2008
553. std PICK                NOOP    core_ext_ws     6.2.2030
554. std QUERY               NOOP    core_ext_ws     6.2.2040
555. std REFILL              NOOP    core_ext_ws     6.2.2125
556. std RESTORE-INPUT       NOOP    core_ext_ws     6.2.2148
557. std ROLL                NOOP    core_ext_ws     6.2.2150
558. std SAVE-INPUT          NOOP    core_ext_ws     6.2.2182
559. std SOURCE-ID           NOOP    core_ext_ws     6.2.2218
560. std SPAN                NOOP    core_ext_ws     6.2.2240
561. std TIB                 NOOP    core_ext_ws     6.2.2290
562. std TO                  NOOP    core_ext_ws     6.2.2295
563. std TRUE                NOOP    numeric         6.2.2298
564. std TUCK                NOOP    core_ext_ws     6.2.2300
565. std U.R                 NOOP    core_ext_ws     6.2.2330
566. std U>                  NOOP    core_ext_ws     6.2.2350
567. std UNUSED              NOOP    core_ext_ws     6.2.2395
568. std VALUE               defval  core_ext_ws     6.2.2405
569. std WITHIN              NOOP    core_ext_ws     6.2.2440
570. std [COMPILE]           NOOP    core_ext_ws     6.2.2530
571. std BLK                 NOOP    block_ws        7.6.1.0790
572. std BLOCK               NOOP    block_ws        7.6.1.0800
573. std BUFFER              NOOP    block_ws        7.6.1.0820
574. std FLUSH               NOOP    block_ws        7.6.1.1559
575. std LOAD                NOOP    block_ws        7.6.1.1790
576. std SAVE-BUFFERS        NOOP    block_ws        7.6.1.2180
577. std UPDATE              NOOP    block_ws        7.6.1.2400
578. std EMPTY-BUFFERS       NOOP    block_ws        7.6.2.1330
579. std LIST                NOOP    block_ws        7.6.2.1770
580. std SCR                 NOOP    block_ws        7.6.2.2190
581. std THRU                NOOP    block_ws        7.6.2.2280
582. std 2CONSTANT           defdat  double_ws       8.6.1.0360
583. std 2LITERAL            NOOP    double_ws       8.6.1.0390
584. std 2VARIABLE           defvar  double_ws       8.6.1.0440
585. std D+                  NOOP    double_ws       8.6.1.1040
586. std D-                  NOOP    double_ws       8.6.1.1050
587. std D.                  NOOP    double_ws       8.6.1.1060
588. std D.R                 NOOP    double_ws       8.6.1.1070
589. std D0<                 NOOP    double_ws       8.6.1.1075
590. std D0=                 NOOP    double_ws       8.6.1.1080
591. std D2*                 NOOP    double_ws       8.6.1.1090
592. std D2/                 NOOP    double_ws       8.6.1.1100
593. std D<                  NOOP    double_ws       8.6.1.1110
594. std D=                  NOOP    double_ws       8.6.1.1120
595. std D>S                 NOOP    double_ws       8.6.1.1140
596. std DABS                NOOP    double_ws       8.6.1.1160
597. std DMAX                NOOP    double_ws       8.6.1.1210
598. std DMIN                NOOP    double_ws       8.6.1.1220
599. std DNEGATE             NOOP    double_ws       8.6.1.1230
600. std M*/                 NOOP    double_ws       8.6.1.1820
601. std M+                  NOOP    double_ws       8.6.1.1830
602. std 2ROT                NOOP    double_ws       8.6.2.0420
603. std DU<                 NOOP    double_ws       8.6.2.1270
604. std CATCH               NOOP    exception_ws    9.6.1.0875
605. std THROW               NOOP    exception_ws    9.6.1.2275
606. std AT-XY               NOOP    facilities_ws   10.6.1.0742
607. std KEY?                NOOP    facilities_ws   10.6.1.1755
608. std PAGE                NOOP    facilities_ws   10.6.1.2005
609. std EKEY                NOOP    facilities_ws   10.6.2.1305
610. std EKEY<CHAR           NOOP    facilities_ws   10.6.2.1306
611. std EKEY?               NOOP    facilities_ws   10.6.2.1307
612. std EMIT?               NOOP    facilities_ws   10.6.2.1325
613. std MS                  NOOP    facilities_ws   10.6.2.1905
614. std TIME&DATE           NOOP    facilities_ws   10.6.2.2292
615. std BIN                 NOOP    file_ws         11.6.1.0765
616. std CLOSE-FILE          NOOP    file_ws         11.6.1.0900
617. std CREATE-FILE         NOOP    file_ws         11.6.1.1010
618. std DELETE-FILE         NOOP    file_ws         11.6.1.1190
619. std FILE-POSITION       NOOP    file_ws         11.6.1.1520
620. std FILE-SIZE           NOOP    file_ws         11.6.1.1522
621. std INCLUDE-FILE        NOOP    file_ws         11.6.1.1717
622. std INCLUDED            "incfil file_ws         11.6.1.1718
623. std OPEN-FILE           NOOP    file_ws         11.6.1.1970
624. std R/O                 NOOP    file_ws         11.6.1.2054
625. std R/W                 NOOP    file_ws         11.6.1.2056
626. std READ-FILE           NOOP    file_ws         11.6.1.2080
627. std READ-LINE           NOOP    file_ws         11.6.1.2090
628. std REPOSITION-FILE     NOOP    file_ws         11.6.1.2142
629. std RESIZE-FILE         NOOP    file_ws         11.6.1.2147
630. std W/O                 NOOP    file_ws         11.6.1.2425
631. std WRITE-FILE          NOOP    file_ws         11.6.1.2480
632. std WRITE-LINE          NOOP    file_ws         11.6.1.2485
633. std FILE-STATUS         NOOP    file_ws         11.6.2.1524
634. std FLUSH-FILE          NOOP    file_ws         11.6.2.1560
635. std RENAME-FILE         NOOP    file_ws         11.6.2.2130
636. std >FLOAT              NOOP    fp_ws           12.6.1.0558
637. std D>F                 NOOP    fp_ws           12.6.1.1130
638. std F!                  NOOP    fp_ws           12.6.1.1400
639. std F*                  NOOP    fp_ws           12.6.1.1410
640. std F+                  NOOP    fp_ws           12.6.1.1420
641. std F-                  NOOP    fp_ws           12.6.1.1425
642. std F/                  NOOP    fp_ws           12.6.1.1430
643. std F0<                 NOOP    fp_ws           12.6.1.1440
644. std F0=                 NOOP    fp_ws           12.6.1.1450
645. std F<                  NOOP    fp_ws           12.6.1.1460
646. std F>D                 NOOP    fp_ws           12.6.1.1460
647. std F@                  NOOP    fp_ws           12.6.1.1472
648. std FALIGN              NOOP    fp_ws           12.6.1.1479
649. std FALIGNED            NOOP    fp_ws           12.6.1.1483
650. std FCONSTANT           defdat  fp_ws           12.6.1.1492
651. std FDEPTH              NOOP    fp_ws           12.6.1.1497
652. std FDROP               NOOP    fp_ws           12.6.1.1500
653. std FDUP                NOOP    fp_ws           12.6.1.1510
654. std FLITERAL            NOOP    fp_ws           12.6.1.1552
655. std FLOAT+              NOOP    fp_ws           12.6.1.1555
656. std FLOATS              NOOP    fp_ws           12.6.1.1556
657. std FLOOR               NOOP    fp_ws           12.6.1.1558
658. std FMAX                NOOP    fp_ws           12.6.1.1562
659. std FMIN                NOOP    fp_ws           12.6.1.1565
660. std FNEGATE             NOOP    fp_ws           12.6.1.1567
661. std FOVER               NOOP    fp_ws           12.6.1.1600
662. std FROT                NOOP    fp_ws           12.6.1.1610
663. std FROUND              NOOP    fp_ws           12.6.1.1612
664. std FSWAP               NOOP    fp_ws           12.6.1.1620
665. std FVARIABLE           defvar  fp_ws           12.6.1.1630
666. std REPRESENT           NOOP    fp_ws           12.6.1.2143
667. std DF!                 NOOP    fp_ws           12.6.2.1203
668. std DF@                 NOOP    fp_ws           12.6.2.1204
669. std DFALIGN             NOOP    fp_ws           12.6.2.1205
670. std DFALIGNED           NOOP    fp_ws           12.6.2.1207
671. std DFLOAT+             NOOP    fp_ws           12.6.2.1208
672. std DFLOATS             NOOP    fp_ws           12.6.2.1209
673. std F**                 NOOP    fp_ws           12.6.2.1415
674. std F.                  NOOP    fp_ws           12.6.2.1427
675. std FABS                NOOP    fp_ws           12.6.2.1474
676. std FACOS               NOOP    fp_ws           12.6.2.1476
677. std FACOSH              NOOP    fp_ws           12.6.2.1477
678. std FALOG               NOOP    fp_ws           12.6.2.1484
679. std FASIN               NOOP    fp_ws           12.6.2.1486
680. std FASINH              NOOP    fp_ws           12.6.2.1487
681. std FATAN               NOOP    fp_ws           12.6.2.1488
682. std FATAN2              NOOP    fp_ws           12.6.2.1489
683. std FATANH              NOOP    fp_ws           12.6.2.1491
684. std FCOS                NOOP    fp_ws           12.6.2.1493
685. std FCOSH               NOOP    fp_ws           12.6.2.1494
686. std FE.                 NOOP    fp_ws           12.6.2.1513
687. std FEXP                NOOP    fp_ws           12.6.2.1515
688. std FEXPM1              NOOP    fp_ws           12.6.2.1516
689. std FLN                 NOOP    fp_ws           12.6.2.1553
690. std FLNP1               NOOP    fp_ws           12.6.2.1554
691. std FLOG                NOOP    fp_ws           12.6.2.1557
692. std FS.                 NOOP    fp_ws           12.6.2.1613
693. std FSIN                NOOP    fp_ws           12.6.2.1614
694. std FSINCOS             NOOP    fp_ws           12.6.2.1616
695. std FSINH               NOOP    fp_ws           12.6.2.1617
696. std FSQRT               NOOP    fp_ws           12.6.2.1618
697. std FTAN                NOOP    fp_ws           12.6.2.1625
698. std FTANH               NOOP    fp_ws           12.6.2.1626
699. std F~                  NOOP    fp_ws           12.6.2.1640
700. std PRECISION           NOOP    fp_ws           12.6.2.2035
701. std SET-PRECISION       NOOP    fp_ws           12.6.2.2200
702. std SF!                 NOOP    fp_ws           12.6.2.2202
703. std SF@                 NOOP    fp_ws           12.6.2.2203
704. std SFALIGN             NOOP    fp_ws           12.6.2.2204
705. std SFALIGNED           NOOP    fp_ws           12.6.2.2206
706. std SFLOAT+             NOOP    fp_ws           12.6.2.2207
707. std SFLOATS             NOOP    fp_ws           12.6.2.2208
708. std (LOCAL)             NOOP    local_ws        13.6.1.0086
709. std LOCALS|             _local  local_ws        13.6.2.1795
710. std ALLOCATE            NOOP    malloc_ws       14.6.1.0707
711. std FREE                NOOP    malloc_ws       14.6.1.1605
712. std RESIZE              NOOP    malloc_ws       14.6.1.2145
713. std .S                  NOOP    progtools_ws    15.6.1.0220
714. std ?                   NOOP    progtools_ws    15.6.1.0600
715. std DUMP                NOOP    progtools_ws    15.6.1.1280
716. std SEE                 NOOP    progtools_ws    15.6.1.2194
717. std WORDS               NOOP    progtools_ws    15.6.1.2465
718. std ;CODE               resunk  progtools_ws    15.6.2.0470
719. std AHEAD               NOOP    progtools_ws    15.6.2.0702
720. std ASSEMBLER           NOOP    progtools_ws    15.6.2.0740
721. std BYE                 NOOP    progtools_ws    15.6.2.0830
722. std CODE                defusr  progtools_ws    15.6.2.0930
723. std CS-PICK             NOOP    progtools_ws    15.6.2.1015
724. std CS-ROLL             NOOP    progtools_ws    15.6.2.1020
725. std EDITOR              NOOP    progtools_ws    15.6.2.1300
726. std FORGET              NOOP    progtools_ws    15.6.2.1580
727. std [ELSE]              NOOP    progtools_ws    15.6.2.2531
728. std [IF]                bigif   progtools_ws    15.6.2.2532
729. std [THEN]              NOOP    progtools_ws    15.6.2.2533
730. std DEFINITIONS         NOOP    searchord_ws    16.6.1.1180
731. std FORTH-WORDLIST      NOOP    searchord_ws    16.6.1.1595
732. std GET-CURRENT         NOOP    searchord_ws    16.6.1.1643
733. std GET-ORDER           NOOP    searchord_ws    16.6.1.1647
734. std SEARCH-WORDLIST     NOOP    searchord_ws    16.6.1.2192
735. std SET-CURRENT         NOOP    searchord_ws    16.6.1.2195
736. std SET-ORDER           NOOP    searchord_ws    16.6.1.2197
737. std WORDLIST            NOOP    searchord_ws    16.6.1.2460
738. std ALSO                NOOP    searchord_ws    16.6.2.0715
739. std FORTH               NOOP    searchord_ws    16.6.2.1590
740. std ONLY                NOOP    searchord_ws    16.6.2.1965
741. std ORDER               NOOP    searchord_ws    16.6.2.1985
742. std PREVIOUS            NOOP    searchord_ws    16.6.2.2037
743. std -TRAILING           NOOP    string_ws       17.6.1.0170
744. std /STRING             NOOP    string_ws       17.6.1.0245
745. std BLANK               NOOP    string_ws       17.6.1.0780
746. std CMOVE               NOOP    string_ws       17.6.1.0910
747. std CMOVE>              NOOP    string_ws       17.6.1.0920
748. std COMPARE             NOOP    string_ws       17.6.1.0935
749. std SEARCH              NOOP    string_ws       17.6.1.2191
750. std SLITERAL            NOOP    string_ws       17.6.1.2212
 
751. _DEFINITIONS
752.  
827. _DEFINITIONS
828.  
753. \ Revision history:
829. \ Revision history
754. \ 0. 1st release to guinea pigs via comp.lang.forth
830. \ 0. 1st release to guinea pigs via comp.lang.forth
755. \ 1. Added multi-line comment 0 [IF]. Colored CHAR outside of definitions.
756. \ 2. Added support for LOCALS|. Changed to use blanks for whitespace.
757.  
831. \ 1. Added multi-line comment 0 [IF]. Colored CHAR outside definitions.
832. \ 2. (EJB) Added missing definitions for common but nonstandard words
833. \    and cleaned up to account for case sensitivity.
834. \ 3. (EJB) Fixed up to create conforming XHTML 1.0 Strict
835. \ 4. (BNE) File check before nesting, moved file names to the hyperlink table,
836. \    added some option flags, cleared hyperlink list for each run. Added more
837. \    multiline comment words. Expands tabs to spaces. Title uses %20 for blanks.
758.  
759.  
838.  
839.