Franz Lehner wrote:
>
> On Tue, Sep 09, 2008 at 02:50:41PM +0200, Martin Rubey wrote:
> > I have now a more or less working aldor interface, below the patch. The
> > errors
> > were due to the fact that *ATTRIBUTES* was still referenced.
> I just moved to a new place and tried rev 368 on ubuntu 8.04, 32bit,
> aldor 1.1.0rc binary, however I get
>
> aldor -Y al -L AxiomLib=axiom_attrib -fao=ao/attrib.ao ap/attrib.ap
> "ap/attrib.ap", line 5:
> (|Define| (|Declare| |NIL| |Category|) (|With| () ())))
> .......................^
> [L5 C24] #1 (Error) Improper form appearing within a declaration.
>
> make[3]: *** [ao/attrib.ao] Error 1
> rm ao/.dir
> make[3]: Leaving directory
> /homes/lehner/usr/local/src/fricas368sbcl/src/aldor'
> make[2]: *** [al/libaxiom.al] Error 2
> make[1]: Leaving directory
> /homes/lehner/usr/local/src/fricas368sbcl/src'
> make: *** [all-src] Error 2
>
I am affraid this may be due to last commit, which removed another
piece of attribute handling -- it looks that the change may
add extra nils in some places. I am testing now the following
patch which should get rid of extra nils:
diff -u /home/s/test/tt/fricas/trunk/src/interp/lisplib.boot
trunk/src/interp/lisplib.boot
--- /home/s/test/tt/fricas/trunk/src/interp/lisplib.boot 2008-09-17
02:01:01.000000000 +0200
+++ trunk/src/interp/lisplib.boot 2008-09-17 18:00:33.000000000 +0200
@@ -383,10 +383,10 @@
getCategoryOpsAndAtts(catForm) ==
-- returns [operations,:attributes] of CAR catForm
- [transformOperationAlist getSlotFromCategoryForm(catForm,1), nil]
+ [transformOperationAlist getSlotFromCategoryForm(catForm,1)]
getFunctorOpsAndAtts(form) ==
- [transformOperationAlist $lisplibOperationAlist, nil]
+ [transformOperationAlist $lisplibOperationAlist]
transformOperationAlist operationAlist ==
-- this transforms the operationAlist which is written out onto LISPLIBs.
Wspólne podkatalogi: /home/s/test/tt/fricas/trunk/src/interp/.svn i
trunk/src/interp/.svn
--
Waldek Hebisch
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---