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


Groups > comp.compilers > #420

Re: Parser generator for PL/I

From "robin" <robin51@dodo.com.au>
Newsgroups comp.compilers
Subject Re: Parser generator for PL/I
Date 2012-01-15 02:00 +1100
Organization Compilers Central
Message-ID <12-01-021@comp.compilers> (permalink)
References <12-01-009@comp.compilers> <12-01-010@comp.compilers>

Show all headers | View raw


> From: "Dennis Boone" <drb@msu.edu>
> Sent: Monday, 9 January 2012 4:47 AM

> 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
> Pascal or Perl or Java, I want "pl1yacc" (or pl1antlr or pl1eli or
> .... you get the idea.)

> Anyone know of such a tool?

Have you looked at XPL?

The output is almost PL/I.

The XPL translator-writing system consists of a compiler, XPL, a
grammar analysis program that accepts a definition of the desired
language expressed in BNF, and other tools.  The analyser produces the
required parse tables etc.

Details are contained in McKeeman, Horning, and Wortman,
"A Compiler Generator", published by Prentice-Hall in 1971.

For more info on the history of the system, see
http://en.wikipedia.org/wiki/XPL

One of the URLs there is a link to XPL software.
A PL/I version of the XPL compiler is available.

The Analyser could be readily modified to produce its output in PL/I,
(and of course, the output--which is in XPL--could in any case be modified
as it it reasonably close to PL/I anyway).

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


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