For those wondering how most of the people on the ...
# advent-of-code
k
For those wondering how most of the people on the leaderboard are so fast. Those are all scripting languages (ruby and python) which replaced the operators with a different one with the impl of the intended operator, and then evaled the line
i
Oh, perhaps one could write a solution that transforms an input expression to a K program, and then run that program.
e
eh, it's not only that. for Haskellers, there's a simple library for parsing expressions with custom terms and operators: https://github.com/ephemient/aoc2020/blob/main/hs/src/Day18.hs