I know exactly what you are talking about here. I was used to 'clone' compiling forth programs using JForth on the Amiga platform. It cleverly could strip out any unused words, get rid of dictionary word headers, and make programs as small as 10k bytes! SwiftForth really needs this. If I ever get the time, I may try to write a clone compiler myself. But Forth, Inc should seriously think about adding this as a core feature. Let's continue to make pleas to them about this.
Bob
----- Original Message -----
From: Federico de Ceballos
To: sftalk_at_forth.com
Sent: Tuesday, November 28, 2000 1:42 AM
Subject: [sftalk] Saving a small program
I'd like to know details about saving the image of a program to
disk.
I want to prepare a set of small utilities using SwiftForth. If
I use the full environment, INCLUDE my code, patch 'MAIN and do a
PROGRAM I get .EXE files bigger than 400kB.
As my code doesn't take advantage of the full features of the
environment and it can be compiled with just the KERNEL file, I
wonder whether it is possible to write the .EXE file directly
from there.
The result would be around 50-60kB, so several files could be
carried around in a floppy.
Thanks,
Federico de Ceballos
Received on Tue Nov 28 2000 - 17:27:39 PST
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.