mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
Add benchmarks
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
func add_one:
|
||||
var x = %in
|
||||
var y = ${x} + 1 calc
|
||||
push_out ${y}
|
||||
return
|
||||
|
||||
var i = 0
|
||||
while ${i} < 60000:
|
||||
call add_one with ${i}
|
||||
var i = %out
|
||||
end_while
|
||||
print_line ${i}
|
||||
Reference in New Issue
Block a user