Add some string operations

This commit is contained in:
bʰedoh₂ swé 2024-06-18 02:27:38 +05:00
parent d1f96e1c72
commit 6e83ca09f6
3 changed files with 16 additions and 0 deletions

2
std/string/array/dup.lb Normal file
View File

@ -0,0 +1,2 @@
@ 0
args 0

2
std/string/array/rev.lb Normal file
View File

@ -0,0 +1,2 @@
args 0
size

12
std/string/null/rev.lb Normal file
View File

@ -0,0 +1,12 @@
@ 0
args 1
kjz 1
jmp 0
@ 1
pop
size
#exec std/rev.lb
push 0
size
#exec std/rev.lb