From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: State-machine based syntax highlighting Date: Fri, 08 Dec 2006 21:10:01 -0500 Message-ID: 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> <1165502373.932709.15860@79g2000cws.googlegroups.com> <1165510932.276718.251220@73g2000cwn.googlegroups.com> <1165516558.657188.21610@j44g2000cwa.googlegroups.com> <1165517838.526624.171950@f1g2000cwa.googlegroups.com> <1165563183.140436.326110@16g2000cwy.googlegroups.com> <87psaukdu1.fsf@lion.rapttech.com.au> <1165586451.626124.148910@73g2000cwn.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165632094 6040 80.91.229.10 (9 Dec 2006 02:41:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2006 02:41:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 09 03:41:34 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 1Gss9d-0005mW-Tb for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2006 03:41:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gss9d-0001Fo-Ea for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 21:41:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.umontreal.ca!news.umontreal.ca.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 08 Dec 2006 20:10:01 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:kr7vjsXQqEWD3+xNF21Rrw46bOs= Original-Lines: 10 Original-NNTP-Posting-Host: 132.204.27.213 Original-X-Trace: sv3-dJqb8hRoeT2dN8/9HozCrNbxApscL6TCWaPM11Q7W19O9yAMrt5QxTSfsI32nvoj0gVCnP73Ic0DIv7!rQRXvjQeke0PiV27z98NyE5Io3o9BJYc/Nqcza7nTQaKvkMR/afs5ZMlUDHhLGMWK99mv8Wiq3oQ!78Me5IFS3CPrp6yehg== Original-X-Complaints-To: abuse@umontreal.ca X-DMCA-Complaints-To: abuse@umontreal.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:143765 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:39368 Archived-At: > As far as I can see implementing a data-driven GLR parser into Emacs is > the way to go. That way the parser could interface directly with the > buffer. You may be right. After all, a GLR grammar for a language can be easily turned into a GLR grammar for the reversed language, so it could also be used for backward parsing, which I find to be important for indentation. Stefan