At 2:51 PM +0100 on 12/9/99, M. Uli Kusterer wrote:
>>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.
New commands and functions are VERY easy. You just write the function, and
call the proper register function in Interpreter.
It's new syntax which takes some work.
I don't see a way around making new syntax harder... because it's got to be
parsed [that part is easy], bytecoded [not too hard], compiled [hard -- you
must know NullCPU asm], and (possibly) the NullCPU emulator would need to
be extended (hard -- lot's of nested switches, hard to understand code
[because of optimization -- this is the most speed-critical part]).