indilo53 / fxserver-resource-scrambler

FXServer Resource Scrambler
GNU General Public License v3.0
22 stars 12 forks source link

Decorators #2

Open FrazzIe opened 6 years ago

FrazzIe commented 6 years ago

Suggestion to possibly add in the scrambling of decorators?

Thought this might be a nice addition. ¯_(ツ)_/¯

Blumlaut commented 6 years ago

you could also extend this to variables and function names, would definetely be useful.

this wouldn't even need a detection method either, just scrambling them in the first place would be great!

indilo53 commented 6 years ago

Nice ideas but I have no time to work on this for now. Any help will be greatly appreciated !

For variables and function names I think the way to go is to parse lua AST (ex: https://github.com/oxyc/luaparse) to not mess with the scopes.