Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Object Query Languages and Parsersby kvale (Monsignor) |
on Apr 21, 2006 at 21:54 UTC ( [id://544990]=note: print w/replies, xml ) | Need Help?? |
Regarding object query langugages, you might look at the CORBA system. As an object request broker, it needs to be fast, so the syntax is pretty simple. Of course, it may be too low level, but will give you ideas.
With regard to parsing, I would first create a grammar. I find Parse::RecDescent too slow when speed is of the essence. Writing your own top-down parser should speed things up and for a small grammar, it should be be easy to maintain as well. Top-down parsers are constructed from a grammar as follows:
-Mark
In Section
Seekers of Perl Wisdom
|
|