
Summary: Make our own parser that doesn't use jison, so that we can handle funny TeX syntax, and to make it smaller. Test Plan: Make sure the tests pass with the new parser. Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D3029
9 lines
178 B
JavaScript
9 lines
178 B
JavaScript
var Parser = require("./Parser");
|
|
var parser = new Parser({verbose: true});
|
|
|
|
var parseTree = function(toParse) {
|
|
return parser.parse(toParse);
|
|
}
|
|
|
|
module.exports = parseTree;
|