Format of OPAM configuration files.
Get all the sections from a list of items
Raise Bad_format
.
Get one section of a certain kind
Get all the sections of a certain kind
Get sections
This section is dedicated to the parsing and creatin of dependency and conflict formaulas. It's maybe easier to do that directly in the parser ...
Parse an AND formula where constraints are extended with leading keywords
Make an AND formula where constraints are extended with leading keywords
Parse optional package formula where OR are implicit: x y -> x | y
Build a formula where OR are implicit.
Parse compiler constraints
Build a compiler constraint
Parse an OS constraint
Build an OS constraint