[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-27 Thread Ondrej Certik
On Sat, Dec 27, 2008 at 7:35 AM, Robert Kern wrote: > > I'm spending my holiday tinkering time playing around with Parsing > Expression Grammars (Google it, if you're curious). I'd like to make a > PEG implementation that works on arbitrary Python sequences in > addition to strings and apply it to

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-27 Thread Neal Becker
On Saturday 27 December 2008, Robert Kern wrote: > I'm spending my holiday tinkering time playing around with Parsing > Expression Grammars (Google it, if you're curious). I'd like to make a > PEG implementation that works on arbitrary Python sequences in > addition to strings and apply it to the

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-27 Thread Robert Kern
On Sat, Dec 27, 2008 at 09:47, Neal Becker wrote: > > On Saturday 27 December 2008, Robert Kern wrote: >> I'm spending my holiday tinkering time playing around with Parsing >> Expression Grammars (Google it, if you're curious). I'd like to make a >> PEG implementation that works on arbitrary Pyth

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-27 Thread Ondrej Certik
On Sat, Dec 27, 2008 at 6:59 PM, Robert Kern wrote: > > On Sat, Dec 27, 2008 at 09:47, Neal Becker wrote: >> >> On Saturday 27 December 2008, Robert Kern wrote: >>> I'm spending my holiday tinkering time playing around with Parsing >>> Expression Grammars (Google it, if you're curious). I'd like

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-27 Thread Robert Kern
On Sat, Dec 27, 2008 at 13:20, Ondrej Certik wrote: > I'd be interested to look at your code --- if you publish your > repository somewhere, I'll play with it. http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi/silvereye/ I'll try to write some getting-started docs tomorrow. -- Robert Kern

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-28 Thread Ondrej Certik
On Sun, Dec 28, 2008 at 7:49 AM, Robert Kern wrote: > > On Sat, Dec 27, 2008 at 13:20, Ondrej Certik wrote: >> I'd be interested to look at your code --- if you publish your >> repository somewhere, I'll play with it. > > http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi/silvereye/ > > I'll tr

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-28 Thread Robert Kern
On Sun, Dec 28, 2008 at 06:16, Ondrej Certik wrote: > On Sun, Dec 28, 2008 at 7:49 AM, Robert Kern wrote: >> >> On Sat, Dec 27, 2008 at 13:20, Ondrej Certik wrote: >>> I'd be interested to look at your code --- if you publish your >>> repository somewhere, I'll play with it. >> >> http://www.en

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-30 Thread Ondrej Certik
>> But this only happens when importing from the silvereye root >> directory, as it tries to import fromt he silvereye dir, which only >> contains the .pyx file. So just moving a_parser.py somewhere else >> fixes that. > > Yes. This is similar to other packages with extension modules like numpy.