emillon / bulletml

Tools to manipulate and interpret shmup patterns
BSD 2-Clause "Simplified" License
80 stars 5 forks source link

Pass arguments, not by substitution #33

Open emillon opened 10 years ago

emillon commented 10 years ago

subst_* functions are a bit annoying. I would like to get rid of them. It would be better to have a proper call stack. The problem is where to store it. obj makes sense of course but breaks standalone function evaluation. It is probably necessary to add Op{Push,Pop}Param opcodes too.