Direction

View: New views
4 Messages — Rating Filter:   Alert me  

Direction

by Apithefire :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


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

Re: Direction

by S'orlok Reaves :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



If I recall, 4 will be designed with unicode in mind
(although not actually unicode-enabled), will have
excellent transformations & syntax improvements
(allowing, say, multi-line comments to be expressed
with a single simple expression) and several other
improvements.

I've missed part of the discussion, though. Anyone
want to add to this?
-->Seth





--- bachew <apithefire@...> 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.
> > _______________________________________________
> SableCC-Discussion mailing list
> SableCC-Discussion@...
> http://lists.sablecc.org/listinfo/sablecc-discussion
>



     

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

Re: Direction

by Etienne M. Gagnon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.sablecc.org/listinfo/sablecc-discussion

signature.asc (265 bytes) Download Attachment

Re: Direction

by Apithefire :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll remember that. Thanks.

On Thu, Jul 3, 2008 at 11:40 PM, Etienne M. Gagnon <egagnon@...> 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@...
http://lists.sablecc.org/listinfo/sablecc-discussion



_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion
LightInTheBox - Buy quality products at wholesale price