Re: Formal grammar & syntax of formal languages

Hans-Peter Diettrich <DrDiettrich1@aol.com>
Mon, 07 Jan 2008 07:11:56 +0100

          From comp.compilers

Related articles
Formal grammar & syntax of formal languages sensorflo@gmail.com (Florian Kaufmann) (2008-01-06)
Re: Formal grammar & syntax of formal languages wyrmwif@tsoft.org (SM Ryan) (2008-01-07)
Re: Formal grammar & syntax of formal languages DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-01-07)
Re: Formal grammar & syntax of formal languages mefrill@yandex.ru (mefrill) (2008-01-08)
Re: Formal grammar & syntax of formal languages theochim@it.teithe.gr (2008-01-13)
| List of all articles for this month |
From: Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups: comp.compilers
Date: Mon, 07 Jan 2008 07:11:56 +0100
Organization: Compilers Central
References: 08-01-007 08-01-020
Keywords: parse, theory
Posted-Date: 07 Jan 2008 02:39:12 EST
X-Orig-X-Trace: individual.net 6qJ5j09jQN1XVS67LBL/bA/MyFZbGkhZorPTUgEX2zBnS9dTdH

SM Ryan wrote:


> A formal grammar is a formal language to describe a formal language.


I dare to decline. A language can be described by a formal or informal
grammar.


[...]
> The Algol 68 Revised Report is a formal grammar of a computer
> language. ISO/IEC 9899:1999 is combined formal and informal grammar of
> C.


Frequently the syntax of a language is described in a formal grammar,
whereas the semantics are described in an informal way, due to the lack
of an appropriate formalism.


DoDi


Post a followup to this message

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