Skip to content

DarkLuny/123

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameSensical Lua optimizer

Simple web tool that replaces calls to global functions with calls to local functions and generates a single line of local variable assignments at the top

preview

How it works:

It properly parses the source code (using luaparse) and traverses the AST, detects calls, checks if they're not already defined in the script somewhere and generates that localization line based on that. It also finds calls to already localized functions that aren't defined in the script.

Then it also replaces the 'dot-syntax' with the 'underscore-syntax'. you can just give it a already optimized script and remove that massive header and make it only generate the localization line

Technologies used:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published