Re: Some questions: built-in operators and exponent markers
Robert Dodier <[email protected]> Tue, 21 Jul 2026 15:33:59 -0700
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <CAAsY_sQS2Q8DAamcZZNmpQYTuFLaSpYRGZ4aNQoPv88zwj8Vog@mail.gmail.com> |
Glad to hear the bit about the "!" operator is working for you. About changing the bigfloat parser, I looked at src/nparse.lisp and I believe that is indeed the file which contains the bigfloat parser, so that is the one to modify. I guess you would also want to make the corresponding changes for the display code. Maxima has two display modes, one is called the 2-d pretty printer and the other is the 1-d non-pretty-printer. The pretty printer is in src/displa.lisp (note that's displa, not display) and the non-pretty printer is in src/grind.liap. Again, you would search for #\B and/or #\b and replace them with #\P or #\p. Hope this helps, Robert