SamuraiAku / SPDX.jl

Provides for the creation, reading and writing of SPDX files in multiple file formats. Written in pure Julia.
MIT License
5 stars 1 forks source link

Full support for complex license expressions #12

Open SamuraiAku opened 2 years ago

SamuraiAku commented 2 years ago

Simple license expression (SpdxSimpleLicenseExpressionV2) is a structure with multiple fields.

Where a complex license expression (SpdxComplexLicenseExpressionV2) is just a string. It would be more elegant and easier for analysis if a license expression such as this: (MIT AND BSD-3) OR GPLV2 is decomposed into its constituent pieces.

SamuraiAku commented 1 year ago

Maybe a parser package would help with this?