HW20
Last modified by superadmin on 2018-01-12 20:29
HW20: Use Antlr parser generator
Use Antlr parser generator to deal with a custom non-XML markup. Process a subset of LaTeX expressions of mathematical formulae in order to create their MathML representation. For example, convert \frac{2}{3} (fraction 2/3) into a MathML notation.Example input formats
Here is an example of LaTeX expression:x_{1,2}=\frac{-b \pm \sqrt{b^2-4ac}}{2a}

Bibliography
- http://rubyforge.org/frs/?group_id=167 - installations of Ruby (e.g. take the most recent version, which at the moment of writing this is 1.8.6-25).
- http://en.wikipedia.org/wiki/Textile_(markup_language) - Textile markup language.
- http://www.w3.org/Math/ - MathML specifications and software supporting it.
- http://rubyforge.org/projects/ritex - Ritex software converting LaTeX formulae into MathML.
- http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:Commands, http://www.andy-roberts.net/misc/latex/latextutorial9.html - some tutorials of LaTeX.
- http://lv.wikipedia.org/wiki/Wikipedia:Smil%C5%A1u_kaste - Wikipedia sandbox, a good place where to learn LaTeX markup for mathematical formulae.