Re: converting a BNF to PRD

[email protected] ((Randal L. Schwartz)) 14 Jan 2004 12:45:27 -0800
Newsgroups perl.recdescent
Organization Stonehenge Consulting Services; Portland, Oregon, USA
Message-ID <[email protected]>
>>>>> "Jim" == Jim Cromie <[email protected]> writes:

Jim> Ive been toying recently with PRD, Im new at it, and would like a
Jim> reality check
Jim> Im trying to use it to convert one BNF flavor into a form that can be
Jim> fed into PRD,
Jim> with the resulting parser being used to parse SQL

I converted a random-BNF-like language to Spew (very close to PRD's input)
using PRD for <http://www.stonehenge.com/merlyn/LinuxMag/col04.html>.

See Listing Three, and be sure to read the annotations earlier.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!