-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The code generation scripts genArrayMath.sh and genArrayUtil.sh are becoming unmanageable. In particular the resultant .java files need associated unit tests, but construction of these will be painful using the current system. Further, it is not fitting with the maven best practice to include generation scripts within the /src/main/java hierarchy.
There seems to be three major contenders in the Java templating for code generation field:
- Velocity
- Apache project.
- Largest user-base, probably because of the previous point.
- Freemarker
- Alleged to be faster, not that I care about that for this use-case.
- StringTemplate
- MVC nazis, but possibly in a good way. Will require doing things properly or not at all.
- Used by ANTLR parser generator, so obviously it copes well with source generation.
Over all there doesn't seem to be a huge amount of difference between these libraries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels