Soni L.

Results 394 comments of Soni L.

Try this: mymodule.lua ``` lua local modname, modpath = ... print(modname) if not modpath then print("No modpath: Lua 5.1 detected") else print(modpath) end return {helloworld = function() print("Hello World!") end}...

Try setting the module root in package.path. You can do that in luvi, right?

Can't you make LLVM generate a tailcall function (incompatible with C calling standards) and a wrapper C function (incompatible with tailcall), and pick one of them depending on OP_TAILCALL vs...

1. I don't see the issue. 2. Can't LLVM optimize a tail call (I mean LLVM's tail calls have a different calling convention which breaks the ABI - but listen...

there aren't circular references in them but still show up as nil. ideally it'd show e.g. the "string" table as just "string" and all the marker tables as TK.something (as...

oh, additionally they *do* have `__tostring`, see line 754 on file `luatokens.lua`. how would you like me to run those?

I don't have mobdebug, can I run it from the IDE, without debugger attached?

``` mobdebug.dump: do local _={[1]="\n",[2]="\n",[3]="\n",[4]="\n",[5]="\n",[6]="\n",[7]="\n",[8]="\n",[9]="\n",[10]="\n",[11]="\n",[12]="\n",[13]="\n",[14]="\n",[15]="\n",[16]="\n",[17]="\n",[18]="\n",[19]="\n",[20]="\n",[21]="\n",[22]="TK_LOCAL",[23]="TK_NAME",[24]="is51",[25]="=",[26]="(",[27]="TK_FUNCTION",[28]="(",[29]=")",[30]=nil,[31]=nil,[32]="_ENV",[33]="=",[34]="{",[35]=nil,[36]="hasenv",[37]="=",[38]="TK_TRUE",[39]="}",n=39};local __={};_[30]=_[22];_[31]=_[23];_[35]=_[23];return _;end mobdebug.line: {"\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "TK_LOCAL",...