Java math with roman numbers…
Hi all,
just found this page: For.example
This is a nice way of getting into JavaC for making a java pre-processor. Along with Compiler Annotations and Groovy this is a real good change to realize uncommon Java solutions for DSLs, shortcuts, code generation and many other things. I really should fire up my eclipse @ home for my pet projects and give it a try.
Greetz, GHad
2 comments so far
Leave a reply
If you fire up eclipse, make sure to compile your code with Sun’s javac and not the internal compiler of Eclipse. The hack uses internal classes of Sun’s implementation.
PS how do you do the fancy syntax highlighting on your blog? Is this a WordPress plugin?
cheers,
AA
None I know of… I simply used the feature provided from WordPress: http://faq.wordpress.com/2007/09/03/how-do-i-post-source-code/
This works by default. And thanks for the compiler reminder. I want to try out soon, but I’m stuck with hardware assambling at the moment.
Greetz, GHad