So, I've been making some progress to adding function pointers to zscript: https://github.com/gwx/ZeldaClassic/...ction-pointers
CODE: Show
Up until now, I've been focusing on getting it to work (which it does), but not any aspects of type safety.
So, continuing forward, I figure I can either add vaguely C style types:
int(bool, int) x = @test;
Or model it after angelscript's approach:
funcdef int TYPE_NAME(bool, int);
// ...
TYPE_NAME x = @test;
Any preferences on which, or other considerations?