Am Donnerstag, 22. November 2012, 05:10:41 schrieb David Kuehling:
> >>>>> "Bernd" == Bernd Paysan <[email protected]> writes:
> >> And the "#0 [IF]" works even for existing Gforth installations, so it
> >> seems at least as good.
> > 
> > Probably not in gforth-0.6.0... but in general, I think all it needs
> > is documentation.
> 
> This should work without needing non-standard literals:
> : ## ; 0 [IF]
> 
> ...
> [THEN]

# is the Forth200x decimal number prefix, so it's standard.  That's a good 
thing, making this multi-line shebang (almost) fully standard Forth, so all a 
Forth needs is the #! comment command.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to