From adbreind at gmail.com Wed Jun 27 18:55:18 2007 From: adbreind at gmail.com (Adam Breindel) Date: Wed, 27 Jun 2007 11:55:18 -0700 Subject: [metaas-dev] Integration to Violet UML, 2 bugs Message-ID: <7c4d6d3e0706271155vabdda58ie8e0267809402d8d@mail.gmail.com> 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 From dave at badgers-in-foil.co.uk Wed Jun 27 22:29:02 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Wed, 27 Jun 2007 22:29:02 +0000 Subject: [metaas-dev] [SVN metaas] add required whitespace after 'package' keyword Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070627/32095917/attachment.htm From dave at badgers-in-foil.co.uk Wed Jun 27 22:58:48 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Wed, 27 Jun 2007 22:58:48 +0000 Subject: [metaas-dev] [SVN metaas] expose support for 'protected' and 'internal' keywords Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070627/24969d4b/attachment.htm From dave at badgers-in-foil.co.uk Wed Jun 27 23:23:59 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 27 Jun 2007 23:23:59 +0000 Subject: [metaas-dev] Integration to Violet UML, 2 bugs In-Reply-To: <7c4d6d3e0706271155vabdda58ie8e0267809402d8d@mail.gmail.com> References: <7c4d6d3e0706271155vabdda58ie8e0267809402d8d@mail.gmail.com> Message-ID: <20070627232358.GA10327@badgers-in-foil.co.uk> On Wed, Jun 27, 2007 at 11:55:18AM -0700, Adam Breindel wrote: > 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. Wow. Rock! > 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. Ok, I've just added support for the 'protected' keyword (and 'internal', while I was at it). > 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{ Ah, thanks for pointing that out. I've committed a fix to the Svn trunk for that too. The trunk currently has a bunch of unfinished stuff relating to expression handling, so I can't really do a release just yet. Also, I lost a bit of work on that area due to an HDD failure a while back, and haven't really been working with the metaas code since then (it was a bit demotivating). I *have* been hacking on my wsdl2as compiler recently though, and that's a totally metaas-based project, so I should get back to this at some point. If you want to try out the fixes, the codebase from the trunk should be working (the unit tests all pass, anyway) ta, dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Thu Jun 28 07:42:12 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Thu, 28 Jun 2007 07:42:12 +0000 Subject: [metaas-dev] [SVN metaas] name-check some more related projects References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070628/ac624d78/attachment-0001.htm From dave at badgers-in-foil.co.uk Thu Jun 28 21:08:51 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Thu, 28 Jun 2007 21:08:51 +0000 Subject: [metaas-dev] [SVN metaas] minor javadoc fix References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070628/80f9afde/attachment.htm