Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #409

Re: Parser generator

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!nerds-end
From glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups comp.compilers
Subject Re: Parser generator
Date Sun, 8 Jan 2012 21:58:47 +0000 (UTC)
Organization Aioe.org NNTP Server
Lines 23
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <12-01-010@comp.compilers> (permalink)
References <12-01-009@comp.compilers>
NNTP-Posting-Host news.iecc.com
X-Trace leila.iecc.com 1326260536 37092 64.57.183.58 (11 Jan 2012 05:42:16 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Wed, 11 Jan 2012 05:42:16 +0000 (UTC)
Keywords parse, PL/I
Posted-Date 11 Jan 2012 00:42:16 EST
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref x330-a1.tempe.blueboxinc.net comp.compilers:409

Show key headers only | View raw


Dennis Boone <drb@msu.edu> wrote:

> I'm looking for a parser generator that generates output in PL/I.
> That is, in the same way that there are variants of yacc that generate

(snip)

> [In the 35 years I've been in this biz, I've never seen one.  It wouldn't
> be hard in principle to translate the parser skeleton in bison or yacc to
> generate PL/I, but it'd still be a chunk of work. -John]

One reason that I learned C was that none of the computers I was using
at the time had PL/I compilers. PL/I was much more fun to write than
Fortran 66 or even Fortran 77.

Most C statements should translate fairly easy into PL/I, such that
you could almost do it statement by statement.

Not having actually looked at the code recently, it might be that it
could be done using an automated system of some kind, possibly even
written with flex and yacc (or bison).

-- glen

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Parser generator drb@msu.edu (Dennis Boone) - 2012-01-08 11:47 -0600
  Re: Parser generator glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-01-08 21:58 +0000
    Re: Parser generator arnold@skeeve.com (Aharon Robbins) - 2012-01-11 20:06 +0000
      Re: PL/I, was Parser generator drb@ihatespam.msu.edu (Dennis Boone) - 2012-01-11 16:19 -0600
      Re: PL/I, was Parser generator Robert AH Prins <robert@prino.org> - 2012-01-11 23:42 +0000
      Re: programming in PL/I compilers@is-not-my.name - 2012-01-12 16:30 +0000
        Re: programming in PL/I Robert AH Prins <robert@prino.org> - 2012-01-14 09:20 +0000
        Re: programming in PL/I "Derek M. Jones" <derek@_NOSPAM_knosof.co.uk> - 2012-01-14 14:08 +0000
          Re: programming in PL/I glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-01-15 01:01 +0000
            Re: programming in PL/I glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-01-15 11:36 +0000
    Re: Parser generator for PL/I "robin" <robin51@dodo.com.au> - 2012-01-15 02:00 +1100
      Re: Parser generator for PL/I drb@ihatespam.msu.edu (Dennis Boone) - 2012-01-14 23:40 -0600
  Re: Parser generator SLK Systems <slkpg3@gmail.com> - 2012-01-08 20:26 -0500
    Re: Parser generator glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-01-11 07:22 +0000
      Re: Parser generator SLK Systems <slkpg3@gmail.com> - 2012-01-11 20:28 -0500

csiph-web