On Sep 25, 2012, at 7:38 PM, Hugh Aguilar <[email protected]> wrote:

> I am writing a Forth system. I want it to be interactive in the usual Forth 
> way. This means assembling a function at run-time and immediately being able 
> to run the assembled function.
>  
> ... I'm much better off if I can just assemble the functions at run-time for 
> the Forth system (which is compile-time for the user's Forth program).

The traditional way to implement a Forth compiler, IIUC,  isn't to generate 
executable machine code at all, but rather to generate a sequence of 
word-references that are interpreted as procedure calls by the Forth 
interpreter (which is in native executable code, but written in advance).

Or are you talking about some kind of JIT compiler?

Stephen Bloch
[email protected]

who last implemented a Forth system in 1983; I presume things have changed 
since then!
> 
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to