Files
ValueScript/concept-code/eg1.vsm
2023-03-07 09:11:00 +11:00

14 lines
214 B
Plaintext

export @main {}
@main = function() {
call @f1 [1, 2, 3] %x
apply @f2 %x [] %ignore
mov %x %return
}
@f1 = function(%a, %b, %c) {
op* %b %c %_tmp0
op+ %a %_tmp0 %return
}
@f2 = function() {
op++ %this
}