forked from x/ContextOS
opt yac
This commit is contained in:
parent
f07e8be264
commit
77452654a8
17
src/demo.shy
Normal file
17
src/demo.shy
Normal file
@ -0,0 +1,17 @@
|
||||
# demo script
|
||||
|
||||
let a = 1+2*3+1-0
|
||||
|
||||
func show {
|
||||
if a > 2 {
|
||||
system pwd
|
||||
}
|
||||
system pwd
|
||||
}
|
||||
show
|
||||
|
||||
for a > 2 {
|
||||
system pwd
|
||||
let a = a - 1
|
||||
}
|
||||
show
|
Loading…
x
Reference in New Issue
Block a user