Mockmma



Richard,

Could you give me any guidance on how to go about making the Mockmma parser
case sensitive? I am aware that ANSI standard Common Lisp is not case
sensitive, and in particular GCL does not implement "(setf (readtable-case
*readtable*) :preserve)". How does Maxima achieve case sensitivity in
reading user input and would it make sense for Mockmma to employ the same
approach? 

The options I thought of were (1) to encode case using an escape character
"-" eg ThisFunction becomes mma-this-function (so "-" means the next
character is uppercase when printed for the user as "ThisFunction") and (2)
not to map Mathematica functions into Lisp functions but say ("ThisFunction"
x y) (but then the string "ThisFunction" would need to be mapped ). (1)
seems confusing; (2) would probably be inefficient.

Hunter