Author: muggenhor
Date: Thu Jul 3 20:55:06 2008
New Revision: 5359
URL: http://svn.gna.org/viewcvs/warzone?rev=5359&view=rev
Log:
Rewrite the code generator and parser for the database metalanguage to perform
less (or no) parsing in the code generators.
Instead we now have a two phase process:
* First parse and build an abstract syntax tree (AST)
* Secondly loop over the generated AST to produce useable code for the target
language.
NOTE: Currently only the C struct definition generator is rewritten to this new
architecture.
Modified:
trunk/build_tools/code-generators/c_structdef_cg.pm
trunk/build_tools/code-generators/db-lang.pl
trunk/build_tools/code-generators/test_code
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits