(Interpreter interpreter)
| 94 | } |
| 95 | |
| 96 | private void addStdNatives(Interpreter interpreter) { |
| 97 | interpreter.bindNative(QualifiedName.fromString("std::io::print"), Executor::stdIoPrint); |
| 98 | interpreter.bindNative(QualifiedName.fromString("std::io::println"), Executor::stdIoPrintLn); |
| 99 | //interpreter.bindNative(QualifiedName.fromString("std::fs::open"), Executor::stdFsOpen); |
| 100 | } |
| 101 | |
| 102 | |
| 103 | private static RValue stdIoPrint(Heap heap, RValue[] args) { |
no test coverage detected