[q-lang-users] Q as a Computer Algebra System
Brought to you by:
agraef
From: Anthony <ad...@ke...> - 2006-08-15 08:21:58
|
Just a general question...Q is my first experience with a functional language. What would it take to write a Mathematica clone in Q? I don't mean a full-Mathematica clone, but something that would emulate the kernel mode, circa 1988--an unlimited integer, numeric, graphical, and symbolic program with an easy syntax. For example x + 8 will generate internally a Plus[x,8] production, and 1+x^2+(y+z)^2 generates Plus[1, Power[x,2], Power[Plus[y,z],2]] What I'd like to do is just write a small Q program that parses a line of input according to the rules of Mathematica. No need to evaluate the functions...just want to build a syntax checker at first. Or maybe I am dreaming... |