pre migrate
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user