Re: [Tutor] forth

2007-03-02 Thread Alan Gauld
"Bob Gailer" <[EMAIL PROTECTED]> wrote > although is says 'resulting in a [sic] executable". Not sure what > that > means, unless the obvious - an .exe file which when run displays > "Hello > World!". In that case 263 bytes is remarkable. It does and it is. That is Forth's strong point, it is

Re: [Tutor] forth

2007-03-02 Thread Carroll, Barry
> -Original Message- > Date: Fri, 02 Mar 2007 14:54:04 -0800 > From: Bob Gailer <[EMAIL PROTECTED]> > Subject: Re: [Tutor] forth > To: Hilton Garcia Fernandes <[EMAIL PROTECTED]> > Cc: tutor@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Ty

Re: [Tutor] forth

2007-03-02 Thread Bob Gailer
Hilton Garcia Fernandes wrote: > in python: > > print "Hello world!" > > 21 bytes. > True, but the forth program is (as I read it) more equivalent to: def helloWorld(): print "Hello World!" although is says 'resulting in a [sic] executable". Not sure what that means, unless the obvious -

Re: [Tutor] forth

2007-03-02 Thread Hilton Garcia Fernandes
in python: print "Hello world!" 21 bytes. all the best, hilton Em Sexta 02 Março 2007 16:48, Kirk Bailey escreveu: > Hello world > > : helloWorld ."Hello World!; > > that's it. > > HelloWorld is now part of the language. Now if your language instance > lets you compile it down, it will includ

[Tutor] forth

2007-03-02 Thread Kirk Bailey
Hello world : helloWorld ."Hello World!; that's it. HelloWorld is now part of the language. Now if your language instance lets you compile it down, it will include all functions to create that function, and leave all others out, resulting in a executable. Mine came in at 263 bytes. Microsoft