| 54 | } |
| 55 | |
| 56 | void xs_repl_eval(txMachine* the) |
| 57 | { |
| 58 | txStringStream aStream; |
| 59 | txSlot* realm = mxProgram.value.reference->next->value.module.realm; |
| 60 | aStream.slot = mxArgv(0); |
| 61 | aStream.offset = 0; |
| 62 | aStream.size = c_strlen(fxToString(the, mxArgv(0))); |
| 63 | fxRunScript(the, fxParseScript(the, &aStream, fxStringGetter, mxProgramFlag), mxRealmGlobal(realm), C_NULL, mxRealmClosures(realm)->value.reference, C_NULL, mxProgram.value.reference); |
| 64 | mxPullSlot(mxResult); |
| 65 | } |
| 66 | |
| 67 | void xs_repl_isDebug(xsMachine *the) |
| 68 | { |
nothing calls this directly
no test coverage detected