@islah/math-emo
Version:
MATH-EMO is a node js project to abstract the high level code to asm part, so people can easily create their own programming language, see readme for more details.
19 lines (16 loc) • 445 B
JavaScript
function optimize() {}
function create(globalPipeLineMEM) {
return {
optimize: function () {
if (!globalPipeLineMEM.pipelineData.transpiledMath) {
console.warn(
"transpiled data is invalid",
globalPipeLineMEM.pipelineData.transpiledMath
);
return;
}
return optimize(globalPipeLineMEM.pipelineData.transpiledMath);
},
};
}
module.exports = { create };