chore: rename parser back to compilation engine

This commit is contained in:
2026-04-27 14:58:05 +01:00
parent f517e283f4
commit 42403ea49e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ func process(inputPath string) error {
return err
}
parsed, err := parser.ParseTokens(tokens)
compiled, err := engine.Compile(tokens)
if err != nil {
return err
@@ -34,7 +34,7 @@ func process(inputPath string) error {
outputPath := strings.Replace(inputPath, ".jack", ".xml", 1)
if err := os.WriteFile(outputPath, []byte(parsed), 0644); err != nil {
if err := os.WriteFile(outputPath, []byte(compiled), 0644); err != nil {
return err
}