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


Groups > comp.lang.forth > #41593

Re: Hooking into the interpreter

From "HAA" <someone@microsoft.com>
Newsgroups comp.lang.forth
Subject Re: Hooking into the interpreter
Date 2015-08-28 22:48 +1000
Organization Aioe.org NNTP Server
Message-ID <mrpl91$4le$1@speranza.aioe.org> (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.

SwiftForth and VFX come with floating-point in source form.  You
could take a look how they patch it into the interpreter.


Back to comp.lang.forth | Previous | Next — Previous in thread | Next 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