unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Arjan Bos <Arjan.Bos@nospam.ISeeYou.nl>
Subject: Re: Generate major mode from Antlr source
Date: Sun, 02 Nov 2003 19:29:40 +0100	[thread overview]
Message-ID: <3fa54d1f$0$13881$1b62eedf@news.wanadoo.nl> (raw)
In-Reply-To: <jwv8yn2jtih.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca>

Stefan Monnier wrote:

>>Is there a package to generate the font-locking and indentation engine from
>>an antlr source-file?
> 
> 
> I don't think the ANTLR source is sufficient, but it would be interesting
> to know if someone has worked on doing that (with some side help to know
> what non-terminal deserves highlighting, for example).
> 
> Maybe a first step would be to generate a Semantic description and/or
> to setup the syntax-table.
> 
> 
>         Stefan

I thought about it a bit more, but it really is something that should be 
build into Antlr itself. I mean, parsing the file and creating 
emacs-mode code from it instead of java code should be more trivial than 
creating a elisp function that parses the antlr source from scratch.

But I'll think about it. Thanks for your reply.

-- 
--
If you really want to contact me, then replace the "I see you" text by 
its three letter accronym, ICU.

Fabricate Diem PVNC, Motto of the Night Watch -- Terry Pratchett

      reply	other threads:[~2003-11-02 18:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30  8:33 Generate major mode from Antlr source Arjan Bos
2003-10-30 21:40 ` Stefan Monnier
2003-11-02 18:29   ` Arjan Bos [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='3fa54d1f$0$13881$1b62eedf@news.wanadoo.nl' \
    --to=arjan.bos@nospam.iseeyou.nl \
    --cc=Arjan.Bos@ISeeYou.nl \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).