Switching javascript neural network to java

Yes, there’s a preprocessor, which puts the code in context (great) and makes pointless minor syntax / language changes (buggy PITA and no support for lambdas). But it has no effect on how the code above actually compiles, either to bytecode or at runtime.