Re: Pascal grammar

Robert Zierer <rz1@stud.mw.tu-muenchen.de>
6 Mar 2000 00:27:07 -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: Robert Zierer <rz1@stud.mw.tu-muenchen.de>
Newsgroups: comp.compilers
Date: 6 Mar 2000 00:27:07 -0500
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
References: 00-02-145
Keywords: Pascal, parse

Hello,


> I am looking for pascal lex and yacc files (not grammar, only .lex &
> yacc files).


What's the main difference between a grammar and a yacc file? A grammar
can be a not so formal description. That's all.


There are some files around.
- My grammar for Delphi1.0 and a try for Delphi4.0 at
        http://www.stud.mw.tum.de/~rz1/Grammar.html
    for use with TPYacc. (the *.zip contains some highlited stuff;
    you can get the raw files, but need to wait for it some weeks -
    I have to pass exams this march.)
- There is also a version of op4 for CoCo.
- Grammar for pascal (TP4.0 and standard) is as an example in TPLY from A.Graef
    http://www.musikwissenschaft.uni-mainz.de/~ag/tply/tply.html


The standards should also be a good source.
    http://www.pascal-central.com/standards.html
--
Robert Zierer


Post a followup to this message

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