In a Maple graded question (mode=Maple@) the type (formula, or maple synthax)
allows us to choose one of two possible ways of parsing student answers.
I would like to write questions where i can choose, or provide,
a parser to parse student answers into Maple expressions.
Given a Maple parsing procedure myParser(ans::string),
i can set
and then ask students to write their answers inside quotes,
so that their answers get parsed as strings.
Besides being ugly, i'm afraid this aproach will lead to
many wrong answers of students who forget to quote their input.
Is there a way to avoid quotes?
Can i use java parsers through the Maple TA function 'java(CN,a,b,c,d,...)'?
I mean a java method with some signature like
public static String myParser(String response)
which returns string maple expressions.
thanks in advance