Re: compiler and metadata, request opinions...

Hans-Peter Diettrich <DrDiettrich1@aol.com>
Mon, 27 Apr 2009 14:08:53 +0200

          From comp.compilers

Related articles
compiler and metadata, request opinions... cr88192@hotmail.com (cr88192) (2009-04-22)
Re: compiler and metadata, request opinions... DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-04-24)
Re: compiler and metadata, request opinions... cr88192@hotmail.com (cr88192) (2009-04-25)
Re: compiler and metadata, request opinions... DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-04-27)
Re: compiler and metadata, request opinions... cr88192@hotmail.com (cr88192) (2009-04-28)
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups: comp.compilers
Date: Mon, 27 Apr 2009 14:08:53 +0200
Organization: Compilers Central
References: 09-04-051 09-04-059 09-04-064
Keywords: design
Posted-Date: 28 Apr 2009 05:11:01 EDT

cr88192 schrieb:


>> I'd use different frontends (parser...) for each language, each building
>> an canonical AST. Where "canonical" means that the AST is understood by
>> all following stages.
>
> writing 3 parsers would mean maintaining 3 parsers, which is unecessary
> since most of the syntax is common between the languages...


Parsers usually have to deal with semantics (for disambiguation...) as
well, in detail with context sensitive C-ish languages.


DoDi



Post a followup to this message

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