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 116,534 of 117,927   
   Anton Ertl to albert@spenarnc.xs4all.nl   
   Re: Extensions for Forth files.   
   04 Jun 24 16:11:45   
   
   From: anton@mips.complang.tuwien.ac.at   
      
   albert@spenarnc.xs4all.nl writes:   
   >For Forth we've seen: .f .F .frt .FRT .fth .4th .fs   
   >Are there more?   
   >   
   >I'd like to see an official extension.   
      
   At the 2015 Forth200x meeting we decided on ".4th", and that has been   
   added to the extensions that VFX knows about   
   <2016Mar29.122333@mips.complang.tuwien.ac.at>.  And indeed:   
      
   [/tmp:149794] echo 'cr .( hi) cr' >foo.4th   
   [/tmp:149795] vfx64 "include foo"   
   VFX Forth 64 5.43 [build 0199] 2023-11-09 for Linux x64   
   Ā© MicroProcessor Engineering Ltd, 1998-2023   
      
   Including foo.4th   
   hi   
      
   bye   
      
   It does not work for sf64, while "include f" works for foo.f.   
      
   Gforth does not know anything about extensions, so you always have to   
   mention the extension explicitly.   
      
   theforth.net requires the metadata in package.4th.   
      
   >The gforth authors have the most influence in GNU linux. Unfortunately   
   >they seem to use the .f suffix exclusively.   
      
   What makes you think so?  Why would Gforth contain Fortran programs?   
      
   >gforth also uses .fs for non forth files,   
      
   Examples?   
      
   >scripts   
      
   Sure, why not.   
      
   - anton   
   --   
   M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html   
   comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html   
        New standard: https://forth-standard.org/   
      EuroForth 2023: https://euro.theforth.net/2023   
      
   --- 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