Rename project

This commit is contained in:
2025-07-06 21:39:11 -07:00
parent e560ce88b6
commit 10307f3861
8 changed files with 16 additions and 16 deletions
@@ -0,0 +1,55 @@
---
source: src/labels/process.rs
expression: board_to_text(board)
---
'Slightly contrived example: two routines
'using the same local label ".loop"
:run_w
#walk w
:_loop
#try w stop
#_loop
'
:run_e
#walk e
:_loop0
#try e stop
#_loop0
'
:stop
#walk i
---
'Using locals before any globals are defined
:_loop1
#take gems 1 _break
#_loop1
:_break
---
'Multiple sections with the same name
#end
:touch
Trying to sell you some ammo...
#take gems 10 _skip
#give ammo 10
:_skip
#zap touch
#end
:touch
Trying to sell you some torches...
#take gems 15 _skip0
#give torches 5
:_skip0
#restore touch
---
'Multiple locals with the same name
#end
:repeat3
:_z
:_z
:_z
#take gems 1 _skip1
#give score 1
:_skip1
#zap _z
#_z
:_z