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,545 of 117,927   
   Anton Ertl to albert@spenarnc.xs4all.nl   
   Re: Extensions for Forth files.   
   06 Jun 24 12:17:15   
   
   From: anton@mips.complang.tuwien.ac.at   
      
   albert@spenarnc.xs4all.nl writes:   
   >In article <2024Jun6.081646@mips.complang.tuwien.ac.at>,   
   >Anton Ertl  wrote:   
   >>When you have the development version of Gforth installed, you get:   
   >>   
   >>emacs: .fs .fth .4th .fb (where .fb is for block files)   
   >   
   >Nice. I see that you refrain from using the .f extension lest   
   >emacs think you are using FORTRAN.   
      
   Yes, we also don't use .f, but we also don't add it to the list as   
   indication for Forth mode, because that would conflict with the   
   existing use for Fortran.  I don't know exactly what would happen, but   
   one of the possible outcomes would be that someone wants to edit a   
   Fortran file with the extension .f, and gets Forth mode instead of   
   Fortran mode.  I think that would lead to complaints about Gforth's   
   installer sooner or later.   
      
   >Reminds me that it is common to use .blk for block files.   
      
   Various file-extension web sites list lots of file types that use   
   .blk, but I have not seen Forth block files there.  .fb also has some   
   other uses, so it's not ideal.  But then, who cares about Forth block   
   files nowadays?  Probably not even those who think that any agreement   
   is a loss of freedom, because those tend not to use the rigid imposed   
   structure of a file system in the first place.   
      
   - 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