katsaii / catspeak-lang

A cross-platform modding language for GameMaker games.
https://www.katsaii.com/catspeak-lang/
MIT License
94 stars 6 forks source link

Dev 3.1.2 - Further patch for built-in functions with optional args #142

Closed katsaii closed 3 weeks ago

katsaii commented 3 weeks ago

Related to #138, adds a wrapper function that should fix any bugs up to 16 args. Potentially terribly slow, let's hope the fast paths (call_0, call_1, ... , call_5) catch most cases.

TODO: Tidy up this code in Catspeak 4, because it is abysmal.