by "Maki" <veselic123@[EMAIL PROTECTED]
>
Apr 22, 2008 at 09:33 AM
>> 1. What is the best way to handle allocation in name dictionary? My
>> current
>> thought is to revector dp with words like:
>> PROGRAM HERE ( returns dp from program code dictionary)
>> NAMES HERE ( returns dp from name dictionary)
>>
>> 2. Implementation of word >name is trickier. It appears that >name now
>> should use FIND to go back to name field.
>>
>
> you dont need to use find to locate a word header when you separate
> headers from code space, isforth does this and >name is basically
> defined as : >name 4- @[EMAIL PROTECTED]
; because i store an NFA pointer at CFA -4.
> the trick is when you do headerless words this pointer has to be
> cleared or it will point to bogus data!
Yeah, I meant "something like" FIND which compares given address to CFA in
headers in order to locate NFA.
Best regards,
Maki