Re: Can syntax be enough? No need of semantics.

Tony Finch <dot@dotat.at>
21 Sep 2009 19:58:06 +0100 (BST)

          From comp.compilers

Related articles
Can syntax be enough? No need of semantics. sinu.nayak2001@gmail.com (Srinu) (2009-09-13)
Re: Can syntax be enough? No need of semantics. quinn_jackson2004@yahoo.ca (Quinn Tyler Jackson) (2009-09-18)
Re: Can syntax be enough? No need of semantics. news@cuboid.co.uk (Andy Walker) (2009-09-18)
Re: Can syntax be enough? No need of semantics. anton@mips.complang.tuwien.ac.at (2009-09-18)
Re: Can syntax be enough? No need of semantics. news@cuboid.co.uk (Andy Walker) (2009-09-19)
Re: Can syntax be enough? No need of semantics. dot@dotat.at (Tony Finch) (2009-09-21)
Re: Can syntax be enough? No need of semantics. torbenm@pc-003.diku.dk (2009-09-23)
Re: Can syntax be enough? No need of semantics. gopi.onthemove@gmail.com (gopi) (2009-09-24)
Re: Can syntax be enough? No need of semantics. gopi.onthemove@gmail.com (gopi) (2009-09-24)
Re: Can syntax be enough? No need of semantics. sinu.nayak2001@gmail.com (Srinu) (2009-09-29)
| List of all articles for this month |
From: Tony Finch <dot@dotat.at>
Newsgroups: comp.compilers
Date: 21 Sep 2009 19:58:06 +0100 (BST)
Organization: dotat labs
References: 09-09-062 09-09-068
Keywords: parse
Posted-Date: 21 Sep 2009 15:15:12 EDT

anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote:
>
>You can use some formalism for something more powerful than
>context-free grammars to define all of the statically checkable parts
>of a programming language, e.g., a Van Wijngaarden grammar. However,
>that particular formalism has not caught on for specifying programming
>languages and even less for compilers.


Our moderator annotated another post in this thread with:


>[Good point. So why don't we use them? -John]


The particular problem with VW grammars is that they require quite a
lot of low-level machinery to express basic ideas. The grammar ends up
being an obscure implementation rather than a concise specification.


Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/


Post a followup to this message

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