Directories
¶
| Path | Synopsis |
|---|---|
|
This example demonstrates an integer heap built using the heap interface.
|
This example demonstrates an integer heap built using the heap interface. |
|
cmd
|
|
|
extract
command
Command extract parses Go package source using mvm's goparser and prints exported const, var, type, and func declarations to stdout.
|
Command extract parses Go package source using mvm's goparser and prints exported const, var, type, and func declarations to stdout. |
|
Package comp implements a byte code generator targeting the vm.
|
Package comp implements a byte code generator targeting the vm. |
|
examples
|
|
|
c/shim
command
Build the mvm interpreter as a C-callable static archive.
|
Build the mvm interpreter as a C-callable static archive. |
|
embed
command
Example: embedding the mvm interpreter in a host Go program.
|
Example: embedding the mvm interpreter in a host Go program. |
|
Package goparser implements a structured parser for Go.
|
Package goparser implements a structured parser for Go. |
|
Package interp implements an interpreter.
|
Package interp implements an interpreter. |
|
Package lang provides tokens for possibly multiple languages.
|
Package lang provides tokens for possibly multiple languages. |
|
golang
Package golang provides the lexical specification of Go language.
|
Package golang provides the lexical specification of Go language. |
|
Package scan provide a language independent scanner.
|
Package scan provide a language independent scanner. |
|
Package stdlib provides wrappers of standard library packages to be imported natively in mvm.
|
Package stdlib provides wrappers of standard library packages to be imported natively in mvm. |
|
all
Package all is the convenience aggregator for stdlib bindings: blank-import it to get the full set (core + ext + jsonx).
|
Package all is the convenience aggregator for stdlib bindings: blank-import it to get the full set (core + ext + jsonx). |
|
core
Package core provides wrappers for core standard library packages.
|
Package core provides wrappers for core standard library packages. |
|
jsonx
Package jsonx is a mvm-aware replacement for the encoding/json functions that need to honour mvm-defined methods on struct types (MarshalJSON, UnmarshalJSON).
|
Package jsonx is a mvm-aware replacement for the encoding/json functions that need to honour mvm-defined methods on struct types (MarshalJSON, UnmarshalJSON). |
|
src/cmp
Package cmp provides types and functions related to comparing ordered values.
|
Package cmp provides types and functions related to comparing ordered values. |
|
src/iter
Package iter provides basic definitions related to iterators over sequences.
|
Package iter provides basic definitions related to iterators over sequences. |
|
src/maps
Package maps defines various functions useful with maps of any type.
|
Package maps defines various functions useful with maps of any type. |
|
src/slices
Package slices defines various functions useful with slices of any type.
|
Package slices defines various functions useful with slices of any type. |
|
Package symbol implements symbol utilities.
|
Package symbol implements symbol utilities. |
|
Package vm implement a stack based virtual machine.
|
Package vm implement a stack based virtual machine. |
Click to show internal directories.
Click to hide internal directories.