mirror of
https://github.com/Ed94/refactor.git
synced 2025-10-25 12:00:55 -07:00
aec095a9f0d589ca59f078145a19e5df4ac64e6d
Moved header and source to code Changed all build scripts to just be powershell (preferred) Added clang format (but forgot that you cannot format zpl because it hangs clang format) Code changes: * Removed long names just using short names (there is an issue with the opts_compile...) * Removed zpl.refactored.h (its generated now when `.\build.ps1 test` is run * Modified zpl.h to just have the radix sort modification.
refactor
A code identifier refactoring app. Intended for c/c++ like identifiers.
Parameters :
-src: Source file to refactor-dst: Destination file after the refactor (omit to use the same as source)-spec: Specification containing rules to use for the refactor.
Syntax :
notOmit word or namespace.wordFixed sized identifier.namespaceVariable sized identifiers, mainly intended to redefine c-namespace of an identifier.,is used to delimit arguments to word or namespace.L-Valueis the signature to modify.R-Valueis the substitute ( only available if rule does not usenotkeyword )
TODO:
- Possibly come up with a better name.
- Cleanup memory usage (it hogs quite a bit for what it does..)
- Split lines of file and refactor it that way instead (better debug, problably negligable performance loss, worst case can have both depending on build type)
- Accept multiple files at once
-files
Description
Languages
C++
81.4%
PowerShell
16.6%
Meson
2%