generating C or Java, was: Why is *print-circle* set to T by default? WAS: grinding, etc.
Subject: generating C or Java, was: Why is *print-circle* set to T by default? WAS: grinding, etc.
From: Michel Talon
Date: Thu, 10 Feb 2011 11:16:09 +0100
Robert Dodier wrote:
> My general advice is to modify the expressions of interest
> via Maxima expression-hacking functions, and then output
> the result with grind.
I thank you very much for this explanation, and i forward it immediately to
my interested colleague. This is certainly the way to get a quick "hack"
for solving the problem at hand immediately. It is also very interesting
as examples of use for the substitution commands, which remain, at least for
me, quite mysterious. I will try to write some modification of grind which
directly outputs the appropriate code, because it seems to me this is the
most simple and logic way to do it, since the expressions are fully parsed
at the lisp level, and only require potentially simple transformations.
--
Michel Talon