~peterpall/maxima/+git/maxima.code:rtoy-3966-li-to-zeta

Last commit made on 2022-06-07
Get this branch:
git clone -b rtoy-3966-li-to-zeta https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-3966-li-to-zeta
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

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

Update comment on when simplification applies

Update comment to match implementation which only simplifies if s is
rational and a is the integer 1.

7a6d669... by Raymond Toy <email address hidden>

Merge branch 'master' into rtoy-3966-li-to-zeta

30c59a0... by Raymond Toy <email address hidden>

Remove nregex.lisp

Not used anymore.

8f82cf5... by Raymond Toy <email address hidden>

Remove old nregex code that has been replaced by pregexp

No longer define the maxima-nregex package and don't compile it into
maxima any more either.

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

Update date/time matchers to use pregexp

Note that the original implementation failed on sbcl for some reason.
But using a closure to compile the pattern works and the pattern is
only compiled once instead of for every call. See the comments for
more info.

parse_timedate tests pass on sbcl and other lisps.

73bee33... by Raymond Toy <email address hidden>

Use built-in pregexp for sregex routines in stringproc

Since pregexp is now built in to maxima, we can delete the (old) copy
in stringproc. This also means we don't need to load pregexp in
sregex.mac. Finally, since pregexp is in its own Lisp package, we
need to update sregex.lisp to prefix all uses of pregexp with the
package name.

sregex might be a little faster now too since pregexp is compiled.

Testsuite passes.

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

Finish converting parse_timedate to pregexp

Replace all uses of nregex with pregexp as appropriate.

Test suite passes without problems.

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

Convert match-date-yyyy-mm-dd to use pregexp

This also means adding a new function pregexp-extract-groups-integers
to extract the matching parts.

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

Convert strip-float-zeros to pregexp

This requires updating the four functions
trailing-zeros-regex-[ef]-[01] to use pregexp and modifying
strip-float-zeros to use pregexp methods.

Manually tested that 1.000, and 0.0001002 prints as before.

No testsuite failures.

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

Convert mactex to use pregexp.

There's basically only one use of nregex and it's in
extract-trailing-digits. Convert it to use pregexp instead.

Manually tested that tex(foo_1_2) returns $${\it foo}_{11,22}$$ as
expected.