~peterpall/maxima/+git/maxima.code:rtoy-specfn-specvar

Last commit made on 2023-01-06
Get this branch:
git clone -b rtoy-specfn-specvar https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-specfn-specvar
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

db08afa... by Raymond Toy <email address hidden>

Define $maxpsiposint and friends in globals

specfun.lisp indirectly defines `$maxpsiposint`, `$maxpsinegint`,
`$maxpsifracnum`, and `$maxpsifracdenom` by setting the symbol-value
of these symbols. Since they're user-visible variables with entries
in the user manual, let's use `defmvar` to define them in
globals.lisp, with the appropriate initial values.

This also means `reset()` will reset the value to the default. This
didn't happen before, but I think it should.

Then we can remove the declare-top special for these from specfn.lisp.

b19d5d5... by Raymond Toy <email address hidden>

Remove unspecial for var

Remove the unspecial decl for `var` because the following code doesn't
use `var` anywhere.

Full testsuite passes.

272b78f... by Raymond Toy <email address hidden>

Rename *last* to sf-last

`*last*` isn't a special var any more, so rename it to `sf-last` to
make it clear it's not special. Could have used just `last`, but
that's too simple and makes grepping for uses of this harder.
`sf-last` makes it unique. ("SF" for "specfun").

957a21a... by Raymond Toy <email address hidden>

Remove *last* from declare-top

Instead, pass *last* to each routine that needs access to *last*.

cd1165d... by Raymond Toy <email address hidden>

Remove subl from declare-top

Instead of declaring `subl` as special, pass it as an arg to all the
functions that use it.

a42b210... by Raymond Toy <email address hidden>

Remove last-exp from declare-top

`last-exp` isn't used anywhere between the declare-top statements, so
remove it.

No issues with the test suite, as expected.

cc719a8... by Raymond Toy <email address hidden>

Rename sign to sf-sign

To prevent confusion with the specvar `sign` in compar.lisp, rename it
to `sf-sign`. ("sf" for specfun).

bcf6fe5... by Raymond Toy <email address hidden>

Remove sign from declare-top

Instead of declaring sign as special (and making it unspecial later),
pass sign to rcplygam which is the only other place where sign is
used.

c65c20f... by Wolfgang Dautermann <email address hidden>

Typos fixed.

26df098... by Raymond Toy <email address hidden>

Actually remove the defparameter for $opproperties

It was nil'ed out before; actually remove it.