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


Groups > comp.compilers > #409

Re: Parser generator

From glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups comp.compilers
Subject Re: Parser generator
Date 2012-01-08 21:58 +0000
Organization Aioe.org NNTP Server
Message-ID <12-01-010@comp.compilers> (permalink)
References <12-01-009@comp.compilers>

Show all headers | 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