@janokenmun
Ok so in Modded Minecraft there are really only 2 (maybe 3) "coding" mods, Computer Craft (Lua), Hex Casting (its own Esolang), and maybe Tis-3d (Assembly). And you have to use 1 of those 3 if you want to code in minecraft; and that's not bad. But it feels a bit limited.
So what if, I added a FUCKING LISP LIKE? Well, that means you would need to run lisp inside the JVM, and guess what I found? A (Mini) lisp that parses a string, and runs it (its called TinyLisp). But its missing a lot of the inbuilt OPs that Common Lisp has, so what do I do? I Make A Fucking Registry For Them. I'll clean them up later
But I was getting sick of Copy, Paste, Clean up; Copy, Paste, Clean up; for the math functions. So I though, "hmm, I wonder if I could use a Lambda like thing for these". And well and behold, after an hour of fucking around, and finding out...
I made this: Its a Class, that when registered, takes a BiFunction. And then when the Object of that class is called, it uses its BiFunction on every part of the supplied list, using a horrid loop-function method.
I am so fucking proud of this, and after testing it a bit, it seems to work with all basic Math Methods (Add, Sub, Mult, Div). My fork of TinyLisp is not public (yet), but one day, after cleaning and optimizing it, I am planning to put it in a mod.















