Add syntax to push and modify stacks in one line (#1421)

This commit is contained in:
Sylvie
2024-07-25 17:14:59 -04:00
committed by GitHub
parent 1d89d75381
commit e179ba5fd3
9 changed files with 73 additions and 14 deletions

View File

@@ -20,6 +20,11 @@ MACRO push_
pushc
ENDM
MACRO push_set_
println "pushc \1"
pushc \1
ENDM
MACRO pop_
println "popc"
popc
@@ -83,9 +88,8 @@ charmap "ef", $3
push_
set_ map2
push_
set_ map3
push_set_ map3
print_mapped "ab"
print_mapped "cd"