[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl module to read config files?



"Jens B. Jorgensen" <jjorgens@bdsinc.com> writes:

> Sounds like a perfect job for bison and flex. Having looked at the syntax of
> the new files I'm guessing they follow a nice, strict (easy to program for)
> syntax. If you get the source it's probably got a parser embedded in it. It
> shouldn't be difficult to translate c to perl.

Heck, if it's got a yacc-based parser in the source, user perl-byacc (from
CPAN) and generate the parser directly in perl.

-- 
Stephen
---
"Normality is a statistical illusion." -- me


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: