| 34 | } |
| 35 | |
| 36 | void xs_repl_eval(txMachine* the) |
| 37 | { |
| 38 | txStringStream aStream; |
| 39 | txSlot* realm = mxProgram.value.reference->next->value.module.realm; |
| 40 | aStream.slot = mxArgv(0); |
| 41 | aStream.offset = 0; |
| 42 | aStream.size = c_strlen(fxToString(the, mxArgv(0))); |
| 43 | fxRunScript(the, fxParseScript(the, &aStream, fxStringGetter, mxProgramFlag), mxRealmGlobal(realm), C_NULL, mxRealmClosures(realm)->value.reference, C_NULL, mxProgram.value.reference); |
| 44 | mxPullSlot(mxResult); |
| 45 | } |
| 46 | |
| 47 | void xs_repl_isDebug(xsMachine *the) |
| 48 | { |
nothing calls this directly
no test coverage detected