AngouriMath
Navigation
UnicodeSpelling
Description
Summary
What UnicodeOutput prints: the ASCII form, lexed, with each
operator token replaced by the glyph the lexer reads as that same token, and an integer
exponent by superscript digits.
operator token replaced by the glyph the lexer reads as that same token, and an integer
exponent by superscript digits.
Remarks
Respelling tokens rather than the nodes is what keeps the round trip a property of the
grammar rather than of sixty printers: a name, a number and a function call are tokens
that are never touched, sosin or a variable called notable cannot be
rewritten, and every glyph lexes as the token it replaced, so the parser sees the token
stream it would have seen from the ASCII form.
https://github.com/asc-community/AngouriMath/issues/1242
grammar rather than of sixty printers: a name, a number and a function call are tokens
that are never touched, so
rewritten, and every glyph lexes as the token it replaced, so the parser sees the token
stream it would have seen from the ASCII form.
https://github.com/asc-community/AngouriMath/issues/1242
Members
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6003 pages online