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 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/1246
**Author:** [@mak12776](https://github.com/mak12776)
**Created:** 2/26/2019
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `master`
---
### 📝 Commits (1)
- [`b6168ca`](https://github.com/vinta/awesome-python/commit/b6168ca8caf8d0f49d46a87412760b57fdc52c99) Added Pycro
### 📊 Changes
**1 file changed** (+2 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+2 -0)
</details>
### 📄 Description
## What is this Python project?
**pycro** is a python integrated macro preprocessor & code generator, such as [m4](https://www.gnu.org/software/m4/) or [filepp](http://www-users.york.ac.uk/~dm26/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](https://github.com/mak12776/pycro/tree/master/examples) 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](https://github.com/ned14/pcpp) that implemented syntax of other languages preprocessor, but pycro has it's own syntax and is integrated into python. it uses python [eval](https://docs.python.org/3/library/functions.html#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 :+1: to it, and usually, the maintainer will merge it when votes reach **20**.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1246
Author: @mak12776
Created: 2/26/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
b6168caAdded Pycro📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
README.md(+2 -0)📄 Description
What is this Python project?
pycro is a python integrated macro preprocessor & code generator, such as m4 or filepp but with more advanced features:
in the example folder you can see what can be done with pycro.
What's the difference between this Python project and similar ones?
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 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.