translating vector objects into plain!_NEWLINE_!"c" arrays
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   merom_klein
Posted On:   Thursday, May 17, 2001 02:49 AM

in order to save time and since it looks like i dont have PSOS porting for vectors, i want to use plain "c" arrays instead of vectors.
what is your opinion on that?
in ANTLR code there are 3 vector objects
which are relevant to me:
1.tokenNames
2.storage
3.elems

can you explain a bit on each one of
them in order to make it easy for me
to translate without causing new bags

Re: translating vector objects into plain!_NEWLINE_!"c" arrays

Posted By:   Ric_Klaren  
Posted On:   Friday, June 1, 2001 01:06 AM

The tokennames where removed in my last
development snapshot.

CircularQueue and Bitset can also be replaced
without much pain. (if you are carefull)

The vector in ASTArray may be trickier.
but seems possible.

The vector's in a number of utility functions
(several findall's) can be ignored/removed
if you don't use the functionality.

About | Sitemap | Contact