| Newsgroups |
gmane.emacs.cedet |
| Message-ID |
<[email protected]> |
David Engster <[email protected]> writes:
> However, the grammar format between Bovine and Wisent is actually pretty
> similar. The main difference are some details in the Lexer definitions,
> but they're not very hard to port. So starting a grammar in Bovine and
> then later porting it to Wisent is a possibility, but also has the
> danger that you'll be getting overwhelmed by conflicts, which you see
> earlier when you start with Wisent right away.
>
After looking at the example I think I could start directly with Wisent,
or just play a little bit with both and choose which one fit better to
me before start the actual work/fun.
>
> Well, you should definitely know some Emacs Lisp before diving into
> this. That aside, I recommend cloning the CEDET repository, where you'll
> find more examples and grammars to play with. Please see
>
> http://cedet.sourceforge.net/bzr-repo.shtml
I'm on that. In some workplace it would be easier to have a packaged cedet
because I've go access to the elpa/melpa and I can not clone the repo, however
copy/install is not difficult either.
>
> on how to get it. For instance, in lisp/cedet/semantic/wisent you'll
> find 'calc.wy', which is a port of the Calc example grammar from the
> Bison manual, as well as 'calc.el' which shows how to use it. For
> understanding the grammar format, the Bison manual is a very good
> resource - if you can write a Bison grammar, you shouldn't have too much
> trouble writing one for Wisent.
Thanks a lot to point me to those example they are very clear and
useful, I'm no more stuck.
> Good luck,
> David
Thank you very much David for your help.
Bix
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk