In article ,   
   Hans Bezemer wrote:   
   >On 12-02-2026 08:24, Anton Ertl wrote:   
   >> dxf writes:   
   >> [reformatted to Usenet standards]   
   >>   
   >>> I get it but IMO f/p isn't something one simply LOADs - even if   
   >>> Forth-94 sold it that way as a nod to minimalists. With the   
   >>> exception of folks like me (and perhaps you) who want to be able to   
   >>> load a variety of f/p packs, f/p is there when one boots forth.   
   >>   
   >> SwiftForth before 4.0 (which was only released on 22-Oct-2025) does   
   >> not include the FP wordset by default. VFX Forth before release 5   
   >> (released on 24 August 2018) does not include the FP wordset by   
   >> default. SwiftForth 4.x and VFX 5.x include the FP wordset by   
   >> default.   
   >>   
   >> Gforth, iForth, and lxf included the FP wordset by default in all   
   >> versions that I have tested.   
   >>   
   >> - anton   
   >   
   >Neither does 4tH. But that those are already included might be a logical   
   >result of recognizing FP numbers in the text interpreter. Think of it:   
   >why implement that in a CORE compiler? To what should it compile?   
   >Especially since that would require an FP stack (since other   
   >implementations have been outlawed since).   
      
   In the context of loadable "recognizers" ( PREFIX )   
   \--------------------8< linafp.frt --------   
   WANT -fp-   
   : Doit QUIT ;   
   \--------------------8<----------------------   
   # lina -c linafp.frt   
   # linafp   
      
   If you want linafp more to behave like a normal ciforth   
   (automatically processing options), you can add :   
      
    ' OPTIONS RESTORED   
    ' ERROR RESTORED   
      
   (A compiled program doesn't return to QUIT , all errors   
   must be explicitly caught . Moreover the parsing of   
   options must be explicitly invoked.)   
      
   So there is no good reason to burden the   
      
   \--------------------8<----------------------   
   : ascii 1 ARG[] DROP C@ . ;   
   \--------------------8<----------------------   
   # lina -c ascii.frt   
   # ascii A   
   # 65   
      
   with a full fp packet and an assembler.   
      
   Groetjes Albert   
      
      
      
      
   >   
   >Hans Bezemer   
   --   
   The Chinese government is satisfied with its military superiority over USA.   
   The next 5 year plan has as primary goal to advance life expectancy   
   over 80 years, like Western Europe.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|