[metaas-dev] Integration to Violet UML, 2 bugs

Adam Breindel adbreind at gmail.com
Wed Jun 27 18:55:18 UTC 2007


Greetings,

I wanted to announce that I've done a quick 0.1 integration of metaas
0.7 into Cay Horstmann's Violet UML modeling tool.

The result lets you build class diagrams in Violet and export
ActionScript 3 code.

Thanks to David and everyone else who has contributed to metaas – it's
a great world where you can google for a code manipulation library for
a relatively newish language like AS3 and find brilliant people who
have done the heavy lifting just because it's fun.

My post about the Violet AS3 Gen stuff is here
http://skipmeamadeus.blogspot.com/2007/06/free-actionscript3-code-generation-from.html

Also wanted to mention 2  bugs I came across. Apologies in advance if
these are well-known issues on the mailing list.

First, absence of "protected" visibility. I took a quick hack at
changing the ANTLR grammar, building, and swapping in new Lexer/Parser
classes, and adjusting metaas a little, thinking this would be
trivial. It probably is, but I think I'm too much of an ANTLR n00b to
get it to work. The resulting code did run, but had a bunch of
problems parsing at runtime, so obviously I broke something. I'll
probably circle back on this at some point.

Second, when metaas writes out interface code to a file, it is missing
a space between the package keyword and the package name: e.g.,

packageVASGenDefault{
…

Thanks again though for all fabulous stuff that works perfectly in metaas!

Adam Breindel



More information about the metaas-dev mailing list