maxima:rtoy-refactor-risch-specvar-alphar

Last commit made on 2023-02-11
Get this branch:
git clone -b rtoy-refactor-risch-specvar-alphar https://git.launchpad.net/maxima

Branch merges

Branch information

Name:
rtoy-refactor-risch-specvar-alphar
Repository:
lp:maxima

Recent commits

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

Remove alphar from declare-top

We don't use the specvar `alphar` anymore so remove it.

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

Rename alphar to risch-alphar everywhere

This renaming means we've replaced the specvar `alphar` with a lexical
var `risch-alphar`.

Full testsuite passes.

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

Make alphar a lexical in findpr

Rename `alphar` to `risch-alphar` to make it a lexical. And move it
from `&aux` to a `let`.

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

Return alphar as second value from findpr

`findpr` sets the specvar `alphar`, so add `alphar` as the second
return value from `findpr`.

Update callers to handle the second return value.

21a1acb... by Raymond Toy <email address hidden>

Remove operator from declare-top

We don't use `operator` as a special variable any more, so remove it
from `declare-top` `special` and `unspecial`.

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

Forgot to rename operator to risch-operator in one place

Tests didn't catch this case. Really need to add a test for it. We
need to find a test that exercises `intsetup` so that it returns T for
`risch-operator`. (`intsetup` is full of gotos that it's hard to
figure out path that will lead to that return. At first glance,
anyway.)

001e327... by Raymond Toy <email address hidden>

Rename operator to risch-operator

Rename `operator` to `risch-operator` in `rischint` and `rischform`
and return `risch-operator` as another return value. Update
`rischint` to handle the extra return value.

`intsetup` also used to set `operator` to T in one place before
returning. Instead just return T as the second value in that one
place and return NIL in the only other return.

Full testsuite passes.

148a294... by Raymond Toy <email address hidden>

Define risch-beta in rischexpvar and rischexplog

When we renamed `beta` to `risch-beta`, we forgot to define
`risch-beta` in two functions. Add it the to `prog` to get fix the
compiler warning about `risch-beta` being undefined.

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

Remove spevars trigint and hypertrigint

We don't use these anymore so remove them from `declare-top`.

716f68a... by Raymond Toy <email address hidden>

Fix typo and use lexicals instead of trigint and hypertrigint

Replace the specvars `trigint` and `hypertrigint` in `rischint` with
the lexicals `risch-trigint` and `risch-hypertrigint`.

Fix typo in `rischform` where we forgot to rename `rischform1` to
`rischform-impl` in one place.

Full testsuite passes.