Skip to content

Commit 8e97251

Browse files
committed
update: README
1 parent 4a48b00 commit 8e97251

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Run the following example:
2828
```stacky
2929
; hello.stacky
3030
push "hello, world!"
31-
print
31+
println
3232
```
3333

3434
In the Stacky Playground, press the Run button to execute the code. From the CLI, run:
@@ -89,20 +89,20 @@ br buzz
8989
goto other
9090
9191
fizz_buzz:
92-
print "fizz buzz"
92+
println "fizz buzz"
9393
goto start
9494
9595
fizz:
96-
print "fizz"
96+
println "fizz"
9797
goto start
9898
9999
buzz:
100-
print "buzz"
100+
println "buzz"
101101
goto start
102102
103103
other:
104104
load i
105-
print
105+
println
106106
goto start
107107
108108
end:

README_JA.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $ cargo install stacky-cli
2828
```stacky
2929
; hello.stacky
3030
push "hello, world!"
31-
print
31+
println
3232
```
3333

3434
Stacky Playgroundの場合はRunボタンを押してコードを実行します。CLIの場合は以下のコマンドを実行します。
@@ -89,20 +89,20 @@ br buzz
8989
goto other
9090
9191
fizz_buzz:
92-
print "fizz buzz"
92+
println "fizz buzz"
9393
goto start
9494
9595
fizz:
96-
print "fizz"
96+
println "fizz"
9797
goto start
9898
9999
buzz:
100-
print "buzz"
100+
println "buzz"
101101
goto start
102102
103103
other:
104104
load i
105-
print
105+
println
106106
goto start
107107
108108
end:

example.stacky

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
push "hello, world!"
2-
print
2+
println

fizzbuzz.stacky

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@ br buzz
4343
goto other
4444

4545
fizz_buzz:
46-
print "fizz buzz"
46+
println "fizz buzz"
4747
goto start
4848

4949
fizz:
50-
print "fizz"
50+
println "fizz"
5151
goto start
5252

5353
buzz:
54-
print "buzz"
54+
println "buzz"
5555
goto start
5656

5757
other:
5858
load i
59-
print
59+
println
6060
goto start
6161

6262
end:

0 commit comments

Comments
 (0)