forked from nekopanda/AviSynthPlus
-
Notifications
You must be signed in to change notification settings - Fork 1
Language New Features
Rainman74 edited this page Sep 13, 2025
·
1 revision
Functions as first-class objects.
Example:
a = function(int x, int y){ x+y }
MessageClip(String(IsFunction(a))) # true
Functions can be passed as arguments, returned, captured with [].
Built-in and plugin functions are not function objects, but func() can wrap them.
New type 'func'.
Comparison with GRunT: Neo can pass functions directly instead of strings.
Built-ins updated to accept functions: ScriptClip, ConditionalFilter, ConditionalSelect, WriteFile*.
Escaped strings supported with e prefix.