Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #21551

Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes

Newsgroups comp.lang.forth
Date 2013-04-09 06:39 -0700
References <f6a2bf30-56e0-44e2-a571-382d9a35af9e@googlegroups.com>
Message-ID <b99bdf0b-e971-4d1e-b3b1-b59b899c370c@googlegroups.com> (permalink)
Subject Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes
From jim@rainbarrel.com

Show all headers | View raw


 
> What I am looking for now is a glue-ing interface, one that allows me to continue working with Forth on core capabilities for whatever engine logic I am developing, but harness these other languages for essentially bringing data into Forth, and taking processes results out of Forth.
> 
> 
> 
> So far, I have gotten Shared Memory working, and that does work.  
> 
> 
> 
> However, I'm wondering if there are better ways to do this.  
> 
> 
> 
> (Note: I am using Win32Forth, but only by accident - as it was the first Forth I tried, so I am not wedded to it.  I would rather hear about good capabilities in any Forths, and if they are in Win32Forth, great, but if not, that may be a good reason for me to consider a switch.)

Diaperglu Forth from http://www.rainbarrel.com also has shared library access. It also has memory management stuff, a string stack, and words to read and write whole files to/from buffers which you might find useful.

I think there's even a low level word to read whatever is available from a file which might let you read from a pipe.

Diaperglu also comes as both a shared library and an executable.

Also, if Diaperglu is missing something you want, I might be able to throw it in for you.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes AKE <assadebrahim2000@gmail.com> - 2013-03-23 14:29 -0700
  Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes "Elizabeth D. Rather" <erather@forth.com> - 2013-03-23 12:06 -1000
  Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes stephenXXX@mpeforth.com (Stephen Pelc) - 2013-03-24 12:55 +0000
  Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes Rob Sciuk <rob@controlq.com> - 2013-03-25 11:30 -0400
    Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes Alex McDonald <blog@rivadpm.com> - 2013-03-25 08:44 -0700
  Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes AKE <assadebrahim2000@gmail.com> - 2013-03-25 18:01 -0700
    Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes "Elizabeth D. Rather" <erather@forth.com> - 2013-03-25 17:08 -1000
      Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes AKE <assadebrahim2000@gmail.com> - 2013-03-26 01:13 -0700
        Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes "Elizabeth D. Rather" <erather@forth.com> - 2013-03-25 22:42 -1000
        Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes Hugh Aguilar <hughaguilar96@yahoo.com> - 2013-03-27 19:00 -0700
    Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes Rob Sciuk <rob@controlq.com> - 2013-03-26 12:07 -0400
  Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes jim@rainbarrel.com - 2013-04-09 06:39 -0700
    Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes Richard Owlett <rowlett@pcnetinc.com> - 2013-04-09 09:24 -0500
      Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes jim@rainbarrel.com - 2013-04-09 07:49 -0700
        Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes Richard Owlett <rowlett@pcnetinc.com> - 2013-04-09 09:58 -0500
          Re: Are there useful Forth 'glue' words to allow interfacing with a shell, OS, or other processes jim@rainbarrel.com - 2013-04-09 13:35 -0700

csiph-web