Anthony,
I'm working on getting HyperInterp to compile under CodeWarrior. First thing:
OTVar.h line 342:
Make it 255UL to indicate it's also an unsigned long, or typecast
the number to an unsigned long. Else I get an error that ( long, int )
doesn't match (type T, type T). Same applies to the operator overloads in
OTVar.h, which should e.g. do (*this)+=1L; for the increment operator to
force the appropriate operator to be used. Else CW can't decide between
long and double for some reason.
OTVar.h line 227:
Make the conditionals that check for _MRC__ < 0x0410 also check for
!__MWERKS__ since somehow metrowerks ends up inside that conditional even
though it only compiles the other.
With these changes I got it to compile up to TokenizerTest, which gave me
an error because it needs a file called "HandleAppender.h" could you send
me that and any other files it depends on? A look at the makefile shows
that you probably wrote it yourself, as it's in a folder named "AnthonyLib".
BTW, here's a list of what should be added to HyperInterp and how in my
opinion:
objects
properties
message handler calls
handlers (i.e. on/end and function/end)
It should pass these to external handling functions into which other
developers can hook in, probably to a C++ instance that is passed in on
startup. What I have in mind is something along the lines of what Velocity
had in this regard.
Then the interpreter could be considered finished.
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