Pathname handling

5 views
Skip to first unread message

Waldek Hebisch

unread,
Jun 6, 2025, 6:07:04 PMJun 6
to fricas...@googlegroups.com
I have now reworked pathname handling to work directly with strings
and avoid Lisp pathname operations. There are still few Lisp
pathname operators is some places, but almost all now uses
string operations.

There is significant potential for breakage due to this change,
that is why I am doing it after release. There is one thing
fixed: now GCL based FriCAS read '.fricas.input'.

--
Waldek Hebisch

Grégory Vanuxem

unread,
Jun 6, 2025, 8:23:28 PMJun 6
to fricas...@googlegroups.com
Hello,

Oh, that's good, I do not understand the point of view of Camm.

BTW, I do not understand also why affectations are not taken into
account in .fricas.input:

==> .fricas.input:

)set out len 110
)set mess type off
VarSet: List Symbol:=[x,y,z]
V:=OrderedVariableList(VarSet)
-- PRing := NMP(NMFraction(NINT),VarSet,"lex")
-- x::V::Pring
)set mess time on
)set mess type on

VarSet and V are undefined in using this .fricas.input.

Do you know why?

- Greg
> --
> 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...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/aENmhWAcb_caNZqy%40fricas.org.

Waldek Hebisch

unread,
Jun 6, 2025, 8:37:13 PMJun 6
to fricas...@googlegroups.com
On Sat, Jun 07, 2025 at 02:22:48AM +0200, Grégory Vanuxem wrote:
> Hello,
>
> Oh, that's good, I do not understand the point of view of Camm.
>
> BTW, I do not understand also why affectations are not taken into
> account in .fricas.input:
>
> ==> .fricas.input:
>
> )set out len 110
> )set mess type off
> VarSet: List Symbol:=[x,y,z]
> V:=OrderedVariableList(VarSet)
> -- PRing := NMP(NMFraction(NINT),VarSet,"lex")
> -- x::V::Pring
> )set mess time on
> )set mess type on
>
> VarSet and V are undefined in using this .fricas.input.
>
> Do you know why?

This is due to frames. .fricas.input is processed in initial
frame, while normal user session gets different frame. You
are not the first to be surprised by this behaviour.

I guess we should allow initializing user frame from
.fricas.input, but that requires some thought to
properly define what should happen.

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages