constatnt initialization

csosz77@axelero.hu (Attila Csosz)
3 Dec 2003 20:43:07 -0500

          From comp.compilers

Related articles
constatnt initialization csosz77@axelero.hu (2003-12-03)
Re: constatnt initialization wbs@wschindler.net (2003-12-08)
Re: constatnt initialization clint@0lsen.net (Clint Olsen) (2003-12-13)
Re: constatnt initialization nick.roberts@acm.org (Nick Roberts) (2003-12-13)
Re: constatnt initialization joachim.durchholz@web.de (Joachim Durchholz) (2003-12-14)
| List of all articles for this month |
From: csosz77@axelero.hu (Attila Csosz)
Newsgroups: comp.compilers
Date: 3 Dec 2003 20:43:07 -0500
Organization: http://groups.google.com
Keywords: code, question
Posted-Date: 03 Dec 2003 20:43:07 EST

Hi,


I'm working a VHDL (hardware description language)
compiler/interpreter. The language has a complex type system (like
Pascal).


There are constant initialziation in format


constant name: type := expression;


My question: how to check that this can be assigned? I generate
pseudo-code. The "type" can complex: like multidimensional arrays
containing records. Can you draft me how do it?


I have the book Aho/Sethi/Ulmann: Compilers. Can you suggest me
algorithms in this book for it or in the internet or other good books?


Thanks
  Attila


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.