Article View: borland.public.delphi.documentation
Article #104Object Pascal grammar (for LALR parser)
From: Andrej
Date: Thu, 31 May 2007 23:00
Date: Thu, 31 May 2007 23:00
14 lines
1273 bytes
1273 bytes
Hi! I'm developing a parsing tool for for Delphi source files. As yet, I had no luck in finding the complete grammar for the language. There is a "formal grammar" in Delphi 7 help, but it's has too many mistakes and surely isn't the grammar supposed to build parsers! I just spent two hours re-writing it to Backus-Naur form by hand - seems like it's not "formal" at all... ;) Thanks, Andrej
Technical Details
Message-ID:
<465f53c9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10a202,7a4ae49aca5ba6e9,start X-Google-Attributes: gid10a202,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Andrej" <andel@inbox.ru> From: "Andrej" <andel@inbox.ru> Newsgroups: borland.public.delphi.documentation Subject: Object Pascal grammar (for LALR parser) Date: Fri, 1 Jun 2007 03:00:56 +0400 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 212.188.105.75 Message-ID: <465f53c9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1180652489 212.188.105.75 (31 May 2007 16:01:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail