[PROPOSAL] UDF_Gen for MySQL UDF extensions
| From: | Hartmut Holzgraefe | Date: | Sun, 12 Oct 2003 15:13:05 +0000 |
| Subject: | [PROPOSAL] UDF_Gen for MySQL UDF extensions | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-22614@lists.php.net to get a copy of this message | ||
UDF_Gen is a C code generator based on the PECL_Gen package
that generates ready-to-compile MySQL User Defined Function
(UDF) extensions from an XML description with embedded code
snippets
a first draft is available at
http://www.zugeschaut-und-mitgebaut.de/php/UDF_Gen-0.1.0.tgz
a small example creating two simple functions is available as
http://www.zugeschaut-und-mitgebaut.de/php/example.xml
a more complete example implementing some of the Oracle SQL
functions missing in MySQL is available as
http://www.zugeschaut-und-mitgebaut.de/php/ora_funcs.xml
this example also requires
http://www.zugeschaut-und-mitgebaut.de/php/oracle_date.l
UDF_Gen requires PECL_Gen version 0.8.1 (released today)
and GNU autoconf, automake and libtool
right now UDF_Gen uses a lot of functionality from PECL_Gen,
in the long run these generic C code generation functionality
should IMHO be moved to a seperate CodeGenerator_C package
within PEAR
the names UDF_Gen and CodeGenerator_C are quick shots for
now, any suggestions for better names are highly appreciated
--
Hartmut Holzgraefe <hartmut@php.net>