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,612 of 117,927   
   Gerry Jackson to Anton Ertl   
   Re: Examples for gforth's objects.fs   
   04 Oct 25 09:05:22   
   
   From: do-not-use@swldwa.uk   
      
   On 03/10/2025 22:15, Anton Ertl wrote:   
   > okflo@teletyp.ist writes:   
   >> Hi,   
   >>   
   >> I am currently trying to digg deeper into gforth's object.fs.   
   >>   
   >> For that I would like to read some good object oriented forth code   
   >> (preferred gforth's object.fs, but open to other good examples).   
   >>   
   >> Any recommendations of f.e. a bigger project, thas has public code?   
   >   
   > For objects.fs, I have hear from a few users a long time ago, but have   
   > nothing to point to.   
   >   
   > Gerry Jackson has adopted and extended mini-oof for his lexgen   
   >  and lexex scanner   
   > generator tools, and for grace, his parser generator.   
      
   If you look at this I recommend that you look at the file   
   src/syntaxtree.fth as well as lib/xmini_oof.fth.   
      
   I would suggest that you start with mini-oof & xmini_oof to see how they   
   can be used as these are much simpler than Anton's object.fs which is a   
   more complete OO system. Once you see how mini_oof can be used in LexGen   
   and/or Krishna's epr-sim.4th you can move on to object.fs.   
      
   >   
   > Bernd Paysan is using mini-oof2 heavily in his net2o (see the bottom   
   > of  about how   
   > to get source code).   
   >   
   > - anton   
      
   --   
   Gerry   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca