A calculator demo. "But its also missing code, so it injects what its missing"
The idea came from a discussion about writing the most obfuscated calculator.
- Java Runtime 1.8 or higher
Pipe your math equation into the CLI (Avoid using parentheses).
java -jar ic.jar 1+1*5/9
- A blank calculator base with the
Add
,Sub
,Mul
&Div
operators. - During runtime the operator functions are written then dynamically loaded.
- This is more of a fun experiment, don't take it too seriously.
- Only 4 operations supported. (
Add
,Subtract
,Multiply
,Divide
) - No decimal / floating point / parentheses support. (Integers only / limited order of operations support)