From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: How to make a new mode based on c++-mode
Date: 1 Dec 2006 09:32:34 -0800 [thread overview]
Message-ID: <1164994354.840698.192150@n67g2000cwd.googlegroups.com> (raw)
In-Reply-To: <mailman.1403.1164993075.2155.help-gnu-emacs@gnu.org>
Helfer Thomas wrote:
> Hello,
>
> I have created a parser which translates a file into C++ source code.
> The initial file has a syntax very close to C++ with some additional
> keywords.
>
> I would like to provide an emacs mode for editing those files.
>
> For the moment I have written this :
Read awk-mode.el in the GNU Emacs distribution. Awk is a pattern
matching language very similar to C in syntax. Emacs supports it by
defining a derived mode from C mode, it manages to do it in ~100 lines
of elisp.
next parent reply other threads:[~2006-12-01 17:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1403.1164993075.2155.help-gnu-emacs@gnu.org>
2006-12-01 17:32 ` Robert Thorpe [this message]
[not found] <mailman.1412.1165007734.2155.help-gnu-emacs@gnu.org>
2006-12-04 16:10 ` How to make a new mode based on c++-mode Robert Thorpe
2006-12-01 21:15 Helfer Thomas
-- strict thread matches above, loose matches on Subject: below --
2006-12-01 17:11 Helfer Thomas
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=1164994354.840698.192150@n67g2000cwd.googlegroups.com \
--to=rthorpe@realworldtech.com \
/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).