pre migrate

This commit is contained in:
2026-01-28 20:58:26 -05:00
parent a613283539
commit 513674b0c8
11 changed files with 206 additions and 263 deletions

View File

@@ -5,9 +5,8 @@ import (
"fmt"
"os"
"reichard.io/poiesis/internal/builtin"
"reichard.io/poiesis/internal/functions"
"reichard.io/poiesis/internal/runtime"
_ "reichard.io/poiesis/internal/standard"
)
func main() {
@@ -19,7 +18,7 @@ func main() {
// Print Types
if os.Args[1] == "-print-types" {
fmt.Println(builtin.GetBuiltinsDeclarations())
fmt.Println(functions.GetFunctionDeclarations())
return
}
@@ -31,7 +30,7 @@ func main() {
// Run File
filePath := os.Args[1]
if err := rt.RunFile(filePath, os.Stdout, os.Stderr); err != nil {
if err := rt.RunFile(filePath); err != nil {
panic(err)
}
}