Re: Why context-free?

Tony Finch <dot@dotat.at>
13 Oct 2005 18:14:55 -0400

          From comp.compilers

Related articles
[6 earlier articles]
Re: Why context-free? vidyut.vidyut@gmail.com (2005-10-08)
Re: Why context-free? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2005-10-09)
Re: Why context-free? mpah@thegreen.co.uk (2005-10-09)
Re: Why context-free? nmm1@cus.cam.ac.uk (2005-10-09)
Re: Why context-free? rfigura@erbse.azagtoth.de (Robert Figura) (2005-10-10)
Re: Why context-free? boldyrev@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2005-10-10)
Re: Why context-free? dot@dotat.at (Tony Finch) (2005-10-13)
Re: Why context-free? nmm1@cus.cam.ac.uk (2005-10-13)
Re: Why context-free? cfc@world.std.com (Chris F Clark) (2005-10-13)
Re: Why context-free? neelk@cs.cmu.edu (Neelakantan Krishnaswami) (2005-10-13)
Re: Why context-free? darius@raincode.com (Darius Blasband) (2005-10-13)
Re: Why context-free? anton@mips.complang.tuwien.ac.at (2005-10-14)
Re: Why context-free? darius@raincode.com (Darius Blasband) (2005-10-19)
[14 later articles]
| List of all articles for this month |
From: Tony Finch <dot@dotat.at>
Newsgroups: comp.compilers
Date: 13 Oct 2005 18:14:55 -0400
Organization: dotat labs
References: 05-10-053 05-10-055 05-10-064 05-10-070
Keywords: parse, errors
Posted-Date: 13 Oct 2005 18:14:54 EDT

nmm1@cus.cam.ac.uk (Nick Maclaren) wrote:
>
>That is what two-level (van Wijngaarden) grammars were designed for
>but, as I said, I know of no comprehensible description. I have found
>nothing outside the "program proving" area that can handle scoping
>etc., and it is a lifetime task to extract useful information from the
>morass of obfuscated drivel that surrounds it.


The impression I got from reading the revised report on Algol 68 was that
the grammar involved a lot of fiddly programming at the wrong level of
abstraction - it wasted effort on recursive definitions of numerals, for
example. A good formalism should make things clearer, but the vW grammaer
is just obscure. Furthermore it has a reputation for being brittle - the
grammar was difficult to change as the language was refined.


Modern programming language theory doesn't generally bother itself with
syntax, probably because the type theory is interesting and complicated
enough without getting mired in low-level irrelevance.


Tony.
--
f.a.n.finch <dot@dotat.at> http://dotat.at/
FAEROES: SOUTH OR SOUTHWEST 6, INCREASING GALE 8 TO STORM 10, PERHAPS VIOLENT
STORM 11 LATER. RAIN OR SHOWERS. GOOD BECOMING MODERATE OR POOR.


Post a followup to this message

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