Re: Pascal grammar

frank@gnu.de (Frank Heckenbach)
6 Mar 2000 01:12:04 -0500

          From comp.compilers

Related articles
Pascal grammar sybaris@chez.com (2000-02-27)
Re: Pascal grammar rz1@stud.mw.tu-muenchen.de (Robert Zierer) (2000-03-06)
Re: Pascal grammar frank@gnu.de (2000-03-06)
pascal grammar scaus@vip.hr (chaki) (2003-05-24)
Pascal grammar chris@stokeisland.ohi.com (1993-04-20)
Re: Pascal grammar corbett@lupa.Eng.Sun.COM (1993-04-21)
| List of all articles for this month |
From: frank@gnu.de (Frank Heckenbach)
Newsgroups: comp.compilers
Date: 6 Mar 2000 01:12:04 -0500
Organization: Posted via University of Erlangen
References: 00-02-145
Keywords: Pascal, parse

sybaris@chez.com wrote:


> I am looking for pascal lex and yacc files (not grammar, only .lex &
> yacc files). ...
> I suggest you this answer : "Reference Guide for Free Pascal". It
> could be found in pdf format on www.freepascal.org.
> [It really is a free Pascal with source, must be a parser in there somewhere.
> -John]


AFAIK, Free Pascal uses a hand-written RD parser.


GNU Pascal <http://home.pages.de/~GNU-Pascal/>, the Pascal front-end
to GCC, has a bison parser, but a hand-written lexer. Since it
supports several dialects, the parser is more complicated than a
pure standard Pascal or Borland Pascal only parser would be.


Frank
--
Frank Heckenbach, frank@[NOSPAM.REMOVE.THIS]g-n-u.de, http://fjf.gnu.de/


Post a followup to this message

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