Rewrite the parser

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
This commit is contained in:
Emily Eisenberg
2013-07-12 23:16:30 -07:00
parent 507a552ffd
commit 4122fa2b99
12 changed files with 414 additions and 340 deletions

View File

@@ -9,7 +9,7 @@
<link href="main.css" rel="stylesheet" type="text/css">
</head>
<body>
<input type="text" value="2x^2 + 3" id="input" />
<input type="text" value="\blue\dfrac{2(y-z)}{3} \div \orange{\arctan x^{4/3}}" id="input" />
<div id="math" class="mathmathmath"></div>
</body>
</html>