Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.02k stars 445 forks source link

refactor: improve LuaLS generator #5283

Closed Nerixyz closed 5 months ago

Nerixyz commented 5 months ago

The previous generator had some bugs that would require keeping a lot more state or having more duplicate code when doing it line-by-line. Mainly, classes with methods weren't defined globally and some enums weren't read correctly. I refactored it to fix the bugs. It should be a bit easier to extend the generator. Furthermore, triple-slash comments are now supported. Triple slash comments aren't supported anymore, they're doxygen-only now. There were some issues in the definitions which I fixed as well.