Created by: mak12776
What is this Python project?
pycro is a python integrated macro preprocessor & code generator, such as m4 or filepp but with more advanced features:
- You can use any possible value type that can be used in python programming language. (e.g list, tuple, dict, set, ...)
- Fully customizable substitutions prefixes & suffixes.
- There is only one file that can be placed in any individual project. (Python 3 also required.)
in the example folder you can see what can be done with pycro.
It is not stable but will be soon.
😃
What's the difference between this Python project and similar ones?
I'm lacking some areas of the english language.
There are so many preprocessors such as pcpp that implemented syntax of other languages preprocessor, but pycro has it's own syntax and is integrated into python. it uses python eval function to evaluates expressions.
because it integrated into python, you can do whatever that you can do in python programming language. for example import other python modules. (will be implemented...)
I tried to implement a well-designed API, so it's easy to extend features.
pycro macros can be extended like filepp.
--
Anyone who agrees with this pull request could vote for it by adding a