3 ms·
At this point you're already writing your own parser to parse the expressions from the strings. Why not cut out the json completely and make it way more readabl
by _gabe_ 4y ago
At this point you're already writing your own parser to parse the expressions from the strings. Why not cut out the json completely and make it way more readable?
rules = [
x + 1,
x % 2 == 1
]