A couple of years ago or so, time does run like water, Larceny merged in a x86 assembler which 100% scheme. If I recall the original project was 100% standalone x86 assembler / linker. <br><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 8:12 PM, Stephen Bloch <span dir="ltr"><<a href="mailto:bloch@adelphi.edu" target="_blank">bloch@adelphi.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div class="im"><div><span>On Sep 25, 2012, at 7:38 PM, Hugh Aguilar <<a href="mailto:hughaguilar96@yahoo.com" target="_blank">hughaguilar96@yahoo.com</a>> wrote:</span><br>
</div><div><br></div><div></div></div><blockquote type="cite"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div class="im"><div><span>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.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span></span> </div>
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span>... 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).</span></div>
</div></div></blockquote><div><br></div><span>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).</span><div>
<span><br></span></div><div><span>Or are you talking about some kind of JIT compiler?<br><br>Stephen Bloch<div><a href="mailto:sbloch@adelphi.edu" target="_blank">sbloch@adelphi.edu</a></div><div><br></div><div>who last implemented a Forth system in 1983; I presume things have changed since then!</div>
</span><blockquote type="cite"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><span></span></div></div></div></blockquote></div></div><br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br>