A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, Objective-C, C#, and Java Source Code.
Website: http://astyle.sourceforge.net/
Git Repository: https://gitlab.com/saalen/astyle/
Reformats your Lua source code. The program will attempt to automatically use the current directory's .lua-format file if no config file is passed in the command line. If none is found, it will try to locate a .lua-format file in a parent directory recursively. On Linux, it will use $XDG_CONFIG_HOME/luaformatter/config.yaml if .lua-format does not exist. In case there's no file, it will fall back to the default configuration. The program will give the top priority to the configuration values...
PrettyPrinter is a source code formatter/beautifier. Its modular design allows the use of different syntax modules through a unified interface. It comes with a default syntax module that interprets customizable syntax files using regular expressions.