Repository navigation
v0.1.0
Initial release of Spdx.Expressions, a standalone .NET 10 library for parsing, validating and formatting SPDX license expressions.
Features
- Parse SPDX license expressions while preserving original text and source spans.
- Validate identifiers against the embedded SPDX License List v3.29.0.
- Report syntax and identifier diagnostics with source locations.
- Collect license identifiers and custom references, including repeated occurrences.
- Format spacing while preserving spelling, grouping and operand order.
- Configure processing limits and cancellation.
Requirements and scope
- Targets .NET 10.
- No runtime NuGet dependencies or network requests.
- Implements the SPDX-2.3.1 syntax profile.
- Does not resolve custom references, extract expressions from prose, or determine license compatibility.
Documentation and examples
Includes API, usage, syntax and catalogue guides, plus 11 runnable examples verified against the packaged library.
Installation
dotnet add package Spdx.Expressions --version 0.1.0Full Changelog: https://github.com/DmitryGaravsky/Spdx.Expressions/commits/v0.1.0