Re: [PROPOSAL] UDF_Gen for MySQL UDF extensions
| From: | Hartmut Holzgraefe | Date: | Mon, 13 Oct 2003 08:20:49 +0000 |
| Subject: | Re: [PROPOSAL] UDF_Gen for MySQL UDF extensions | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22633@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
Out of interest how abstracted is the XML parser from the generator.. - I've been toying with a C Parserthe interface between parser and generator should be flexible enough to allow for input from different sources. i had support for other file formats and for interactive tools in mind when i created it while moving fom ex_skel_ng to PEAR::PECL_Gen the parser just collects attributes and data and passes them on to the appropriate setter methods in the Extension and Element classes, within the parser itself i tried to restrict program logic to tag structure and attributes checking the job is not completeyl done yet as the parser to use is still hardcoded in the pecl-gen and udf-gen scripts but at least in theory the infrastructure for supporting different input formats is already there. XML was just my first choice because a parser for this was already available in PHP and PEAR -- Hartmut Holzgraefe <hartmut@php.net>