Related articles |
---|
Identifying types in C- or pascal-like type systems psyupjc@nottingham.ac.uk (Peter James Cowderoy) (2000-12-13) |
Re: Identifying types in C- or pascal-like type systems jejones@microware.com (James Jones) (2000-12-18) |
Re: Identifying types in C- or pascal-like type systems smoleski@surakware.com (Sebastian Moleski) (2000-12-18) |
Re: Identifying types in C- or pascal-like type systems schelian@bu.edu (Suhas Chelian) (2000-12-18) |
From: | "Sebastian Moleski" <smoleski@surakware.com> |
Newsgroups: | comp.compilers |
Date: | 18 Dec 2000 00:39:10 -0500 |
Organization: | T-Online |
References: | 00-12-053 |
Keywords: | types |
Posted-Date: | 18 Dec 2000 00:39:09 EST |
"Peter James Cowderoy" <psyupjc@nottingham.ac.uk>:
> 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.
sm
Return to the
comp.compilers page.
Search the
comp.compilers archives again.