incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Om <bigosma...@gmail.com>
Subject Re: Project Goshawk [was Time for an Apache Flex compiler.]
Date Thu, 16 Feb 2012 20:10:08 GMT
David, from your pdf (yeah, I read it ;-) )

"To facilitate supporting multiple targets, Goshawk will not generate SWC
library files as
they can only be used by a compiler targetting SWFs. Instead, the
language-agnostic parsetree
generated by the ANTLR front-end will be used as a library file format.
This may be
stored in XML, JSON on binary format subject to future experimentation on
the best storage
form."

This sounds like a serious limitation - especially for Flex based library
projects which is a pretty important feature.  Can you please elaborate on
the workaround you hinted in your doc?

Thanks,
Om

On Thu, Feb 16, 2012 at 12:04 PM, David Arno <david@davidarno.org> wrote:

> On Thu, 2012-02-16 at 20:48 +0100, Roland Zwaga wrote:
> > not to throw a spanner in the works immediately but I was wondering if
> you
> > could
> > consider a different parser from ANTLR. There is a project called
> > Goldparser:
> > http://goldparser.org/
> > From what I understand this thing is the fastest on the block, faster
> than
> > ANTLR,
> > but I also admit that I haven't got real first-hand experience with it.
>
> Sounds fine to me Roland. To be honest, I've only ever seriously used
> lex and yacc, to generate C-based compilers, back in the day. I picked
> ANTLR because a couple of people suggested it, rather than because of
> any knowledge of it.
>
> I'll take a look at goldparser too therefore.
>
> David.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message