>Well, they've got to get a proper build environment -- not that hard.
>
>The they've got to read & understand FreeCard source -- medium difficulty
>
>For new syntax, they've got to modify the parser, expand the bytecode,
>expand the compiler, and possibly expand the instruction set. -- very hard
Anthony,
If the third step is really that hard, I think you need to rethink your
interpreter. Remember, if FreeCard is to be a dynamic and useful program,
we have to be able to easily add new commands and functions when needed.
Essentially, it has to work in a way that doesn't need too many changes,
maybe something like adding a few tokens to a list of tokens (const
variable or the likes) in the code, add a new "case" label to handle these
tokens to the parser, register a new instruction with the execution code.
If it's not this pluggable, it will be too hard later down the road to
extend FreeCard. I hope you just consider this harder than I do, and it's
not really a problem. I'd hate to take apart your interpreter, but this is
really necessary if it is hard to add a command.
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
http://www.weblayout.com/witness
'The Witnesses of TeachText are everywhere...'
--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html