Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Recipes can be expressed in three ways:
- Python code that creates instances of classes in the
- A kind of abstract syntax of nested dictionaries and lists, processed with a
- The same nested dictionaries and lists turned in to a JSON or YAML file.
The JSON format is useful for exchanging recipes between a hypothetical web app and its backend. I find YAML easier to write when I am creating recipes by hand. Obviously in the completed app it will not often be necessary to write recipes by hand, bit it is early days yet.