From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: ruby-mide, SMIE and token priority Date: Thu, 07 Nov 2013 11:02:29 -0500 Message-ID: References: <527B069B.6020400@yandex.ru> <527B9163.3020102@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383840169 22279 80.91.229.3 (7 Nov 2013 16:02:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2013 16:02:49 +0000 (UTC) Cc: emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 17:02:53 2013 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 1VeS2m-0003qK-4g for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 17:02:52 +0100 Original-Received: from localhost ([::1]:40991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeS2l-0007jn-QV for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 11:02:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeS2b-0007jC-MJ for emacs-devel@gnu.org; Thu, 07 Nov 2013 11:02:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeS2R-0005It-Mp for emacs-devel@gnu.org; Thu, 07 Nov 2013 11:02:41 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:43234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeS2R-0005IY-Is for emacs-devel@gnu.org; Thu, 07 Nov 2013 11:02:31 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rA7G2UjM001593; Thu, 7 Nov 2013 11:02:30 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 08E7EB4327; Thu, 7 Nov 2013 11:02:29 -0500 (EST) In-Reply-To: <527B9163.3020102@yandex.ru> (Dmitry Gutov's message of "Thu, 07 Nov 2013 15:10:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4755=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4755> : inlines <204> : streams <1069631> : uri <1588388> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:165037 Archived-At: >>> Is it at all possible to change the grammar this way? >> You'd probably have to use a trick similar to the " @ " used on the >> space between the method name and the multiple-args. > Ah, okay. Sounds not very efficient, performance-wise. Could be. Every trick we add to the tokenizer is a potential performance problem, indeed. On the contrary, code in the rules-function is generally not performance sensitive. Stefan