[OpenBIOS] CREATE in paflof
segher at chello.nl
Wed Oct 2 04:29:53 CEST 2002
> * paflof and gforth (ANS Forth?) seem to have different opinions
> about how to implement ['] and ' in compile mode. I.e. the following
> : defines ( xt class -- ) ' >body @ + ! ;
> leaves an xt on the stack in paflof, as ' is immediately.
' is not allowed in compile state; that's correct ANS behaviour.
> * CREATE ought to read the create-word's name from the TIB in paflof,
> using : CREATE PARSE-WORD $CREATE ;
> Thus, CREATE cannot be used in a colon definition, as there is
> nothing valid in the text input buffer. In ANS Forth, this should be
> possible. gforth's definition of CREATE is
> : Create header reveal dovar: cfa, ;
Use $CREATE ?
To unsubscribe: send mail to majordomo at freiburg.linux.de
with 'unsubscribe openbios' in the body of the message
http://www.freiburg.linux.de/OpenBIOS/ - free your system..
More information about the openbios