Crate neptune_lang

Source
Expand description

§Example

use neptune_lang::*;
let vm = VM::new(NoopModuleLoader);
vm.exec_sync("<script>", "/*do nothing*/").unwrap();

Structs§

CompileError
CompileErrorList
EFuncContext
NeptuneError
This type represents the Error class of Neptune lang.
NoopModuleLoader
Resource
Represents a resource. It can be used efuncs that return resources
VM
Instance of a Neptune VM

Enums§

EFuncError
EFuncErrorOr
This enum can be used to represent errors that can either be an EFuncError or another error type. EFuncErrors can be converted to EFuncErrorOr using the ? operator.
Error
InterpretError

Traits§

ModuleLoader
The embedder needs to implement this trait to specify how to resolve import paths
ToNeptuneValue
Types that can be converted to Neptune values implement this trait Example: