I think it would be great if you guys would like to tackle a PHP
grammar for Semantic.
The documentation for Semantic is a a bit weak. If you guys don't
mind, it would be a great opportunity for me if you would tackle this
problem by starting with the doc, and asking questions on this list.
I would like to then answer your questions by directly updating the
doc, and posting updates to CVS in an attempt to help you. Hopefully,
at the end of the process, the doc would then have a better flow that
would lead the next person through without much needed help.
The side effect would be that it would take a bit longer to get
Anyway, the first question was what to do with your bison grammar.
The basic idea is to write a semantic lexer and a "wisent" grammar
from your existing pieces.
Please start in the info file "semantic.info". Let me know if you run
into any problems finding what you need, and I'll fix it.
Once you have some code, if you would like a place in CVS for it,
let me know.
>>> "Bas Kok" <bakotaco@...> seems to think that:
>Hi Ivan and others,
>On 8/9/07, Ivan Gomez Rodriguez <igomez@...> wrote:
>> Hi, I want to get php support for semantic, because i like to use ecb in
>> my daily work with php.
>> I've a lexer and parser for PHP flex and bison format (from phc, a php
>> compiler). What can i do in order to get a, for example, a wisent PHP
>> I've no experience with elisp and i had no concrete information about
>> this issue.
>A friend of mine (Hi, Rohan) and me also had the idea of adding php
>support to semantic, however our plan has never passed the conceptual
>phase. As I'm also bound to (painstakingly) using php for my day job I
>also would like to see this. I already know a little elisp, however
>never got around to dive into the cedet code yet. What would be good
>starting points? @Ivan: perhaps it's an idea to team up on this.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org