From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Tokenizing Date: Sat, 20 Sep 2014 11:24:59 -0500 Message-ID: <85a95ufeec.fsf@stephe-leake.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411230330 22033 80.91.229.3 (20 Sep 2014 16:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2014 16:25:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 20 18:25:22 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVNTO-0000Qi-2O for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2014 18:25:22 +0200 Original-Received: from localhost ([::1]:35350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVNTN-0008D2-Jx for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2014 12:25:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVNTF-0008Cr-K3 for emacs-devel@gnu.org; Sat, 20 Sep 2014 12:25:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVNT8-00024r-Ve for emacs-devel@gnu.org; Sat, 20 Sep 2014 12:25:13 -0400 Original-Received: from dnvrco-outbound-snat.email.rr.com ([107.14.73.225]:33683 helo=dnvrco-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVNT8-0001tM-MT for emacs-devel@gnu.org; Sat, 20 Sep 2014 12:25:06 -0400 Original-Received: from [70.94.38.149] ([70.94.38.149:58065] helo=TAKVER) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 54/E0-08316-C5AAD145; Sat, 20 Sep 2014 16:25:00 +0000 In-Reply-To: (Richard Stallman's message of "Sat, 20 Sep 2014 09:21:03 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=ReIeCjdv c=1 sm=1 tr=0 a=AppmJ/7ZOOFWL/q6u6u93g==:117 a=AppmJ/7ZOOFWL/q6u6u93g==:17 a=ayC55rCoAAAA:8 a=9XSUBuVRJI8A:10 a=o_R75loqY_IA:10 a=9i_RQKNPAAAA:8 a=mDV3o1hIAAAA:8 a=1nif6smim_z4kMFMVOAA:9 a=ii61gXl28gQA:10 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.73.225 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174587 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Do you plan to reparse continuously to keep the token structure up to > date all the time? That's the approach I'm using in Ada mode. Tokenizing the whole buffer after any change is easily fast enough (on modern hardware), even on a 7000 line buffer. Semantic parsing gets a lot slower. But for the Ada language, incremental semantic parsing really isn't an option. -- -- Stephe