rewrite variable.go to allow indexed asignment

This commit is contained in:
2023-03-08 22:41:55 +00:00
parent f7603e30c4
commit 09deba8912
8 changed files with 166 additions and 42 deletions

View File

@@ -22,14 +22,15 @@ func shell() {
code := input("\x1b[38;5;240m>>> \x1b[0m\x1b[1;5;240m")
fmt.Print("\x1b[0m")
translated, translationerr := translate([]UNPARSEcode{{code, code, 1, "<shell>"}})
count := len(translated)
if translationerr.EXISTS {
panicErr(translationerr)
}
_, runimeErr, count, output := run(translated, global)
_, runimeErr, output := run(translated, global)
if runimeErr.EXISTS {
panicErr(runimeErr)
}
if count == 0 {
if count == 1 {
fmt.Println(anyToArgon(output, true, true, 3, 0, true, 1))
}
}