Thanks Eric, thanks David, for your replies.
"Eric M. Ludlam" <eric@...> writes:
> If CSS is much like html, then you could probably just use
> xml-parse.el to do the work. That would really cut down on the work
> you need to do.
Unfortunately it isn't. The syntax seems rather to be inspired by C or
font-family: "Gill Sans", sans-serif;
> If not, Wisent is the best choice for writing an interpreter in Emacs
Indeed! This is the very first time that I deal with a parser
generator and I find it great. I need to figure some details out yet,
but I played a bit with the grammar for CSS and I think this is The
Right Thing. Thanks a lot for this tool!
> You could also use semantic-lex.el to do your lexing. It makes
> writing lexers pretty easy, but any lisp function that returns a
> token stream could work, including external programs that output
> Emacs Lisp lexical token expressions.
Too late. :-) I already wrote my lexer.
> Richard Stallman has expressed interest in this. As far as I know all
> introductory paper work is available to the FSF to do this. No one
> has taken the time to do the integration of the 1.4.4 version of
> Semantic. It is likely it will happen when the CEDET distribution is
> considered "stable" and released separately that such an integration
> will occur.
That's good news! Even for someone you knows a little bit Lisp like
me, it is nicer, if such a big package like Semantic is already
installed, set up and in sync with your Emacs. And if Wisent were part
of Emacs, I would not even have thought about not using it.
8 Brumaire an 212 de la Révolution
Liberté, Egalité, Fraternité!