MathAction #275 Compiler bug...Bug: gen0Syme: syme unallocated by gen0Vars



#275 Compiler bug...Bug: gen0Syme: syme unallocated by gen0Vars
last edited 7 years ago by test1

Submitted by : (unknown) at: 2007年11月17日T22:19:44-08:00 (18 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :
Optional comment :

For example: The following category has a dependent type (the signature of m depends on T):

fricas
(1) -> <aldor>
#include "axiom"
MyCat(T: Type, m: (T, T) -> T): Category == with { d:((T,T)->T)->(T->T); default { d(f:(T,T)->T):(T->T) == (t:T):T +-> f(t,t) } }</aldor>
fricas
Compiling FriCAS source code from file 
 /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/mycat.as 
 using Aldor compiler and options 
-O -Fasy -Fao -Flsp -lfricas -Mno-ALDOR_W_WillObsolete -DFriCAS -Y $FRICAS/algebra -I $FRICAS/algebra
 Use the system command )set compiler args to change these 
 options.
"/var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/mycat.as", line 1: 
#include "axiom"
^
[L1 C1] #1 (Error) Could not open file `axiom'.
The )library system command was not called after compilation.

Compilation of the following domain fails. It has a dependent type involving the category.

aldor
#include "axiom"
#library MyCat "mycat.ao";
import from MyCat;
MyDom: with { 
 c:(%, %) -> %;
 coerce: Integer -> %;
 MyCat(%,c)
}
 == add {
 import from Integer;
 Rep == Integer;
coerce(x:Integer):% == per(x); c(a: %, b: %):% == per(rep(a)+rep(b)); }
aldor
 Compiling FriCAS source code from file 
 /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/6062601343572286651-25px002.as
 using Aldor compiler and options 
-O -Fasy -Fao -Flsp -lfricas -Mno-ALDOR_W_WillObsolete -DFriCAS -Y $FRICAS/algebra -I $FRICAS/algebra
 Use the system command )set compiler args to change these 
 options.
"/var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/6062601343572286651-25px002.as", line 1: 
#include "axiom"
^
[L1 C1] #1 (Error) Could not open file `axiom'.
The )library system command was not called after compilation.

with the error message:

 Compiler bug...Bug: gen0Syme: syme unallocated by gen0Vars

... --kratt6, 2007年12月28日 15:14:48 -0800 reply
Category: Aldor Library Compiler => Axiom Aldor Interface

... --test1, 2018年3月10日 15:20:15 +0000 reply
Status: open => not reproducible




Subject: Be Bold !!
( 15 subscribers )
Please rate this page:

AltStyle によって変換されたページ (->オリジナル) /