diff --git a/evaluator/import.go b/evaluator/import.go index 7880f53..5d10968 100755 --- a/evaluator/import.go +++ b/evaluator/import.go @@ -59,7 +59,7 @@ func fileExists(file string) bool { _, err := os.Stat(file) return err == nil } - + func evaluateFile(file string, env *object.Environment) (*object.Environment, object.Object) { source, err := os.ReadFile(file) if err != nil { diff --git a/lang_test/main.vint b/lang_test/main.vint index ab112d2..83d249e 100644 --- a/lang_test/main.vint +++ b/lang_test/main.vint @@ -4,13 +4,13 @@ import time package main{ name = "Vint" - let s = name.split("") + s = name.split("") for i in s{ print(i) } - let age = "10" + age = "10" if (age == "20"){ print(age) }else if (age=="10"){ diff --git a/vint_linux_amd64_v0.5.1.tar.gz b/vint_linux_amd64_v0.5.1.tar.gz new file mode 100644 index 0000000..1a70f8f Binary files /dev/null and b/vint_linux_amd64_v0.5.1.tar.gz differ