Related articles |
---|
Delphi formal grammar? kossey@cablenet.de (VergissMeinNicht) (2006-08-19) |
Re: Delphi formal grammar? barry.j.kelly@gmail.com (Barry Kelly) (2006-08-19) |
Re: Delphi formal grammar? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-08-19) |
Re: Delphi formal grammar? luca.masini@ieee.org (Luca Masini) (2006-08-19) |
Re: Delphi formal grammar? marcov@stack.nl (Marco van de Voort) (2006-08-20) |
Re: Delphi formal grammar? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-08-20) |
Re: Delphi formal grammar? JoachimPimiskern@web.de (Joachim Pimiskern) (2006-08-22) |
From: | Hans-Peter Diettrich <DrDiettrich1@aol.com> |
Newsgroups: | comp.compilers |
Date: | 19 Aug 2006 15:37:24 -0400 |
Organization: | Compilers Central |
References: | 06-08-119 |
Keywords: | Basic, syntax |
Posted-Date: | 19 Aug 2006 15:37:24 EDT |
VergissMeinNicht wrote:
> Where can I found a "working" grammar?
Nowhere :-(
Several attempts have been made to "complete" the lousy Borland
grammar, with different results. I wrote (hacked ;-) an OPL parser,
some time ago, which at least could parse the D4 standard units. But
it looks impossible to extract a grammar from that parser, just as
it's impossible to extract a grammar from the Delphi compiler, even
with the source code at hand.
IMO even EBNF is inappropriate to express an unambiguous grammar for
OPL, and who ever has use for a context sensitive grammar?
DoDi
P.S.: Wofuer brauchst Du denn die Grammatik?
Return to the
comp.compilers page.
Search the
comp.compilers archives again.