Add support for local labels

This commit is contained in:
2025-06-19 18:59:50 -07:00
parent 0f59dd668a
commit 71906cf4b8
4 changed files with 102 additions and 10 deletions
@@ -0,0 +1,20 @@
---
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