Specialized parsers
Jump to navigation
Jump to search
Using advanced methods one can modify the behavior of MathObjects and the way they interpret student answers by modifying the parser itself. By convention files that modify the parser are named starting with "parser" -- e.g. parserYourModsHere.pl
.
Examples of modifications are give below. A description of advanced techniques for modifying the parser are at ModifyingParser (Advanced).
Specialized Parser Macro files
Here is a partial list of the parser modifying files.
Check the POD documentation for more examples.
Use loadMacros("parserAssignment.pl");
to make the parser modifications available for a WeBWorK question.