choosejae.blogg.se

How to use notepad++ for lua
How to use notepad++ for lua







Barely any comments within the code makes it hard to tell what it's doing. This keeps the syntax vJass-y by skipping those 2 middle points.ħ) cJass2Lua: almost 1MB and many thousands of lines of code. I intend to support every popular vJass feature and have it compiled to its Lua equivalent (using vJass-style-struct where necessary).Ħ) cJass2Lua first converts your vJass to cJass, then it converts it to JASS, then converts it to Lua. This just requires the XML be saved and NotePad++ reloaded.ĥ) cJass2Lua kills several vJass behaviors such as modules, function interfaces, but doesn't know what to do with them. This tool will just ignore things it doesn't understand.Ĥ) cJass2Lua is incredibly painful to work with (spaghetti code) and requires re-compiling each time a change needs to be made. I've compared it to cJass2Lua:ġ) cJass2Lua is flagged as a virus upon running for the first time, whereas this is just an XML file used to direct a NotePad++ macro.Ģ) cJass2Lua is about 200 times slower at parsing text (regex search and replace is absolutely destroying it in terms of performance).ģ) cJass2Lua will just stop working if it encounters code it doesn't like, such as modules. Overall, it's extremely handy, lightweight and fast.

how to use notepad++ for lua

Those are on my to-do list and will get done either today or tomorrow.

how to use notepad++ for lua

I intend to do more with enabling method operators and converting "this" to "self" in non-static methods, and also intend to support hooks and properly-comment-out native declarations. The JASS version is nearly finished (the globals block is annoying to deal with and currently requires users to manage their code somewhat if they declared globals without an initialization value).









How to use notepad++ for lua