Re: [CEDET-devel] php for cedet
Brought to you by:
zappo
From: Suraj A. <sac...@gm...> - 2007-05-03 18:56:25
|
Also look at Nxhtml mode, which builds on nxml-mode. http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html It supposedly has support for "PHP, CSS, JavaScript, eRuby, [and] JSP". It requires Emacs 22 however, and you have to convert your any existing html to xhtml http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html#tidy I've not used it much myself, but I use nxml-mode a lot and find it very useful. Suraj On 5/3/07, Eric M. Ludlam <er...@si...> wrote: > If I remember rightly, PHP has mixed-mode issues, meaning you mix > html and php code together. You should investigate emacswiki.org and > look at mmm-mode, multi-mode, or one of the other options. One of > them should have setups for php/html. > > For CEDET/semantic, I don't know how to combine the two modes together > via one of the multi-modes. It should be straight forward to combine > a regexp based parser (for html) with a PHP wisent parser. Start w/ > PHP code w/out html, and get a wisent parser working there. See the > nice wisent manual to get started, and perhaps a simple grammar like > the one for awk, calc, or cogre/wisent-dot.wy. > > Once you have something like that, we can devise a way to combine it > w/ the existing html parser. This would be useful, as I suspect there > are some folks out there who would like the same features w/ > javascript. > > Good Luck > Eric > > >>> Rohan Nicholls <roh...@go...> seems to think that: > >Hi all, > > > >I have been lurking on this list for a while, and have been reading the > >mails, while I get the gumption up to face getting cedet and php working > >together. > > > >As far as I can tell, this means first getting semantic to parse/process > >php properly, and other than that I am not sure. > > > >Could anyone guide me as to what I would need to do to get this to > >happen? I have checked out the stuff for java as I thought that would > >be pretty close syntactically at least. I have thought about what would > >be needed for something like cedet to do its thing, so I think I have a > >fairly good idea of what needs to be covered. > > > >Thanks in advance, all. A friend/colleague of mine would like to chip > >in, so that could make things happen. My elisp skills don't suck, but I > >am no guru (yet). > > > >One of the reasons for this is to have a viable (read: emacs based) > >option to the zend studio ide closed source bloatware, so we are fairly > >motivated, as my first trial of it, was less than revelatory. :) > > > >Rohan > [ ... ] > > -- > Eric Ludlam: za...@gn..., er...@si... > Home: http://www.ludlam.net Siege: www.siege-engine.com > Emacs: http://cedet.sourceforge.net GNU: www.gnu.org > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Cedet-devel mailing list > Ced...@li... > https://lists.sourceforge.net/lists/listinfo/cedet-devel > |