[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Direction



I'll remember that. Thanks.

On Thu, Jul 3, 2008 at 11:40 PM, Etienne M. Gagnon <egagnon@xxxxxxxxx> wrote:
Hi Bachew,

You can start your project with version 2 or 3. Version 4 is just more powerful and has a somewhat different syntax to eventually accommodate Unicode identifiers, and simplify other things, as Seth wrote. What you will learn with versions 2 or 3 won't be lost. Migration should be easy (at least, I hope so). As SableCC 4 will have a flexible back-end, it will be possible to try to tweak it into producing as similar as possible code to previous versions.

Of course, some things will be different in version 4, but as long as you keep away from the following, you should be quite safe:
1- Extensively using Lexer states.
2- Overriding filter methods.

Have fun!

Etienne


bachew wrote:
I'm starting a project that requires to me parse java source code (1.5 and above). It will be a long journey with SableCC, I'm wandering how much would version 3 and version 4 differs? I would like to get used to latest version since by the time SableCC becomes stable my project will be stable as well.

--
Etienne M. Gagnon, Ph.D.
SableCC:                                            http://sablecc.org
SableVM:                                            http://sablevm.org



_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@xxxxxxxxxxxxxxxxx
http://lists.sablecc.org/listinfo/sablecc-discussion