Implemented an abstract syntax tree
This commit is contained in:
parent
3b29d4cdee
commit
8453273d73
28 changed files with 422 additions and 315 deletions
|
@ -4,6 +4,6 @@ import "fmt"
|
|||
|
||||
// Instruction represents a single instruction which can be converted to machine code.
|
||||
type Instruction struct {
|
||||
Mnemonic Mnemonic
|
||||
Data fmt.Stringer
|
||||
Mnemonic Mnemonic
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue