Parsers
The parsers folder should contain a pkgIndex.tcl with the package name and the list of .tcl files used to extract the metadata from the content.
It should also contain a Tcl Script, which parses the
content to extract the metadata. A typical parser does the following:
- Checks if the parsing is possible by verifying the file extension. Or, if the file is an ASCII solver deck, parses the related solver cards.
- Parses the file and extracts the metadata.
- Adds the extracted metadata to the content.