So I will try to get a blog going for my new OS project… is call sas4g (server side actionscript for groovy http://code.google.com/p/sas4g/). Why did i do it you ask? What a waste of time you might say.. Well i do a lot of java backend stuff and recently entering the world of flex and actionscript thinking is all designing mumbo jumbo. Meeting some people in this area is interesting.. there are some real hard core designers (and do some scripting to get by) and some real software engineers too. This project is where hopefully the 2nd camp will like. This should allow you to do some db programming in actionscript, decribe domain data in AS… It does involve a EBNF for actionscript which is what I am doing now (which be part of a interpretor).. Think I with start of with references to the java ones and expand from there… There is a project on sourceforge for this i will take a look at that and ENF web club.. http://cuiwww.unige.ch/db-research/Enseignement/analyseinfo/BNFweb.html will take a look at that too..
Using JavaCC to do the parser generator.. learning loads and always wanted to played with compilers and stuff now i have a chance \o/
This is interesting stuff. If you look in the flex sdk you can see an mxml java cc style grammar definition. that is all you can use unfortunately! The rest of the compiler is a custom implementation. There are scanners and parsers and a syntax tree, but the rest is quite different to the javacc style.
you could check out http://code.google.com/p/asdox/
it gets a little further than i did when trying to create my own grammar file.
it uses pyparsing which is quite a nice way of creating grammars
Awsome thx pal.. How is your AS3 checkstyle doing? When is the first release.. plost a link here?