Split packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package assembler
|
||||
package asm
|
||||
|
||||
import "fmt"
|
||||
import "strconv"
|
||||
@@ -1,4 +1,4 @@
|
||||
package assembler
|
||||
package asm
|
||||
|
||||
import "gopkg.in/yaml.v2"
|
||||
|
||||
@@ -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]
|
||||
Reference in New Issue
Block a user