u/igotthepancakesin r/compsci • Recommends
On “How to present a computer algebra system (CAS) ?”
Depends how complex of a CAS you're talking about. Polynomials turn out to be quite beautiful recursive data structures. If you know some scheme, SICP has a wonderful little section dedicated to a simple one at the end of chapter two: https://mitpress.mit.edu/sicp/full-text/sicp/book/node49.html
If you're not in the mood to read LISP code on your own, you can watch the companion lecture: link to this video