Simple formula processing in Elixir

Happy new year.
I started the project during my vacation.
I remembered formula processing in SICP or PAIP.
I enjoy writing elementary math in Elixir.
I had almost forgotten math. It’s a good chance to remember math for me.
Now, only simple example is OK.
$ mix minima
Minima ver0.01

diff(x^3+2x+3,x);
3
x^2+2
integrate(cos(x),x);
sin(x)
6/12;
1/2
factori(999);
[[3,3],[37,1]]
quit;
goodbye
GitHub - sasagawa888/minima: Formula processing system on Elixir

6 Likes