Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakkusakura/pacro
A powerful macro processor written in Python for different languages
https://github.com/jakkusakura/pacro
Last synced: about 6 hours ago
JSON representation
A powerful macro processor written in Python for different languages
- Host: GitHub
- URL: https://github.com/jakkusakura/pacro
- Owner: JakkuSakura
- Created: 2020-09-02T18:22:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-31T17:35:56.000Z (about 3 years ago)
- Last Synced: 2023-11-25T05:21:24.507Z (about 1 year ago)
- Language: Python
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pacro
Pacro aims to be a language agnostic preprocess tool/macro system.## Feature selection
One part is feature selection Just like Kconfig in linux kernel code## Dirty macro
The macro works in the following steps:
1. Read through files, and check if any file contains `// @`
2. Convert the files into jinja template
3. Import an environment for jinja to work
4. Render jinja template# Ship
Ship is a Rust cargo preprocessor. It can
1) hook up libraries as they are in crates.io
2) execute all prebuild.sh in sub directoriesTo use, rename Cargo.toml for workspaces to workspace.toml. You can write the following as exclude.toml
```toml
crate1 = true
```