![]() ![]() ![]() General purpose of TypeScriptToLua: convert (transpile) typescript code into Lua code. There is TypeScriptToLua project. My project is based on TypeScriptToLua (I use it as a dependency). MTASA Lua is still 5.1 (it is not developing). Lua, like any programming language, is developing, however MTASA core strongly linked to Lua 5.1. Hints (from your IDE). Lua is dynamic typed language, therefore, it's hard to determine, what the variable is and, hence, IDE cannot hint you function declarations, object methods and etc. That's make the source code more complicated, than it could be. If you want to write OOP code with your own classes, you have to use metatables to implement class objects behavior. Lua does not support classes (syntax) from scratch. I would like to share that project to receive some suggestions and, I believe, to help someone in resource writing.Ĭlasses. I am developing utility packages for transpiling TypeScript into an MTASA-compatible Lua code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |