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


Groups > comp.lang.forth > #41595

Re: Hooking into the interpreter

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Hooking into the interpreter
Date 2015-08-28 15:12 +0200
Organization A noiseless patient Spider
Message-ID <mrpmle$em8$1@dont-email.me> (permalink)
References <07fcf699-d03f-4103-86a8-3e9369a10731@googlegroups.com>

Show all headers | View raw


Greg wrote:

> I want to tweak the interpreter to do some custom parsing when words of a
> certain shape are not found in the dictionary. I saw being mentioned that
> various Forths have various mechanisms for that.
> 
> I would like to know how the following let's one hook into the
> interpreter: 1) SwiftForth
> 2) iForth
> 3) VFX Forth
> 4) CiForth
> 5) GForth - I know it has recognizers, which I am trying to figure at the
> moment.

I've recently posted a port of Gforth's recognizers to VFX here, which

a) shows how to plug into the VFX interpreter and
b) shows how to extend it the same way as Gforth's recognizers.

Only the recent snapshots of Gforth have recognizers.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
http://bernd-paysan.de/

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


Thread

Hooking into the interpreter Greg <borota@gmail.com> - 2015-08-27 20:01 -0700
  Re: Hooking into the interpreter "HAA" <someone@microsoft.com> - 2015-08-28 22:48 +1000
  Re: Hooking into the interpreter Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-28 15:12 +0200

csiph-web