Let us know how it goes Alberto
A good test for your work may be to parse the whole JDK. I did a similar experiment a few
years ago. I used Smacc. I had to manually modify some files because the java parser in
the Java compiler is written by hand. And it permits things that are not expressed in the
grammar. For example:
class Foo {} ;
is accepted by the Java compiler, but it is hardly accessed by most grammars.
Cheers,
Alexandre
On 9 Sep 2010, at 11:55, Alberto Bacchelli wrote:
On 9/9/10 4:45 PM, Fabrizio Perin wrote:
Hi,
i'm soo sorry but it is not a secret/encrypted message. The idea was to send a mail
to Mircea picking up its email address from the mail about VB and this is the result :)
Really sorry for the spam!
By the way as far as i know there is nothing for VB in Moose but recently i got quite
impressed from the power of petit parser. I think that would be possible to setup a basic
VB parser with Petit Parser in a week.
I don't think it will be as easy as it seems.
PetitParser is great and simplifies a lot your life.
The problem is finding a reliable VB grammar to implement,
and creating the AST from the grammar.
I am working (although with a certain discontinuity) on
PetitJava and it is taking much time.
Alberto
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.