Paul Emmerich
Paul Emmerich
I didn't want to plug my projects in your thread. It's really only meant for education because that just allows us to just avoid implementing lots of boring stuff and...
It's not immediately obvious why the second assembler listing works. The trick is: Lua/RaptorJIT uses NaN tagging, i.e., pointers etc look like NaN values when interpreted as double. NaN values...
I'll be giving a talk at Saturday 13:00 with one of my students: https://fosdem.org/2019/schedule/event/writing_network_drivers_in_high_level_languages/ See [https://github.com/ixy-languages/ixy-languages](https://github.com/ixy-languages/ixy-languages), might be of interest to some of you? Edit: our talk will be mostly...
Recordings are available: Luke's talk: https://fosdem.org/2019/schedule/event/how_connectx_device_driver_works/ Our talk: https://fosdem.org/2019/schedule/event/writing_network_drivers_in_high_level_languages/
FWIW I implemented this as a plugin for our stuff that just injects a @class annotation together with a lot of @field annotations: https://github.com/DeadlyBossMods/LuaLS-Config/blob/main/DBM-Plugin.lua
+1 for supporting this, it is especially annoying if you have a table that is supposed to be indexed by an enum, e.g., ``` ---@type table local foo foo["wrong value"]...
Later versions of Lua also have a limit, I'm just not 100% sure what it is, it maybe 200 or 255?
You could be running into this: https://github.com/Ketho/vscode-wow-api/blob/master/src/extension.ts#L113 The vscode-wow extension doesn't actually define all globals, instead it reacts to diagnostics about undefined globals and tries to add them as defined....
What's the best way to handle environments until we get first class support for them? I'm currently thinking about writing a plugin that just emits `setlocal ` with an `@type`...
Well, I guess the static definition is not enough if a non-base type inherits from a template, so what would really be needed is a dynamic class definition based on...