On Sat, Jun 03, 2023 at 07:34:31PM +0200, Grégory Vanuxem wrote:
> Hello here,
>
> I have just built the Git Aldor version and rebuilt FriCAS with Aldor
> support. Aldor from:
> https://github.com/aldorlang/aldor
>
> But I encounter difficulties to run samples given (fib.as and sieve.as).
> For example, the sieve.as file (attached). With a FriCAS with Aldor built
> on top of SBCL I have always this message and the sieve example from Peter
> Broadbery proposed in a pull request can not be executed:
> ===========================
> )read test
>
> )set bre resume
> )co sieve.as
>
> Compiling FriCAS source code from file /home/greg/Tmp/sieve.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.
> Compiling Lisp source code from file ./sieve.lsp
> Issuing )library command for sieve
> Reading /home/greg/Tmp/sieve.asy
>
> )expose UnittestCount UnittestAux Unittest
>
> UnittestCount is now explicitly exposed in frame initial
> UnittestAux is now explicitly exposed in frame initial
> Unittest is now explicitly exposed in frame initial
> testsuite "AldorSmoke"
> All user variables and function definitions have been cleared.
>
> testcase "AldorSmoke1"
>
> All user variables and function definitions have been cleared.
>
> ee := 8
> (2) 8
> ss := sieve 22
> >> System error:
> The function FOAM-USER::|fiRaiseException| is undefined.
>
> Continuing to read the file...
>
> testEquals(8, sieve 22)
> >> System error:
> The function FOAM-USER::|fiRaiseException| is undefined.
>
> Continuing to read the file...
> ====================================
>
> Any ideas what is going on, and how to fix this issue? Or maybe, I should
> have used the Ralf's Aldor version?
> https://github.com/hemmecke/aldor
sieve.as is supposed to work also without Aldor interface. But
after recent changes from '$' to '%' few things get broken. One
fix is commited, but there is second one which still is not
commited.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/20230603212113.fgy3p2pgxcudotan%40fricas.math.uni.wroc.pl.