1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 14:28:08 +03:00
juvix/tests/Asm/positive/test037.jva
Łukasz Czajka 4be4d58d30
String builtins (#1784)
- Progress for #1742 
* Adds builtin primitives for operations on strings and removes the
corresponding foreign & compile blocks.
2023-01-31 18:31:04 +01:00

14 lines
156 B
Plaintext

-- string instructions
function main() {
push ".\n";
push 20;
push "123";
atoi;
add;
show;
strcat;
alloc write;
ret;
}