Related articles |
---|
Any Object Pascal/Delphi grammars around? jfk@earthlink.net (1996-10-25) |
Re: Any Object Pascal/Delphi grammars around? adrian@dcs.rhbnc.ac.uk (1996-10-30) |
From: | adrian@dcs.rhbnc.ac.uk (A Johnstone) |
Newsgroups: | comp.compilers,comp.compilers.tools.pccts |
Date: | 30 Oct 1996 13:30:44 -0500 |
Organization: | Royal Holloway, University of London |
References: | 96-10-129 |
Keywords: | Pascal, parse, WWW |
John F. Kaster (jfk@earthlink.net) wrote:
: I'm looking for a BNF, YACC, or EBNF grammar for Object Pascal or
: Delphi. I need to do some Delphi source code analysis for a client,
: and they need the code when I'm done. I was planning on using Visual
: Parse++ with whatever grammar I produce, so any opinions or experience
: with it would also be appreciated.
There's a working pascal EBNF description in the RDP distribution that
generates a parser for fairly straight level 0 Pascal with some
extensions to cope with some Borland skull-duggery. You might find it
useful as a starting point and you might like to use RDP as your
development tool. The 1.5 version is presently in beta release. You
might prefer the stable 1.4 version. Look at
http://www.dcs.rhbnc.ac.uk/la/la.html
or go the archive at
ftp://ftp.dcs.rhbnc.ac.uk/pub/rdp/
--
Dr Adrian Johnstone, Dean of the Science Faculty, Dept of Computer Science,
Royal Holloway, University of London, Egham, Surrey, TW20 0EX, England.
Email: adrian@dcs.rhbnc.ac.uk Tel: +44 (0)1784 443425 Fax: +44 (0)1784 443420
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.