Hello,
> the symbol table I have in mind doesn't depend on 'Class' at all. It's
> something the parser adds declarations (types, variables, consts) to
> while it encounters declarators.
> Then, while it parses code, it can look up the symbol table to find
> out whether the symbol is known, and if so whether it refers to a type.
Can other software and tools that are listed in the article "http://en.wikipedia.org/wiki/OpenC_Plus_Plus" help to discuss alternative design possibilities?
Would it help to show the ideas with UML diagrams, for example?
Best regards,
Markus Elfring
|