all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
To: joakim@verona.se
Cc: lennart.borgman@gmail.com, rms@gnu.org, emacs-devel@gnu.org
Subject: Re[2]: CEDET, DL & parsing thoughts
Date: Tue, 2 Sep 2008 16:01:33 -0400	[thread overview]
Message-ID: <200809022001.m82K1XnV025208@projectile.siege-engine.com> (raw)
In-Reply-To: <m3wshuliid.fsf@verona.se> (joakim@verona.se)

>>> joakim@verona.se seems to think that:
>"Richard M. Stallman" <rms@gnu.org> writes:
>
>>     This is true now for what is in CEDET.  There are already 6 grammars
>>     that work pretty well that enthusiasts of a particular language have
>>     written.  (Erlang, python, csharp, javascript, 2 php parsers, and
>>     ruby.)
>>
>> I note the absence of C and C++.  I guess that's because their grammar
>> is so complex that the job would be hard to do.  But it is a real
>> shame to support Microsoft's language, C#, and not support Java.
>> Can you recruit someone to support Java?
>>
>> Also we need Emacs Lisp and Scheme?
>
>cedet/semantic/wisent/wisent-java.wy
>cedet/semantic/wisent/wisent-java-tags.wy
>cedet/semantic/wisent/wisent-awk.wy
>cedet/semantic/wisent/wisent-calc.wy
>cedet/semantic/wisent/wisent-python.wy
>cedet/semantic/wisent/wisent-cim.wy
>cedet/semantic/wisent/wisent-c.wy
>cedet/semantic/semantic-grammar.wy
>cedet/cogre/wisent-dot.wy
>cedet/contrib/wisent-ruby.wy
>cedet/contrib/wisent-javascript-jv.wy
>cedet/contrib/wisent-php.wy
>cedet/contrib/wisent-csharp.wy
>cedet/srecode/srecode-template.wy
>
>
>So, I think Eric meant the files in "contrib" whereas Cedet supports all
>the grammars above, including Java and C.

Yes.  I was trying to point out that it is easy to support a language
using CEDET/Semantic by the existence of the 6 grammars which *I* did
not write.  The question I was trying to answer was if only super
hackers could support a language, so I was trying to point this out
that there are 6 regular hackers who have been successful.  There are
only two such hand crafted all Elisp super-parsers that I know of,
thus justifying the model I had proposed.  This, of course, assumes I
am a super-hacker.  I would rather think I'm just more familiar with
CEDET internals than most. :)

I, and other core CEDET developers have, as joakim pointed out above,
implemented many other grammars.  Missing from joakim's list are:

cedet/semantic/bovine/make.by
cedet/semantic/bovine/scheme.by
cedet/semantic/bovine/c.by     ; also has c++

plus a hand-written grammar for Elisp.  (I skipped the grammar
compilation step, and just typed in compiler compiler style output.)

There are also some regexp based grammars for html and texinfo, and
grammars for the grammar files.

>(I contributed the javascript grammar, and I intend to move it to the
>Cedet core, so it also will be included when Cedet is merged in Emacs
>CVS.)
  [ ... ]

If you have signed this stuff over, let me know and I'll move it.

Thanks
Eric




  reply	other threads:[~2008-09-02 20:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-30  1:53 CEDET, DL & parsing thoughts (was Re: Release plans) Eric M. Ludlam
2008-08-30  2:24 ` Lennart Borgman (gmail)
2008-08-30  9:04   ` Re[2]: CEDET, DL & parsing thoughts (was " Eric M. Ludlam
2008-09-02 14:13     ` Richard M. Stallman
2008-09-02 14:39       ` CEDET, DL & parsing thoughts joakim
2008-09-02 20:01         ` Eric M. Ludlam [this message]
2008-09-03  2:41           ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200809022001.m82K1XnV025208@projectile.siege-engine.com \
    --to=eric@siege-engine.com \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    --cc=lennart.borgman@gmail.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.