Re: [cedet-semantic] Wisent independent of semantic?
Brought to you by:
zappo
|
From: David P. <dav...@wa...> - 2003-10-29 13:08:40
|
Hi Oliver, > What troubles me is that to me it seems that Wisent is not intended to > be used without Semantic. I downloaded the current Semantic beta > package. I have found no place to download Wisent separately and its > documentation is part of Semantic's documentation. But Semantic is a > rather big package that seems to do a lot more than just parsing. I > do not want to introduce too many dependencies. Wisent is designed to be used without Semantic even if I wrote it to be part of Semantic. In the wisent directory there is a small example in file wisent-expr.el of a such use. However you will loose the handy facilities that Semantic provides to write grammars in a Bison like format. In core Wisent, grammars have to be written in Lisp form. > As far as I can see (as I said, I have just started), I'd need only > wisent.el and---at compile time---wisent-comp.el to generate a parser > (I'd have to write my own lexer then?). Is that true? Will Wisent and > Semantic stay separate packages? Yes what you need is the parser engine in wisent.el and the parser generator in wisent-comp.el. What you need too is the working library from the cedet common package used by the parser generator to display progress messages. Of course, you have also to write a lexer suitable to your parser. > Any chance that Wisent will become part of GNU Emacs in the future? Let see ;-) David |