I just see there is a cedet-semantic mailing-list. I'll switch to it for my
future post.
Sorry for noise
On Sun, Apr 5, 2009 at 18:02, David Bernard <david.bernard.31@...:
>
>
> On Sun, Apr 5, 2009 at 17:50, Eric M. Ludlam <eric@...:
>
>> >>> David Bernard <david.bernard.31@...> seems to think that:
>> >> >>> david.bernard.31@... requires approval seems to think that:
>> [ ... ]
>> >> Writing a parser using wisent in cedet/semantic will give you the best
>> >> possible support for CEDET. Starting with a EBNF is a good way to
>> >> start. Such expressions have been converted to wisent parsers by
>> >> several different people.
>> >
>> >
>> >I'm a newbee, where can I find doc, sample about converting EBNF to
>> wisent
>> >parsers.
>>
>> I'm not sure what scala looks like, but if it is java like, then you
>> should start with cedet/semantic/wisent/wisent-java-tags.wy. There is
>> a big manual about using wisent in the semantic documentation in
>> cedet/semantic/doc.
>>
>> Since wisent is a port of bison, the bison manual is a start for
>> understanding what it is that wisent is doing.
>>
>> >> I'm not sure what the last question is about. If you mean selecting
>> >> between things like tempo or skeleton modes, then naturally I
>> >> recommend srecode (in CEDET.)
>> >
>> >
>> >Sorry my last point is about template for adding a lang support to
>> semantic.
>> >should I start from java support (in bovine) or from skeleton ?
>>
>> There are also SRecode macros for wisent, so srecode mode can fill in
>> a new empty .wy buffer to get you started. Starting from something
>> like the java parser could work. I find that it can be confusing to
>> start that way unless scala is so-much like java that it might almost
>> work as is. I tend to program iteratively, starting with a tiny test
>> file, and getting that to work. Then add small pieces one at a time.
>
>
> Thanks for your advice, I'll try to start the scala support. Scala is
> richer than Java (closure, pattern matching, "struct",...) but it's a good
> place to start. I'll try to tun cedet over a java project to see the
> feature.
>
> I'm new to emacs and Co so I'll need time to progress, Sorry for my future
> stupid questions.
>
> /davidB
>
>
>>
>> Good Luck
>> Eric
>>
>> --
>> Eric Ludlam: eric@...
>> Siege: http://www.siege-engine.com Emacs:
>> http://cedet.sourceforge.net
>>
>
>
|