mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-27 19:00:25 -04:00
docs: improve go doc comments for vm package
This commit is contained in:
parent
98a73795c7
commit
e010b2da9d
5
vm/doc.go
Normal file
5
vm/doc.go
Normal file
@ -0,0 +1,5 @@
|
||||
/*
|
||||
Package vm implements a virtual machine based synthesizer that runs Sointu
|
||||
bytecode, and methods to convert patches into bytecode.
|
||||
*/
|
||||
package vm
|
@ -21,9 +21,9 @@ func main() {
|
||||
outputFile, err := os.Create("opcodes.go")
|
||||
check(err)
|
||||
defer outputFile.Close()
|
||||
fmt.Fprintln(outputFile, "// Code generated by go generate; DO NOT EDIT.")
|
||||
fmt.Fprintln(outputFile, "package vm")
|
||||
fmt.Fprintln(outputFile, "")
|
||||
fmt.Fprintln(outputFile, "// Code generated by go generate; DO NOT EDIT.")
|
||||
fmt.Fprintln(outputFile, "const (")
|
||||
features := vm.AllFeatures{}
|
||||
max := 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by go generate; DO NOT EDIT.
|
||||
package vm
|
||||
|
||||
// Code generated by go generate; DO NOT EDIT.
|
||||
const (
|
||||
opAdd = 1
|
||||
opAddp = 2
|
||||
|
Loading…
Reference in New Issue
Block a user