Split packages

This commit is contained in:
Ian Gulliver
2021-11-18 19:35:24 -10:00
parent b1e27cce79
commit 8b502f940c
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
package assembler
package asm
import "fmt"
import "strconv"

View File

@@ -1,4 +1,4 @@
package assembler
package asm
import "gopkg.in/yaml.v2"

View File

@@ -1,11 +1,12 @@
package assembler
package test
import "testing"
import "github.com/firestuff/subcoding/asm"
import "github.com/firestuff/subcoding/vm"
func TestAssembleExecute(t *testing.T) {
prog, err := AssembleString(`
func TestLoop(t *testing.T) {
prog, err := asm.AssembleString(`
functions:
- - [add, f0, 1]
- [call, +1]