v0.3.3: is lib word, UTF–8 string support
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user