hi! hello develoeprs of andromda, i'm a newbie on the list. i've uploaded a tiny patch recently, but i have bigger plans...
i'm getting deeper in higher level languages (lisp, but especially http://slate.tunes.org which is very promising), and one thing i badly miss in java is n-level macros. but java is a must for enterprise development currently. so i found andromda, and it helps a lot. cool project! :) but before i've found andromda, i tought of a project very similar. i had two plans: one is implementing some parser extensions in slate and create a DSL (domain specific language) for UML navigation and templatized text generation. the other is a very similar one like andromda, except that i would have used http://www.beanshell.org for scripting. basically it's a java interpreter plus optianally relaxed typesystem and other things, tightly integrated with the java vm it's runnig in. you can very easily call java methods from the script and vica versa. i would also generate entire projects, with build.xml from template, etc... with beanshell you can do n-level macros easily as it basically brings eval to java, not that it's so important. what is a lot of help is that you can use the same language for generation... of course it would require some preparsing of the beanshell based templates to quote and backqoute the constant part. i tought of a simple java-neutral (or easily parsable) syntaxt for switching between execution context and constant text back and forth, even nested. so you could write a macro that iterates on strings, generates methods for each string and the method implementation iterates on the strings again and generates an implementation that calls all other methods. (silly example) maybe you can do that with velocity, too? but again it's not the primary reason why beanshell would be fun to have. so i am lookin at the possibility of integrating beanshell as a second language for templates. or even better, making andromda BSF aware (http://jakarta.apache.org/bsf/) that would bring at once several script languages for the templates. (i have no experience with these projects, yet) what do you think about these, have you looked at the possibility already? any design decisions, etc? yours, - 101 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
