feat: compile first test program

This commit is contained in:
2026-04-28 13:57:17 +01:00
parent 90f56ca9ea
commit d01185d536
5 changed files with 312 additions and 352 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func process(inputPath string) error {
return err
}
outputPath := strings.Replace(inputPath, ".jack", ".xml", 1)
outputPath := strings.Replace(inputPath, ".jack", ".vm", 1)
if err := os.WriteFile(outputPath, []byte(compiled), 0644); err != nil {
return err