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 emits bindings for a package's exported const, var, type, and func declarations.
|
Command extract parses Go package source using mvm's goparser and emits bindings for a package's exported const, var, type, and func declarations. |
|
mvmlint
command
Command mvmlint runs mvm's project-specific source checks over mvm's own Go source, using mvm's own scanner (github.com/mvm-sh/mvm/scan) rather than the Go AST or go/analysis.
|
Command mvmlint runs mvm's project-specific source checks over mvm's own Go source, using mvm's own scanner (github.com/mvm-sh/mvm/scan) rather than the Go AST or go/analysis. |
|
Package comp implements a byte code generator targeting the vm.
|
Package comp implements a byte code generator targeting the vm. |
|
Command compat generates the mvm compatibility-matrix data.
|
Command compat generates the mvm compatibility-matrix data. |
|
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 modfs implements an io/fs.FS backed by the Go module proxy protocol.
|
Package modfs implements an io/fs.FS backed by the Go module proxy protocol. |
|
Package mtype holds mvm's symbolic type representation: the compile-time Type graph and the constructors/derivations over it.
|
Package mtype holds mvm's symbolic type representation: the compile-time Type graph and the constructors/derivations over it. |
|
Package runtype synthesizes Go rtypes carrying interpreted-method metadata.
|
Package runtype synthesizes Go rtypes carrying interpreted-method metadata. |
|
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).
|
Package all is the convenience aggregator for stdlib bindings: blank-import it to get the full set (core + ext). |
|
core
Package core provides wrappers for core standard library packages.
|
Package core provides wrappers for core standard library packages. |
|
stdmod
Package stdmod redirects stdlib-shaped import paths to a std module hosted on the Go module proxy.
|
Package stdmod redirects stdlib-shaped import paths to a std module hosted on the Go module proxy. |
|
stubs
Package stubs is the method-signature "shape" catalog (S1..S16) that lets interpreted methods satisfy native stdlib interfaces (fmt.Stringer, json.Marshaler, sort.Interface, io.Reader, ...) at the reflect boundary.
|
Package stubs is the method-signature "shape" catalog (S1..S16) that lets interpreted methods satisfy native stdlib interfaces (fmt.Stringer, json.Marshaler, sort.Interface, io.Reader, ...) at the reflect boundary. |
|
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.