Please enable JavaScript.
Coggle requires JavaScript to display documents.
main() - Coggle Diagram
main()
wrenrExec
agrc == 2
--help
--version
runFile
readFile-source
module->chars
initVM
wrenInitCoreExtModule
->
wrenInterpret
wrenCompileSource
compileInModule
(char->Value)
getModule
NULL
2 more items...
1
1 more item...
closure
runInterpreter
register
CallFrame* frame
Value* stackStart
uint8_t* ip
ObjFn* fn
LOAD_FRAME
switch
CASE_CODE(IMPORT_MODULE):
CASE_CODE(POP):
CASE_CODE(IMPORT_VARIABLE):
CASE_CODE(STORE_MODULE_VAR)
CASE_CODE(CLOSURE)
CASE_CODE(CALL_0)
completeCall:
CASE_CODE(END_MODULE):
CASE_CODE(RETURN)
wrenNewFiber
fiber
argc ==3
-L
--check
--debug
runfile
argc <= 1
exit