Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435package cli
// Exec runs the command included in the first argument and returns the exit code.func Exec(args []string) int { if len(args) == 0 { return invalid() }
switch args[0] { case "asm": return asm(args[1:]) case "build": return build(args[1:]) case "files": return files(args[1:]) case "format": return format(args[1:]) case "functions": return functions(args[1:]) case "help": return help() case "keywords": return keywords() case "operators": return operators() case "run": return run(args[1:]) case "ssa": return ssa(args[1:]) case "version": return version() default: return run(args) }}