[antlr-interest] starting with language translation

Ana Nelson nelson.ana at gmail.com
Fri Mar 14 08:16:39 PDT 2008


I have to say that this thread really clarified a lot of points for me. I'm
reasonably proficient with the basics of ANTLR but my applications have all
been simple line-based parsing so I haven't had a need for ASTs. This
discussion made their purpose a lot more clear to me. Thanks everyone. :-)



On 14/03/2008, benzo <benzofurans-mail001 at yahoo.com> wrote:
>
> hi dave
> I sent you some questions about metaas in your mailinglist.
>
>
> //benzo
>
>
> On Fri, Mar 14, 2008 at 1:35 PM, David Holroyd
> <dave at badgers-in-foil.co.uk> wrote:
> > On Fri, Mar 14, 2008 at 11:05:49AM +0100, benzo wrote:
> >  > funny you mention this. I once tried to grock
> >  > http://www.badgers-in-foil.co.uk/projects/as2api/
> >
> >  Cool!  That project, being Ruby-based and targeting ActionScript 2
> >  (rather than ActionScript 3), is completely unrelated to 'metaas'.
> >
> >
> >
> >  > I think it also has some parser lexer functionality in it.
> >  > The problem is I couln't figure out how as2api works. As I'm new to
> >  > ruby I also didn't manage to debug it.
> >
> >  Yes, it uses a hand-rolled lexer (based on regexps) and a hand coded
> >  recursive descent parser.
> >
> >   http://svn.badgers-in-foil.co.uk/as2api/trunk/as2api/lib/parse/
> >
> >
> >
> >  > IYHO could as2api be something that is interesting to me?
> >
> >  Well, if...
> >
> >   1) your Java skills are stronger than your Ruby skills
> >   2) you want ActionScript 3, rather than ActionScript 2
> >   3) you want to generate, rather than parse AS3 code
> >
> >  ...then you should be looking at metaas, rather than trying to pick
> bits
> >  out of as2api.  You are certainly welcome to use as2api code if you
> >  want, but I've not done anything with the project in a looooong time
> >  now.
> >
> >
> >
> >
> >
> >  ta!
> >  dave
> >
> >  --
> >  http://david.holroyd.me.uk/
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080314/7318addb/attachment-0001.html 


More information about the antlr-interest mailing list