v0.3.3: is lib word, UTF–8 string support

This commit is contained in:
Luxferre
2026-07-07 08:19:13 +03:00
parent a9f23d7861
commit 147089dc23
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ func NewClyx(libfname string, libCode string) *Clyx {
c.words["type"] = func() { c.cmdType() }
c.words["next"] = func() { c.stack = append(c.stack, c.popCallerToken()) }
c.words["."] = func() { printVal(c.pop()) }
c.words["emit"] = func() { fmt.Printf("%c", rune(toInt(c.pop()))) }
c.words["emit"] = func() { os.Stdout.Write([]byte{byte(toInt(c.pop()))}) }
c.words["fopen"] = func() {
mode, fileVal := c.pop().(string), c.pop()
isStdin := false