home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 117,090 of 117,927   
   Hans Bezemer to dxf   
   Re: Gforth manual PDF?   
   17 Feb 25 14:53:51   
   
   From: the.beez.speaks@gmail.com   
      
   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   
      
      ," N>R" "N>R" ,   
      ," MS" "MS" ,   
      ," MOVE" "MOVE" ,   
      ," MOD" "MOD" ,   
      ," MIN" "MIN" ,   
      
   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   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca