help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make a new mode based on c++-mode


From: Robert Thorpe
Subject: Re: How to make a new mode based on c++-mode
Date: 1 Dec 2006 09:32:34 -0800
User-agent: G2/1.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]