diprism / perpl

The PERPL Compiler
MIT License
10 stars 5 forks source link

Rational instead of float weights #64

Open davidweichiang opened 2 years ago

davidweichiang commented 2 years ago

This would involve changing the syntax of weights to integers (1) or rationals (1/2), but when printing out JSON, the weights would be converted to floats.