file/compile/module
path environment base-dirSummary
Compile a Nujel source file into optimized object code
Bytecode
Probably only interesting to you if you want to understand more about the Nujel VM or care very much about performance.
( 0 ($get/val 'string->keyword)) ( 2 ($get/val 'path/without-extension)) ( 4 ($get/val 'string/cut)) ( 6 ($get/val 'path)) ( 8 ($get/val 'length)) ( 10 ($get/val 'base-dir)) ( 12 ($apply 1)) ( 14 ($apply 2)) ( 16 ($apply 1)) ( 18 ($apply 1)) ( 20 ($det/val 'module-name)) ( 22 ($drop)) ( 23 ($push/val 'defmodule/defer)) ( 25 ($get/val 'module-name)) ( 27 ($push/val 'def)) ( 29 ($push/val '*module*)) ( 31 ($get/val 'module-name)) ( 33 ($push/nil)) ( 34 ($cons)) ( 35 ($cons)) ( 36 ($cons)) ( 37 ($get/val 'append)) ( 39 ($get/val 'read)) ( 41 ($get/val 'file/read)) ( 43 ($get/val 'path)) ( 45 ($apply 1)) ( 47 ($apply 1)) ( 49 ($push/nil)) ( 50 ($apply 2)) ( 52 ($cons)) ( 53 ($cons)) ( 54 ($cons)) ( 55 ($det/val 'source)) ( 57 ($drop)) ( 58 ($get/val 'compile*)) ( 60 ($get/val 'source)) ( 62 ($get/val 'environment)) ( 64 ($dup)) ( 65 ($jt* 16)) ( 68 ($drop)) ( 69 ($let)) ( 70 ($push/nil)) ( 71 ($drop)) ( 72 ($closure/push)) ( 73 ($closure/pop)) ( 74 ($dup)) ( 75 ($jt* 6)) ( 78 ($drop)) ( 79 ($push/val #f)) ( 81 ($apply 2)) ( 83 ($det/val 'object-code)) ( 85 ($drop)) ( 86 ($get/val 'file/write)) ( 88 ($get/val 'object-code)) ( 90 ($jf* 12)) ( 93 ($get/val 'string/write)) ( 95 ($get/val 'object-code)) ( 97 ($apply 1)) ( 99 ($jmp* 5)) ( 102 ($push/val )) ( 104 ($get/val 'cat)) ( 106 ($get/val 'path/without-extension)) ( 108 ($get/val 'path)) ( 110 ($apply 1)) ( 112 ($push/val .no)) ( 114 ($apply 2)) ( 116 ($apply 2)) ( 118 ($drop)) ( 119 ($get/val 'object-code)) ( 121 ($ret)) ( 122 ($ret))