[Aldor-l] [Axiom-developer] aldor/axiom interoperability

Bill Page bill.page at newsynthesis.org
Thu Mar 13 21:36:22 EDT 2008


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

From: Martin Rubey <martin.rubey at univie.ac.at>
Date: 17 Jan 2008 09:21:22 +0100
Message-ID: <9qodbk981p.fsf at aquin.mat.univie.ac.at>
Sender: fricas-devel at googlegroups.com
List-Unsubscribe: <http://googlegroups.com/group/fricas-devel/subscribe>,
	<mailto:fricas-devel-unsubscribe at googlegroups.com>


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?

lehner at bayou.uni-linz.ac.at 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 fricas-devel at googlegroups.com
To unsubscribe from this group, send email to
fricas-devel-unsubscribe at googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---




More information about the Aldor-l mailing list