Wiki article about maxima's treatment of arrays and functions?
Subject: Wiki article about maxima's treatment of arrays and functions?
From: Michel Van den Bergh
Date: Mon, 15 Jan 2007 15:26:34 +0100
>
> - a simple macro with_gensyms() to evaluate some body after binding
> some symbols to gensyms; these gensyms had names derived from the
> original symbols (important for readability) and recorded the
> original symbol recorded as a property
>
> - and function degensymify() that takes an expression and replaces all
> gensyms by interned Maxima symbols (with names obtained from the
> symbol originally given to with_gensyms()), optionally wrapping the
> whole thing in a with_gensyms() form. The result is safe for
> writing to a file, as far as I can tell.
I assume this is also meant as protection if the user uses a reserved word
in his expressions?
I just noticed that
do+1;
in maxima toplevel puts maxima into an infinite loop!
Michel