From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.devel Subject: Re: APL mode Date: Sun, 13 Oct 2013 19:34:13 +0530 Message-ID: References: <87haclhdnz.fsf@uwakimon.sk.tsukuba.ac.jp> <87fvs5h1e7.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1381673078 16165 80.91.229.3 (13 Oct 2013 14:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2013 14:04:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 16:04:42 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 1VVMHh-0005sY-6t for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 16:04:41 +0200 Original-Received: from localhost ([::1]:33224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMHg-0005r7-KJ for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 10:04:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMHd-0005qv-Ff for emacs-devel@gnu.org; Sun, 13 Oct 2013 10:04:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVMHc-0003ui-Hk for emacs-devel@gnu.org; Sun, 13 Oct 2013 10:04:37 -0400 Original-Received: from mail-pd0-x22d.google.com ([2607:f8b0:400e:c02::22d]:37908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMHc-0003ua-9l for emacs-devel@gnu.org; Sun, 13 Oct 2013 10:04:36 -0400 Original-Received: by mail-pd0-f173.google.com with SMTP id p10so6342909pdj.18 for ; Sun, 13 Oct 2013 07:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=aFwCCqzdNm4f4foxkwE3+S9+XZ73dFaFAekUE39BCQs=; b=NIEaaGfZgKkYE7attQQhSxmjuN7J02Ie4666hZpDF/C5/prnm2+3gVIL/WT5GNmNPT 6B0HwqQj6yBCIJXsZxe7LhldSHRPGBFkmPOP/jd86/btYQnwMvjag+OcuGglgsI/V+HQ y7KdfeYftzfFCE6LbTWfkCXF2zAuBPKszWhEnBi15tiBvZY2kf1U6y4xqXiZnl+5fFwV AhA8HNlRH5Ec4gTyRHkagv174uHtbNZFiRUb7LsBm43HcPdiqwmuOEx0WkwGQibj4h8/ h24rGKeNKUL8nwqlsbbN0/HLNsGYo26sGZ+u3hZELXXlx7rHVVHc/TmQfjAd6eT59uRk yoQw== X-Received: by 10.68.44.33 with SMTP id b1mr30655600pbm.53.1381673075066; Sun, 13 Oct 2013 07:04:35 -0700 (PDT) Original-Received: by 10.68.133.198 with HTTP; Sun, 13 Oct 2013 07:04:13 -0700 (PDT) In-Reply-To: <87fvs5h1e7.fsf@uwakimon.sk.tsukuba.ac.jp> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22d 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:164174 Archived-At: On Sun, Oct 13, 2013 at 4:40 PM, Stephen J. Turnbull wrote: > Rustom Mody writes: > > > Not to say that I am afraid of CFGs -- more afraid of regexps with 16 > > backslashes in a row!! > > XEmacsen have rawstrings (couldn't resist), but the real answer is to > use one of the regexp constructor packages if you don't feel like > dealing the the unfortunate consequences of the traditional use of the > same character to indicate string escapes and regexp constructs too. Ok I find something called rx. I think I need something like rx-inverse -- something which will give me an sexp interpretation of an ugly re. > > > Can you point me to somewhere to read as example? > > css-mode, htmlize, nroff-mode, xpm-mode, xrdb-mode. But you won't > find a Lispish parser in any of them IIRC. Rather the parsing is > buried in movement functions and the like. To find what you're > looking for, find the keymap, and then find the motion function. Could not find many of these. Are they elisp files in the standard distribution? Also any examples that use semantic? Rusi