|Identifying types in C- or pascal-like type systems email@example.com (Peter James Cowderoy) (2000-12-13)|
|Re: Identifying types in C- or pascal-like type systems firstname.lastname@example.org (James Jones) (2000-12-18)|
|Re: Identifying types in C- or pascal-like type systems email@example.com (Sebastian Moleski) (2000-12-18)|
|Re: Identifying types in C- or pascal-like type systems firstname.lastname@example.org (Suhas Chelian) (2000-12-18)|
|From:||"Sebastian Moleski" <email@example.com>|
|Date:||18 Dec 2000 00:39:10 -0500|
|Posted-Date:||18 Dec 2000 00:39:09 EST|
"Peter James Cowderoy" <firstname.lastname@example.org>:
> What methods do people use for storing the type of a variable or
> expression with C-like type systems? Does this change any further when
> you incorporate the likes of C++'s templates?
We are creating a compiler using C++ right now. The language to be
compiled is a Pascal clone with lots of OOP and other extensions. As
for the types, we have a hierarchy of classes that represent the type
of a symbol or an expression.
Return to the
Search the comp.compilers archives again.