From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: State-machine based syntax highlighting Date: 7 Dec 2006 06:39:33 -0800 Organization: http://groups.google.com Message-ID: <1165502373.932709.15860@79g2000cws.googlegroups.com> References: <1165472049.496117.320630@79g2000cws.googlegroups.com> <1165488825.132862.189340@79g2000cws.googlegroups.com> <1165492567.864982.59980@79g2000cws.googlegroups.com> <1165495364.560960.271250@f1g2000cwa.googlegroups.com> <1165501630.172348.157180@j72g2000cwa.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1165502486 697 80.91.229.10 (7 Dec 2006 14:41:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 14:41:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 07 15:41:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsKR9-0008KM-AC for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Dec 2006 15:41:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsKR8-0004ct-S9 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Dec 2006 09:41:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!79g2000cws.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 213.94.228.210 Original-X-Trace: posting.google.com 1165502380 29916 127.0.0.1 (7 Dec 2006 14:39:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 7 Dec 2006 14:39:40 +0000 (UTC) In-Reply-To: <1165501630.172348.157180@j72g2000cwa.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: 79g2000cws.googlegroups.com; posting-host=213.94.228.210; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143722 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39324 Archived-At: spamfilteraccount@gmail.com wrote: > Robert Thorpe wrote: > > > > The Emacs "Semantic" package already does much of this, so do some > > other editors. > > It would make more sense to create one such parser than reimplementing > parsing in every editor... In many ways it would. But I expect it will be reimplemented in every editor, for several reasons:- * The insides of different editors work very differently * External dependencies make building harder and irritate people * Elisp is considerably nicer than many programming languages reimplementing is not so hard * Many people will make parsers as closed-source, or refuse to assign copyright to the FSF * People don't like helping other editors so they don't offer functionality in an easily usable form * GNU will not want to offer _parsers_ in an easily usable form, because doing so would allow proprietery compilers to be built very easily. I'm not saying this is necessarily the best way, but I expect it's what will happen. > I did a quick search and found this page > > > http://harmonia.cs.berkeley.edu/harmonia/projects/harmonia-mode/doc/index.html > > with a demo xemacs package with syntax highlighting and stuff. Looked > interesting. Interesting.