Matěj Štágl
Matěj Štágl
Thanks for the reply, multiline lambda will do for now. For the sake of backwards compatibility it would be nice to have another setting to toggle this. > It's in...
Great job, thanks!
@codingseb what do you think about this? Should you give this a go, I can prepare a PR. This is a breaking change but should be an easy one to...
@codingseb one of the cleanest architectures of hand written parser is here - https://github.com/scriban/scriban I would possibly use one of LL(k) parser generators not only for perf but also for...
@xanathar what's the state of this? I've tried the branch and lgtm.
@ixjf thanks for cleaning this up! Looking trough the tests and wondering how to wire up `async Task F(ScriptExecutionContext ctx, CallbackArguments args)` with this (eg. a delegate of type (`Func`)....
I'm fetching data from DB and I'd like to free the thread while that is being done to avoid thread starvation. In my use case moonsharp scripts are being used...
Essentially I just need to make the whole chain of function calls up to the one fetching data from DB async and awaiting each other. When this function is called...
C#: ```csharp Script script = new Script(); script.Globals["dbfn"] = (Func)DbFn; async Task DbFn(ScriptExecutionContext ctx, CallbackArguments args) { return await (int)dbcontext.QueryAsync($"select top 1 someIntColumn from Users where id = {(int)args[0].Double}"); //...
@ixjf I need/expect Lua to pause execution until the value is resolved. On the second line I need to be able to work with n1 already.