RosettaCodeData/Task/Compile-time-calculation/Arturo/compile-time-calculation.arturo
2023-07-01 13:44:08 -04:00

19 lines
426 B
Text

f10: 1*2*3*4*5*6*7*8*9*10 ; this is evaluated at compile time
; the generate bytecode is:
; [ :bytecode
; ================================
; DATA
; ================================
; 0: 3628800 :integer
; 1: f10 :label
; ================================
; CODE
; ================================
; push0
; store1
; end
; ]
print f10