> What about an extra function ccode() to facilitate those many C
> programmer which want to test their codes outside Maxima?
Excellent idea. I suggest you start with the existing fortra.lisp code
and parameterize it for other languages, rather than simply modifying it
for C. The code is not complicated. The complications come with things
like floating-point literal syntax (do you need to use "d" instead of
"e"?), rules for mixed-mode operations (pow will be unhappy with an
integer second argument), array references (do you use a[i][j] or
a[i*istride+j] etc.), .... Presumably you will only cover simple
expressions without conditional expressions, blocks, loops, etc.
Let me know if I can help.
-s