We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d502e42 commit 5075056Copy full SHA for 5075056
example/build.bat renamed to rune/build.bat
example/build.sh renamed to rune/build.sh
rune/main.go
@@ -9,16 +9,17 @@ import (
9
10
/*********************************************************
11
*
12
-* To build the rune binary: use the build.bat on windows or build.sh on linux
+* To build the rune binary: use the build.bat on windows or build.sh on linux/macos
13
14
**********************************************************/
15
16
-
+const version = "v0.1.36"
17
18
func main() {
19
args := os.Args
20
if len(args) < 2 {
21
- fmt.Println("USAGE: rune <sourcefile>")
+ fmt.Printf("Rune interpreter %s\n", version)
22
+ fmt.Println(" USAGE: rune <sourcefile>")
23
os.Exit(1)
24
}
25
source, err := os.ReadFile(args[1])
0 commit comments