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,088 of 117,927   
   Hans Bezemer to Buzz McCool   
   Re: Build Forth interpreter into a C/C++   
   16 Feb 25 19:06:12   
   
   From: the.beez.speaks@gmail.com   
      
   On 12-02-2025 03:06, Buzz McCool wrote:   
   > Your second idea is along the lines of the Gforth/ATLAST concept where   
   > Forth is a scripting language for a C/C++ application. I have another   
   > Linux based embedded system that has some pieces that are always   
   > changing. Maybe a Forth task inside a C/C++ program that would pick up   
   > changeable scripts from the SD Card would be better than constantly   
   > recompiling my C/C++ application and re-flashing main memory.   
   That was the original idea of 4tH - a scripting language for a C   
   application. As a matter of fact, the different 4tH incarnations were   
   originally meant as "example programs" for the library.   
      
   Nowadays, everybody thinks it's "the 4tH compiler". Wrong.. Although in   
   a sense it became somewhat true..   
      
   Every 4tH incarnation is a testament to the original idea, since every   
   single one of them contains embedded 4tH:   
      
   4th - the block editor;   
   4tsh - the command line;   
   pp4th - the entire preprocessor.   
      
   The program in question is saved as a compressed applet. When invoked,   
   it creates a sandbox - according to the applet's specifications - and   
   executes the applet. When it quits, it discards the entire sandbox.   
      
   You can also compile and execute an external script (as long as you link   
   in the compiler as well, of course).   
      
   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