Re: Make an editor for a language

Kenn Heinrich <heinrich@idirect.com>
2 Mar 1999 14:08:24 -0500

          From comp.compilers

Related articles
Make an editor for a language dfsgm@tin.it (Davide Marino) (1999-02-27)
Re: Make an editor for a language dwight@pentasoft.com (1999-02-28)
Re: Make an editor for a language anton@mips.complang.tuwien.ac.at (1999-03-02)
Re: Make an editor for a language maratb@CS.Berkeley.EDU (Marat Boshernitsan) (1999-03-02)
Re: Make an editor for a language heinrich@idirect.com (Kenn Heinrich) (1999-03-02)
Re: Make an editor for a language dontspamger@informatik.uni-bremen.de (George Russell) (1999-03-04)
Re: Make an editor for a language mzraly@world.std.com (1999-03-04)
| List of all articles for this month |

From: Kenn Heinrich <heinrich@idirect.com>
Newsgroups: comp.compilers
Date: 2 Mar 1999 14:08:24 -0500
Organization: via Internet Direct
References: 99-02-130 99-02-133
Keywords: tools

On 27 Feb 1999 22:54:18 -0500, "Davide Marino" <dfsgm@tin.it> wrote:


>I need make an editor for a programming language.


Try taking a look at the stuff in the Gnu Emacs source
distribution. Emacs supports colour syntax highlighting and
language-specific modes (smart indenting, locating syntax contructs,
matching parentheses, etc.) though a lot of bolt-on modes. LISP
source for many modes (C, C++, asm,...) is included in the standard
distribution.


I'm not sure how they *really* work, but they *seem* to use some
heuristics to find major points in the syntax (e.g start of functions)
and then do real parsing from there.


--
------------------------------------------------------------
Kenn Heinrich heinrich@idirect.com


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.