module system

This commit is contained in:
2024-08-22 01:23:17 +02:00
parent 0da965ece3
commit 4672889a59
5 changed files with 46 additions and 50 deletions
+2 -12
View File
@@ -1,16 +1,6 @@
package main
import (
"fmt"
"os"
)
func main() {
content, err := os.ReadFile("test/main.wst")
if err != nil {
fmt.Println("Error reading file:", err)
return
}
code := Transpile(string(content))
fmt.Printf("output:\n%s\n", code)
root := NewRoot("src/main.wyst")
WriteRoot(root)
}