On Tue, Sep 19, 2023 at 06:38:36PM +0200, Ralf Hemmecke wrote:
> The attached file can be compiled just fine.
> 
> I am at version a3c1d1dc5829126604345db3d672c2386d9296ae,
> 
> Unfortunately after compilation one function is missing.
> 
> (12) -> jacobiThetaPermutation(2,matrix [[1,2],[3,4]])
>    Internal Error
>    The function jacobiThetaPermutation with signature (PositiveInteger
>       , Matrix(Integer)) -> PositiveInteger is missing from domain
>       QEtaAuxiliaryPackage
> 
> And before you look for the problem, here is the solution.
> Du you see the little backtick at the beginning of the line containing
> 
>   error "jacobiThetaPermutation: j ...
> 
> before the definition of the "missing" function?
> 
> Removing the backtick cures this "missing function" problem, but of course
> not the problem that I would have expected the compiler to yell at me. I am
> not aware that a backtick is an acceptable character in a spad program.

Well, any character at beginning of the line ends the pile.  So QETAAUX
is supposed to compile as if file ended just befor the backtick.

Normally you would get error in the line with backtick, but lines at
top level have special rules due to possibility to issue commans,
I will why this is accepted,
<snip>
> `       error "jacobiThetaPermutation: j is not in the range 1..4"
> `
>     jacobiThetaPermutation(j: PP, g: SL2Z): PP ==
>         jacobiThetaPermutation(j,g(1,1),g(1,2),g(2,1),g(2,2))


-- 
                              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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZQrwKV5YbREvyItl%40mail.math.uni.wroc.pl.

Reply via email to