Newsgroups: comp.lang.lisp
From: "howard yeh" <hay...@gmail.com>
Date: 19 Aug 2006 17:04:49 -0700
Local: Sat, Aug 19 2006 8:04 pm
Subject: Re: Is there a trick so macrolet can't refer to itself?
> Though the expansion needn't be all *that* bad -- maybe something That's what Peter Siebel's interpretation of META is doing. I find > similar to the s-expr form of CL-PPCRE, but perhaps with shorter > markers: > $foo ==> (* foo) ; Kleene star (zero or more) it a more readable specification than Bakers'. > What especially interesting to *me*, at least, is that these sorts Siebel's META uses "^" as the return operator to get an annotated > of "lexers" can easily be intermingled with larger, "syntax parser" > elements using top-down/recursive-descent to form full parsers and > code generators. See section "C. CONTEXT-FREE GRAMMARS" in Baker's > paper for a taste of how that works. tree parser. (^ (* "b") #'(lambda (match) (apply #'strcat match))) Matches ("b" "b" "b"), and returns "bbb". Over the course of 50 years, why has regexp for sexp never (defun parse-lambda-list (lst) I am modifying Siebel's META for this purpose. But I am not very good I've heard some legendary lisps of the bygone era had something You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||