Title: **PineappleCAS - A generic CAS targeted for the TI-84+ CE**

Post by:**squishy** on **August 01, 2019, 03:09:55 AM**

Post by:

Hello!

You might know me from the Symbolic Derivative Project (https://www.cemetech.net/forum/viewtopic.php?t=14234&start=0). I thought I could do better so I am working on a CAS (computer algebra system) for the TI 84+ CE. It is nearly done and I want to tease a little bit about the progress and work I still have to do before it is released. It is called PineappleCAS and you can check it out here: https://github.com/nathanfarlow/PineappleCAS

It can already simplify algebra identities and like terms, manipulate complex numbers, expand things (A+B)(B+C) or (A+B)^8, evaluate large constants like 2 * 3 ^ 1001 or 100! that the calculator cannot do normally, and can take derivatives that are completely simplified and beautifully exported to avoid necessary multiplication signs or parentheses and look way better than the result of the previous project.

You will be able to pass arguments to PineappleCAS from a TI BASIC program to operate on algebra from within a TI BASIC program.

The only things that I need to finish is the TI-BASIC interface.

Here are some screenshots:

(https://i.imgur.com/KcFMO2v.png)

(https://imgur.com/DlT11pu.png)

(https://i.imgur.com/7uzXRnU.png)

(https://i.imgur.com/z64oQsU.png)

(https://i.imgur.com/V52gw5m.png)

(https://i.imgur.com/GHKCo7F.png)

(https://i.imgur.com/9fUK48h.png)

You might know me from the Symbolic Derivative Project (https://www.cemetech.net/forum/viewtopic.php?t=14234&start=0). I thought I could do better so I am working on a CAS (computer algebra system) for the TI 84+ CE. It is nearly done and I want to tease a little bit about the progress and work I still have to do before it is released. It is called PineappleCAS and you can check it out here: https://github.com/nathanfarlow/PineappleCAS

It can already simplify algebra identities and like terms, manipulate complex numbers, expand things (A+B)(B+C) or (A+B)^8, evaluate large constants like 2 * 3 ^ 1001 or 100! that the calculator cannot do normally, and can take derivatives that are completely simplified and beautifully exported to avoid necessary multiplication signs or parentheses and look way better than the result of the previous project.

You will be able to pass arguments to PineappleCAS from a TI BASIC program to operate on algebra from within a TI BASIC program.

The only things that I need to finish is the TI-BASIC interface.

Here are some screenshots:

(https://i.imgur.com/KcFMO2v.png)

(https://imgur.com/DlT11pu.png)

(https://i.imgur.com/7uzXRnU.png)

(https://i.imgur.com/z64oQsU.png)

(https://i.imgur.com/V52gw5m.png)

(https://i.imgur.com/GHKCo7F.png)

(https://i.imgur.com/9fUK48h.png)

Title: **Re: PineappleCAS - A generic CAS targeted for the TI-84+ CE**

Post by:**DJ Omnimaga** on **August 01, 2019, 03:53:29 PM**

Post by:

I haven't seen your projects before but this looks very promising, especially if its features can be used in TI-BASIC programs too, as this opens so many more possibilities for school programs.

Title: **Re: PineappleCAS - A generic CAS targeted for the TI-84+ CE**

Post by:**squishy** on **August 10, 2019, 10:53:59 PM**

Post by:

PineappleCAS v1.0 is released! You can download it here: https://github.com/nathanfarlow/PineappleCAS/releases

Title: **Re: PineappleCAS - A generic CAS targeted for the TI-84+ CE**

Post by:**DJ Omnimaga** on **August 10, 2019, 10:59:39 PM**

Post by:

Great! I didn't expect this to come out so fast. We are right before the start of school year, so it's good to see this come out right now.

Did you have trouble implementing hooks (assuming you use them)? I am not familiar with how ASM and C programmers circumvent the lack of third-party Flash APP support on this machine, since I was mostly active with older models before TI cracked down on third-party Flash app support.

Did you have trouble implementing hooks (assuming you use them)? I am not familiar with how ASM and C programmers circumvent the lack of third-party Flash APP support on this machine, since I was mostly active with older models before TI cracked down on third-party Flash app support.

Title: **Re: PineappleCAS - A generic CAS targeted for the TI-84+ CE**

Post by:**squishy** on **August 10, 2019, 11:33:28 PM**

Post by:

I used the CE C toolchain developed by members of the community (https://github.com/CE-Programming/toolchain). This allowed me to program in C and not worry about any hooks. The toolchain compiles the code and cleverly compresses and decompresses it so that it can execute on the calculator despite the fact that the decompressed binary is 117721 bytes! Much larger than the usual ~64kb limit. It executes as a program, not an app, and I haven't had any problems with that yet thanks to the great work by the toolchain programmers :)