Manu Evans

Results 101 comments of Manu Evans

Okay, good approach. I'll keep this in mind.

I've been toying with the idea of supporting overloads transparently. The function call shim would need to be enhanced to try and match the args that were received from the...

Yeah, I think I'd do the parameter checks on the D side, it should be a little bit faster. I do realise there would be some cost involved, but like,...

The point of @ScriptAffix is for use across a scope: ``` @scriptPrefix("MyLib_"): int x; float y; void func(int z); ``` All of them will be prefixed appropriately, where rename wouldn't...

Also, I feel 'Script' in the attribute name is pretty superfluous. Why should it be there? And why would 'Script' be better than 'Lua'? This is a very specific library....

> It opens for generalization/cooperation later. Many programs support scripting in multiple languages. Having a common set of attributes like this between say, LuaD and PyD, seems beneficial to me....

Just the struct/class part in a single patch.

Updated again with fixes to handling of inout.

This issue has just drawn one of my projects to a crashing halt... what workarounds exist?

Why aren't we using pcall and catching the error there? Ideally, we could avoid the panic completely...