axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] aldor/axiom interoperability


From: Bill Page
Subject: Re: [Axiom-developer] aldor/axiom interoperability
Date: Thu, 13 Mar 2008 21:36:22 -0400

On 3/13/08, Gregory Vanuxem <address@hidden> wrote:
> Dear Peter, *
>
>  I was waiting for your small Aldor patch and never see it. Did you send
>  it somewhere ?

From: Martin Rubey <address@hidden>
Date: 17 Jan 2008 09:21:22 +0100
Message-ID: <address@hidden>
Sender: address@hidden
List-Unsubscribe: <http://googlegroups.com/group/fricas-devel/subscribe>,
        <mailto:address@hidden>


Dear Franz,

MANY MANY thanks for your instructions!  They just worked! (except that I don't
have lndir, but I did for f in ../../src/algebra/*; do ln -s $f; done; instead)

They should definitively replace the old instructions on the wiki. In fact, I
think that both src_aldor2.tgz and your script should go into the fricas
contrib directory, say, contrib/aldor.  Maybe you could polish your script so
that it doesn't use lndir, detects ARCH automatically and does not depend on
the fricas source directory any longer.

ARCH is detected also in contrib/debian/mk_deb, you could steal it from there

The fricas source directory is used only to get axiom.sty, I think?  Maybe you
could just pack it into contrib too?

address@hidden writes:

> Bill Page wrote:
> > After a little more fighting with the src_aldor2.tgz makefile, I have
> > finally managed to build the Aldor interface in FriCAS. As Peter said,
> > a patch to Axiom's 'hashType' was necessary to make this work.

> Is this patch publicly available anywhere?

Here it is:

Index: src/interp/hashcode.boot
===================================================================
--- src/interp/hashcode.boot    (Revision 183)
+++ src/interp/hashcode.boot    (Arbeitskopie)
@@ -55,7 +55,7 @@
                         hash := hashCombine(hashType(arg, percentHash), hash)
                 retCode := hashType(retType, percentHash)
                 EQL(retCode, $VoidHash) => hash
-                hashCombine(retCode, hash)
+                hashCombine(retCode, hashCombine(32236, hash))
         op = 'Enumeration =>
                 for arg in args repeat
                         hash := hashCombine(hashString(STRING arg), hash)

Don't ask me what it does, however :-)



Many thanks again,


Martin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "FriCAS - computer algebra system" group.
To post to this group, send email to address@hidden
To unsubscribe from this group, send email to
address@hidden
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---




reply via email to

[Prev in Thread] Current Thread [Next in Thread]