Re: [gtk-list] A description format for Gtk features
- From: Rob Browning <rlb cs utexas edu>
 
- To: gtk-list redhat com
 
- Subject: Re: [gtk-list] A description format for Gtk features
 
- Date: 04 Sep 1997 18:30:06 -0500
 
Marius Vollmer <mvo@zagadka.ping.de> writes:
> That's what I know and where I am confident that it can take us
> wherever we want to go today (tm).
But of course :>
> What about Perl?  Can it work with the above syntax?  How would a
> more Perl rendition look like?
Funny you should ask.  I just wrote a *very* small parser last night
in perl for handling a simple scheme-ish syntax (since perl's native
support for data files with any heirarchical structure is not so
good).
I'd be  glad to share it once I clean it up.  It's somewhat primitive,
and right now has to read the entire file into RAM to parse it, but
for most files that's not a problem.
It handles lists of strings, other lists, and numbers, and translates
them to perl references to lists of strings, references to other
lists, and numbers.
-- 
Rob
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]