Result
The result object returned by compile.
Fields
bytecode
The compiled bytecode as bin, or nil if compilation
failed.
diagnostics
An array of Diagnostic objects emitted during compilation.
This includes warnings on successful compilation and errors on failed
compilation.
ok
true if bytecode was produced, otherwise false.