-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Labels
parserIssues related to the parser layerIssues related to the parser layer
Description
The tag/value parser should be refactored and adapted to the new data model, similar to how it was done for json in #305. The old code can be found at https://github.com/spdx/tools-python/tree/b8fde35e141daf082b8b0fe32f875da06e6316e6/spdx/parsers (see the tagvalue modules as well as the lexer package), though it was pretty hard to understand - hopefully we can improve in that regard.
@meretp already did a quick initial investigation and came across https://github.com/webmaven/python-parsing-tools. It may be worth evaluating e.g. pyparsing
as an alternative parser library if it makes the code clearer and easier to understand.
Metadata
Metadata
Assignees
Labels
parserIssues related to the parser layerIssues related to the parser layer