all repos — min @ 8b5fa55ee535bced4ff6e2de351ee980cd9eaf4d

A small but practical concatenative programming language.

cmdTest.nim

 1
 2
 3
 4
 5
 6
 7
 8
 9
import min
MINCOMPILED = true
var i = newMinInterpreter("cmdTest.min")
i.stdLib()
### cmdTest.min (main)
i.push MinValue(kind: minCommand, cmdVal: "ls")
i.push MinValue(kind: minString, strVal: "\n")
i.push MinValue(kind: minSymbol, symVal: "split", column: 15, line: 1, filename: "cmdTest.min")
i.push MinValue(kind: minSymbol, symVal: "puts", column: 20, line: 1, filename: "cmdTest.min")