On Apr 22, 3:54 pm, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Apr 22, 8:47 am, "Anton Mellit" <[EMAIL PROTECTED]> wrote:
>
>
>
> > I need something like
> > 'overriding' =, which is impossible, but I look for a systematic
> > appro
Hi,
I am developing something like a compiler in Python, a library that
would help to generate machine-language code. One of the features is
the following. When I want to generate a piece of code I want to
declare variables as follows:
x = var()
y = var()
This would generate no code, but it wou
Hi,
thanks for the comments. I think I should target on making my module
as a normal python module without using any modifications and
additionally (only additionally) provide some optional workaround for
the '^' and '/' problem. I am going to look at what Michael proposed
> With that in mind, why
> Have you looked at SAGE at all? They already have wrappers for Pari.
Well :) I expected that question. I tried. But the distribution for
windows is so big :( (2GB) and I could not build it on cygwin, where
it is also pretty big. And I so much like pari - it is so light and
simple and still can d
> Does your version use the GMP library (optional in PARI).
> Does it support Windows? I couldn't tell if the PARI
> Windows distribution has GMP, but I suspect not since GMP
> doesn't support Windows.
No, I didn't try to use gmp. But this may be not a bad idea. I am
trying to compile gmp right no
Hi,
I am working on a Pari-Python module (see about GP/PARI at
http://pari.math.u-bordeaux.fr/). Similar project was started by
Stefane Fermigier 12 years ago (you can find a post about it on this
newsgroup). You can see some screenshots on my blog (http://
mellit.wordpress.com/2007/10/28/pari-pyt
> Hi!
>
> I am using rational numbers from the gmpy module and I find that creating
> one in Python using
>
mpq(3,4)
>
> is rather clumsy. Clearly, minimal representation of this rational number
> is
>
>3/4
>
> but in Python this expression has different meaning.
Hi,
I am writing an inter