Re: Delphi in BNF syntax

Paul Mann <>
13 Jan 1998 00:18:09 -0500

          From comp.compilers

Related articles
Delphi in BNF syntax (Christian Holzner) (1998-01-12)
Re: Delphi in BNF syntax (Paul Mann) (1998-01-13)
Re: Delphi in BNF syntax (Robert Zierer) (1998-02-12)
| List of all articles for this month |

From: Paul Mann <>
Newsgroups: comp.compilers
Date: 13 Jan 1998 00:18:09 -0500
Organization: EarthLink Network, Inc.
References: 98-01-044
Keywords: Pascal, parse

> I am currently working on a lexer/parser for Delphi and would like to
> know if somebody has or knows a source where Delphi or at least
> (Borland) Pascal is described in BNF (or EBNF) syntax.

I think the Pascal Grammar at my web site is Borland Pascal 5.5, it will
get you going. It's an LALR grammar, compatible with LRGen 5.0 from
Autom Software,

but you can probably adapt it to YACC or something
else that is an LR/LALR tool.

Paul Mann

Post a followup to this message

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