LightAndLight / ipso

A functional scripting language.
https://ipso.dev
16 stars 1 forks source link

Improve `functionN!` macros in `ipso_eval` #405

Open LightAndLight opened 1 year ago

LightAndLight commented 1 year ago

Instead of manually unpacking the arguments of, say, function3!, I should just give it a closure that has 3 extra arguments. The macro can unpack the arguments and pass them to the closure.