Re: [q-lang-users] Complex numbers
Brought to you by:
agraef
From: John C. <co...@cc...> - 2006-06-15 14:41:31
|
Albert Graef scripsit: > Cool. :) So all that we need now is an additional API to change the > internal state of the Q interpreter. Then we could rewrite the toplevel > loop of the Q interpreter in Scheme. So we could, although I think the current C-based version does well enough. My main ambition is not to compete with the Q interpreter, but to make the power of generalized term rewriting readily available to Scheme programmers. For that they need an appropriately Schemish and S-expression-based interface. The next release will provide those things, but will not have numeric tower support or list memoization; when you pass a list to Q and Q returns a syntactically equal list, it will be only semantically equal (equal and not eq) on the Scheme side. > BTW, there's a typo in the compile line in your README: s/-lgpm/-lgmp/. > (At least I think so, I haven't actually tried it yet, need to install > Chicken first.) Thanks, fixed. On most systems you should only need to say -lqint anyhow. I spotted another typo in the Q manual in at least two places: "quadrupel" should be "quadruple". -- Mark Twain on Cecil Rhodes: John Cowan I admire him, I freely admit it, http://www.ccil.org/~cowan and when his time comes I shall co...@cc... buy a piece of the rope for a keepsake. |