recipec, a recipe DSL + compiler in << 1000 LOC. (Example for textx grammar + code generator)
Allows to define recipes. To plan days with recipes and compute a list of ingredients + generate MD file with all the info.
See tests/demos
- recipes: use ingredients with units
- ingredients: define units (and aliases)
- plans: group recipes, are used to generate documents
- config: language dependent adaptations
virtualenv venv -p python3
source venv/bin/activate
pip install -r requriements.txt
pip install -e .
pytest tests
sudo -H python3 setup.py install
cd tests/demos
textx generate --target md bananentag.plan --overwrite
(see textx --help
)