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


Groups > comp.compilers > #1892

Re: XPL Analyzer

From George Neuner <gneuner2@comcast.net>
Newsgroups comp.compilers
Subject Re: XPL Analyzer
Date 2017-06-09 13:20 -0400
Organization A noiseless patient Spider
Message-ID <17-06-011@comp.compilers> (permalink)
References <17-06-002@comp.compilers> <17-06-006@comp.compilers> <17-06-007@comp.compilers>

Show all headers | View raw


On Wed, 7 Jun 2017 18:56:44 -0700 (PDT), Shoefoot <shoefoot@gmail.com>
wrote:

>  :
>The XPL grammar analyzer
>generates something the author called MSP tables. I was thinking it
>would be more useful if it generated LALR tables. Since I am in the
>process of writing an XPL compiler I thought I could modernize the
>grammar analyzer with something that would make the package more
>useful.

In that case, (our moderator) John's suggestion is probably best ...
if you have the grammar, then plug it into an (LA)LR tool and have it
generate tables for you.

I'm not familiar with the book you mentioned, but if a grammar is
provided [even if not in EBNF], it should be possible to translate it
for a modern tool.

I don't know how exactly XPL differs from PL/I, but PL/I grammars are
available from a number of sources.  You might find something that is
easier to work with than what is in the book.

George
[XPL is a PL/I subset cut down so it's reasonably easy to compile
and can generate fast code because it doesn't have to deal with all
of PL/I's corner cases.  It's the first of a long line of such
languages from Cornell's PL/C to IBM's PL.8 -John]

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


Thread

XPL Analyzer Shoefoot <shoefoot@gmail.com> - 2017-06-05 01:48 -0400
  Re: XPL Analyzer "Robin Vowels" <robin51@dodo.com.au> - 2017-06-05 20:28 +1000
  Re: XPL Analyzer George Neuner <gneuner2@comcast.net> - 2017-06-05 22:17 -0400
    Re: XPL Analyzer Shoefoot <shoefoot@gmail.com> - 2017-06-07 18:56 -0700
      Re: XPL Analyzer mac <acolvin@efunct.com> - 2017-06-08 17:13 +0000
      Re: XPL Analyzer George Neuner <gneuner2@comcast.net> - 2017-06-09 13:20 -0400
        Re: XPL Analyzer Hans-Peter Diettrich <DrDiettrich1@aol.com.dmarc.email> - 2017-06-13 06:45 -0400
      Re: XPL Analyzer Ben Hanson <jamin.hanson@googlemail.com> - 2017-07-30 14:01 -0700

csiph-web