kmgb / latex_input

Use LaTeX-style inputs to write the equivalent unicode characters anywhere.
GNU General Public License v3.0
0 stars 0 forks source link

Improve parser by creating an AST #5

Closed kmgb closed 2 years ago

kmgb commented 2 years ago

Currently, the translation from LaTeX to unicode happens inside the recursive descent parser. It would be better to create an AST of nested types and use the types like MathFrak's repr method to actually perform the conversion.