Swiftforth Metacompiler?

From: Bob Dickow <dickow_at_uidaho.edu>
Date: Fri, 28 Apr 2000 17:03:46 -0700

So, are there any plans to add a feature to SwiftForth to allow one
to make a target application that doesn't have all the non-called words
left in there? This would seem to be easy to do. It would be nice to
get my 'Hello World' program under 10k in size. ;-)

If there are no plans, I'll have to implement this myself too. Any
interested parties in a project such as this? I'll probably have to
learn the machine code for this new Athlon K7 thingy, but hey, that's
no tougher than Schenkerian Analysis, right?

I would model this on my JForth compiler, to which you include a little
set of extensions, and type 'CLONE <application exec word> and
then save the turnkey file and voila! Your 1 meg forth developement
image turns into 20k or so. It gets rid of all the name headers and
junk,
excludes all words not used in the thread, and does some other
efficiency stuff. Really, really, really cool. Why should a SwiftForth
..DLL have the whole system in it when your library only has one
routine? See what I'm getting at?

Bob

*****************************************************
**** Bob Dickow (dickow_at_uidaho.edu) ******
*** Hampton School of Music, Univ of Idaho *
** USDA Zone 5 *********************************

.
Received on Fri Apr 28 2000 - 17:03:46 PDT


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.