That's not going to be easy. Start with simple parsing and try to implement basic operations and some named functions. Then do variables, use entered functions, derivatives etc.
Mathematician here
Carson White
Brody Thomas
>Building an algebra system yourself
Just don't. most of the coding on these things is arcane fuckery to make it run faster, your math degree doesn't tell you how to do that.
Alexander Green
"Being a mahematician" makes you inadequate enough.
Why making your handicap even bigger, OPtard.
Christian Miller
SICP will make you a better programmer, but it won't teach you how to make anything practical. It's still worth a read though.
Cooper Phillips
That's not mathematics. That's arithmetic.