Article View: comp.lang.misc
Article #5650Re: LR (1) Parser/Generator
From: Phil C. Miller
Date: Tue, 19 Jul 1988 17:59
Date: Tue, 19 Jul 1988 17:59
45 lines
2057 bytes
2057 bytes
In article <12582@sunybcs.UUCP> opsjoe@sunybcs.UUCP (Joe Gallagher) writes:
>
>Hello!!
> I was wondering if someone could tell me if a LR(1) parser/generator
>exists, and if so, could they put me on to where I might obtain one?? The
>source language it is written in makes no difference, as I would assume C
>is the right choice. (Sorry A.T.& T. !?!?)
> Thanks ever so much to anyone who replies; either by e-mail or this
>newsgroup.
>
> Joe Gallagher
An LR(1) parser generator was developed at Lawrence Livermore Labs under
contract from the Dept. of Energy in the late 70's. An article discussing
the parser generator appeared in:
IEEE Transactions of Software Engineering
Vol. SE-7, No. 3
May, 1981
The article is called:
"LR--Automatic Parser Generator and LR(1) Parser"
by Charles Wetherell and Alfred Shannon
The parser generator is written in Fortran-66 and produces Fortran-66
tables (in the form of DATA statements). It is fairly straightforward
to convert the output of the LR program to C from Fortran.
The program was, at one time, available from the following organization:
National Energy Software Center \
Argonne National Laboratory | Note: this information is from
9700 South Cass Avenue | the above article and is over
Argonne, IL 60439 | seven years old...
(312)972-7250 /
A related article is:
"A practical general method for constructing LR(k) parsers", David Pager
Acta Informatica, vol. 7, pp. 249-268, 1977.
Hope this is of some use to you.
Phil Miller
Technical Details
Message-ID:
<3669@omepd>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!intelca!mipos3!omepd!pcmReferences:
<12582@sunybcs.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!intelca!mipos3!omepd!pcm From: pcm@iwarpj.intel.com (Phil C. Miller) Newsgroups: comp.lang.misc Subject: Re: LR (1) Parser/Generator Message-ID: <3669@omepd> Date: 19 Jul 88 17:59:07 GMT References: <12582@sunybcs.UUCP> Sender: news@omepd Reply-To: pcm@iwarpj.UUCP (Phil C. Miller) Organization: Intel Corp., Hillsboro Lines: 44