Re: A5: making a production out of REs

2002-06-06 Thread Rich Morin
At 6:10 PM +1000 6/6/02, Damian Conway wrote: >> Rich sez: >> But make Damian use "es", rather than "egs" for the >> eigenstate ("is" :-) operator. s/"is"/"it"/, above (blush). That is, the superposition _could_ be in any of several states, but the eigenstate tells us what "it"

Re: A5: making a production out of REs

2002-06-06 Thread Damian Conway
> Rich sez: >But make Damian use "es", rather than "egs" for the >eigenstate ("is" :-) operator. No, no, no! "any" and "all" are three letters, so the eigenstate operator has to be as well. And since the eigenstates are *examples" of the possible states of a superposition, "egs" i

Re: A5: making a production out of REs

2002-06-06 Thread Rich Morin
At 4:54 PM +1000 6/6/02, Damian Conway wrote: >Even if Larry decides against superpositions, there will definitely be some >kind of non-quantum iterator syntax that supports these kinds of permuted >sequences. Vicki sez: Larry? Oh, Larrry. Pretty please include quantum superpos

Re: A5: making a production out of REs

2002-06-05 Thread Damian Conway
Rich Morin wrote: > I'd like to be able to use REs to generate lists of strings. For > example, it might be nice to create a loop such as: > >for $i (sort(p:p5|[0-9A-F]{2}|)) { # "p" operator for "production"? > > and have $i walk from '00' through 'FF'. Or whatever. You mean:

A5: making a production out of REs

2002-06-05 Thread Rich Morin
I'd like to be able to use REs to generate lists of strings. For example, it might be nice to create a loop such as: for $i (sort(p:p5|[0-9A-F]{2}|)) { # "p" operator for "production"? and have $i walk from '00' through 'FF'. Or whatever. I created a specialized macro-preprocessor several