Refactor identifiers. Intended for c/c++ like symbol identifiers.
Go to file
2023-03-12 22:38:21 -04:00
.vscode First working prototype. 2023-03-12 21:34:55 -04:00
Test fixed up debug logs and fatal asserts. 2023-03-12 22:38:21 -04:00
thirdparty Update zpl.h.refactor to expose chang ehte native typedefs. 2023-03-12 22:13:18 -04:00
.editorconfig fixed up debug logs and fatal asserts. 2023-03-12 22:38:21 -04:00
.gitignore Remove other dir; added gitignore 2023-03-12 22:19:00 -04:00
bloat.hpp fixed up debug logs and fatal asserts. 2023-03-12 22:38:21 -04:00
build.bat First working prototype. 2023-03-12 21:34:55 -04:00
clean.bat First working prototype. 2023-03-12 21:34:55 -04:00
LICENSE Create LICENSE 2023-03-12 21:47:10 -04:00
meson.build First working prototype. 2023-03-12 21:34:55 -04:00
Readme.md First working prototype. 2023-03-12 21:34:55 -04:00
refactor.cpp fixed up debug logs and fatal asserts. 2023-03-12 22:38:21 -04:00

refactor

A code identifier refactoring app. Intended for c/c++ like identifiers.

Parameters :

  • -source, -src : Source file to refactor
  • -destination, -dst : Destination file after the refactor (omit to use the same as source)
  • -specification, -spec : Specification containing rules to use for the refactor.

Syntax :

  • not Omit word or namespace.
  • word Fixed sized identifier.
  • namespace Variable sized identifiers, mainly intended to redefine c-namespace of an identifier.
  • , is used to delimit arguments to word or namespace.
  • L-Value is the signature to modify.
  • R-Value is the substitute ( only available if rule does not use not keyword )

TODO:

  • Possibly come up with a better name.
  • Cleanup memory usage (it hogs quite a bit or what it does..)