Improved separation of concerns

This commit is contained in:
2024-07-23 16:41:21 +02:00
parent d6db1b1096
commit 69245caf62
36 changed files with 243 additions and 236 deletions

View File

@ -2,7 +2,6 @@ package core
// Compile turns a function into machine code.
func (f *Function) Compile() {
defer close(f.finished)
f.AddLabel(f.Name)
f.Err = f.CompileTokens(f.Body)
f.Return()