From: snorgers <stefan.ta...@spray.se>
Date: Fri, 26 Jun 2009 12:42:49 -0700 (PDT)
Local: Fri 26 June 2009 20:42
Subject: Re: segment matching variables in Qi-YACC (for Snorgers ;))
Hi Mark,
Cool this looks like a natural building block, but what do you think
(defcc <f>
They is nice to have for situations like
/Stefan
On 26 June, 11:37, Mark Tarver <dr.mtar...@ukonline.co.uk> wrote:
> Here is a sugaring on top of Qi that enables you to have segment
> matching variables in Qi-YACC. <<...>> is a stuff matcher. > (defcc <grab-numbers>
> (defcc <numbers>
> (defcc <number>
> (defcc <grab-my-name>
> Examples:
> (compile <grab-my-name> [ghhghg 7 8 :name Mark Tarver])
> (compile <grab-numbers> [just some numbers 1 2 3/4 tum te tum])
> The code is 85 lines.
> Mark 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.
| ||||||||||||||