AngouriMath
RationalLiteral(AngouriMath.Entity)
Method (no overloads)
Summary
The Rational that a quotient of two integer literals denotes, or
the node unchanged where it denotes none.
the node unchanged where it denotes none.
Remarks
in the grammar, so re-parsing gave a Divf and the round trip was not an
identity — the value survived and the node did not. That is
https://github.com/asc-community/AngouriMath/issues/946's neighbour,
https://github.com/asc-community/AngouriMath/issues/873, answered there with "if you
have two integers on both sides of the division, it is reasonable to try to parse it
as a rational".
not simplification: turning
wrote, and
Only the non-integer case is what a Rational can print as, so only
it is what the round trip needs.
parser was the one step that disagreed.
carry — the sweep over a finished tree, where an annotation cannot have reached a
quotient — or is
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online