JarrettBillingsley / Croc

Croc is an extensible extension language in the vein of Lua, which also wishes it were a standalone language. Also it's fun.
http://www.croc-lang.org
79 stars 12 forks source link

New API function for a try block that doesn't require a native func? #157

Open JarrettBillingsley opened 9 years ago

JarrettBillingsley commented 9 years ago

Having to create a native function closure every time you want to do a native "try" block is... suboptimal. Would it be possible to bypass the native function closure and basically wrap tryCode directly?