> Though the expansion needn't be all *that* bad -- maybe somethingThat'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
> $foo ==> (* foo) ; Kleene star (zero or more)
it a more readable specification than Bakers'.
> What especially interesting to *me*, at least, is that these sortsSiebel'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.
(^ (* "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.