mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 14:12:18 -05:00
[PR #1292] [CLOSED] add pycro #1147
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1292
Author: @mak12776
Created: 5/12/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
d15ef0fadd pycro📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
Pycro is a python integrated macro preprocessor. It will interpret input texts
and generates a corresponding python code that will generate the intended
result, if we compile and execute that.
usage example
imagine we have this
main.cfile:we open this file and pass it to
generate_codefunction:another file will be created named
main.c.py:now we can compile and execute
main.c.pyusing the following code:the generated result saved as
_main.c:it's time to compile
_main.c:and run
./main:$ ./main:What's the difference between this Python project and similar ones?
I'm tired to compare them here, but it's not complete.
--
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.