Proposal for "CodeGen"

» Metadata » Status
» Description
CodeGen is a code generator framework. It provides base classes for general code generation tasks that code generators like pecl-gen can build upon.

CodeGen contains the parts of the current PECL_Gen package that are not PECL specific.
This includes:

* a XML parser framework that parses a file format inspired by PEARs package.xml
specific code generators can add custom tags to it at any point later

* a commandline tool helper class simplifying the creation of an actual code generator tool

* code specific string functions like indent, tabify, untabify ...

* ...

Currently two different packages exist that build upon CodeGen:

* CodeGen_PECL: a code generator for PECL extensions (cleaned up version of PECL_Gen)

* CodeGen_Mysql_UDF: a code generator for MySQL User Defined Functions

CodeGen itself is only a framework, to test it out you need one of the packages
mentioned above. These packages will be proposed seperately
» Dependencies » Links
  • XML_Parser
  • Console_Getopt
» Timeline » Changelog
  • First Draft: 2005-07-03
  • Proposal: 2005-07-03
  • Call for Votes: 2005-07-10