Related articles |
---|
flex or lex gammar for HP/PCL and/or other Printer control languages davisken@mediaone.net (Ken Davis) (2002-01-18) |
Re: flex or lex gammar for HP/PCL and/or other Printer control langu fp@fpx.de (2002-01-24) |
From: | fp@fpx.de (Frank Pilhofer) |
Newsgroups: | comp.compilers |
Date: | 24 Jan 2002 13:56:09 -0500 |
Organization: | T-Online |
References: | 02-01-088 |
Keywords: | parse |
Posted-Date: | 24 Jan 2002 13:56:09 EST |
Ken Davis <davisken@mediaone.net> wrote:
>
> I'm hunting down a "pre-built" grammar for PCL and / or other printer
> control languages.
Once upon a time, I've written a tool that translates Kyocera Prescribe
into Postscript. It uses (f)lex and bison/yacc. See
http://www.fpx.de/fp/Software/p2p.html
> [Unless you want to parse the optional embedded pen plotter language,
> the syntax of PCL is awfully simple, with the interesting part being
> the semantics. You hardly need yacc. -John]
Right; same with Prescribe.
Frank
--
Frank Pilhofer ........................................... fp@fpx.de
Too often, people who want to offer sound advice give us more sound
than advice. - Alfred E. Neuman
Return to the
comp.compilers page.
Search the
comp.compilers archives again.