3 ms·
Insane in the best possible meaning of the word. Man, that is so cool. In my opinion AOC is a very good example for "if all you have is a hammer". For AOC you
by ahaferburg 4y ago
Insane in the best possible meaning of the word. Man, that is so cool.
In my opinion AOC is a very good example for "if all you have is a hammer". For AOC you don't need to write a program that finds a solution for any possible input, you need a calculator to compute the solution for your input. This is such a calculator, and a very nice one.
Suggestion: Flip the assignment operator. You keep writing an expression left to right, but then you have to scroll all the way back to the left to make a variable. This could be streamlined by making it e. g. "EXPR -> VAR_NAME" instead of "*VAR_NAME EXPR".
Why don't you make a Show HN submission? I'd upvote you. :)