At 02:53 PM 11/21/04, you wrote:
On Saturday 20 November 2004 22:12, Elliott Chapin wrote: > Perhaps my German is not good enough, but I'm not sure I get the use of > SAVESYSTEM to generate a turnkey application. Does it go like this:- (with > comparison to SwiftForth): > > example- > > SwiftForth > > STARTER GO > PROGRAM APP.EXE > > bigFORTH > > : (SAVE r> GO (SAVE >r ; > > SAVESYSTEM APP
bigFORTH uses a module system. Each module has several anonymous definitions which are executed at startup. Example:
---------------hello.fs---------------------- module hello
: hello ." Hello World!" cr ;
main: hello bye ;
module;
savesystem hello ----------------------------------------------
bigforth hello.fs -e bye
will generate a 'hello' program which outputs "Hello World!" and terminates.
Hope that helps.
-- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
www3.sympatico.ca/echapin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
