Re: Gforth manual PDF?

Liste des GroupesRevenir à cl forth 
Sujet : Re: Gforth manual PDF?
De : the.beez.speaks (at) *nospam* gmail.com (Hans Bezemer)
Groupes : comp.lang.forth
Date : 17. Feb 2025, 14:53:51
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$7f21f477$04f43c34@2f245d3cb0e75a80>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
On 17-02-2025 10:55, dxf wrote:
I didn't need anything fancy - hyperlinks for existing references and a word
index.  It came together easier than I expected.  There were some false hits
requiring minor tweaks to the source file.  Anyway, here's the result:
 https://pastebin.com/8xpT6gj1
I wrote a program that takes a plain ASCII version of the 4tH manual and generates a table of entries like this:
   TAG info-4th "MOVE"
     c" MOVE CORE" 10 c,
     c" Compiles to: CMOVE (0)" 10 c,
     c" Stack effects: addr1 addr2 n —" 10 c,
     c" Move the specified quantity of bytes (n) beginning at address" 10 c,
     c" addr1 to addr2 in the Character Segment." 10 c,
     0 c,
Then it also creates an index table like this:
create .info-4th
<snip>
   ," N>R" "N>R" ,
   ," MS" "MS" ,
   ," MOVE" "MOVE" ,
   ," MOD" "MOD" ,
   ," MIN" "MIN" ,
<snip>
does> [: info-4th ;] is info-entry info ;
Usage - just provide the keyword as a parameter.
$ pp4th -x glossary.4th move
MOVE CORE
Compiles to: CMOVE (0)
Stack effects: addr1 addr2 n
Move the specified quantity of bytes (n) beginning at address
addr1 to addr2 in the Character Segment.
$
Works for me.
Hans Bezemer

Date Sujet#  Auteur
14 Feb 25 * Gforth manual PDF?16Buzz McCool
14 Feb 25 +* Re: Gforth manual PDF?14Paul Rubin
15 Feb 25 i`* Re: Gforth manual PDF?13Buzz McCool
15 Feb 25 i `* Re: Gforth manual PDF?12Paul Rubin
15 Feb 25 i  +* Re: Gforth manual PDF?10dxf
15 Feb 25 i  i+* Re: Gforth manual PDF?8albert
16 Feb 25 i  ii+* Re: Gforth manual PDF?4dxf
16 Feb 25 i  iii`* Re: Gforth manual PDF?3albert
17 Feb 25 i  iii `* Re: Gforth manual PDF?2dxf
17 Feb 25 i  iii  `- Re: Gforth manual PDF?1Hans Bezemer
17 Feb 25 i  ii`* Re: Gforth manual PDF?3Buzz McCool
18 Feb 25 i  ii `* Re: Gforth manual PDF?2Anton Ertl
19 Feb 25 i  ii  `- Re: Gforth manual PDF?1Buzz McCool
15 Feb 25 i  i`- Re: Gforth manual PDF?1Anton Ertl
15 Feb 25 i  `- Re: Gforth manual PDF?1Buzz McCool
15 Feb 25 `- Re: Gforth manual PDF?1Anton Ertl

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal