|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^2: Code Generation in Perlby nferraz (Monk) |
| on Jun 19, 2004 at 09:19 UTC ( [id://368164]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Interestingly, that's exactly what I did in the first versions of auto_coder.
One of the problems with this approach is that we don't have an easy way to define broader project properties -- we're too focused on the database design. Moreover, we must write different scripts for different databases; with XML we can write a single source and generate different scripts. Another advantage of XML is the avaibility of modules like XML::Simple, which translates a XML source into a Perl data structure like this:
In other words, extending SQL with comments *was* my first approach, but it had its shortcomings.
In Section
Meditations
|
|
||||||||||||||||||||||||