semantic-math / math-rules

Manipulate math-ast ASTs based on algebraic rules
MIT License
4 stars 1 forks source link

FRACTIONAL_POLYNOMIALS rule is failing #33

Closed kevinbarabash closed 7 years ago

kevinbarabash commented 7 years ago
export const FRACTIONAL_POLYNOMIALS = defineRuleString('#a #b / #c', '#a / #c #b')

It should do 2x/3 => 2/3 x but does produces 2 / #c #b' instead.