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 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> 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 Dennis Boone 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