Parses a techspec file (or an already-parsed list) into the
normalised list form used by tech_from_spec() and the process
designer. YAML (.yml/.yaml) and JSON (.json) are alternative
containers for the same structure.
Arguments
- spec
Path to a
.yml/.yaml/.jsonfile, or a list as returned byyaml::read_yaml().
Value
The normalised spec list (invisibly validated; see
tech_spec_issues() for the report).
