Create SpeckDL compiler scaffold (speckl-compile) #13

Closed
opened 2026-04-29 03:55:48 +00:00 by sscoble · 0 comments
Owner

The spec references speckl compile but no compiler exists. Create a minimal compiler scaffold that:

  1. Parses .speck files into an AST (start with a subset of the language)
  2. Validates syntax against the EBNF grammar in Appendix A
  3. Generates the three output files referenced in section 4.5:
    • .prov.jsonld (Provenance graph, PROV-O / JSON-LD)
    • .specbom.cdx.json (SpeckBOM, CycloneDX v1.6)
    • .specbom.spdx.json (SpeckBOM, SPDX 3.0.1)
  4. Supports --bom-format cdx|spdx|both flag (default: both)

This is a scaffold, not a production compiler. The Z3 integration (SMT-LIB2, DST, WASM) can come later. Focus on parsing, provenance extraction, and BOM generation first.

The spec references speckl compile but no compiler exists. Create a minimal compiler scaffold that: 1. Parses .speck files into an AST (start with a subset of the language) 2. Validates syntax against the EBNF grammar in Appendix A 3. Generates the three output files referenced in section 4.5: - .prov.jsonld (Provenance graph, PROV-O / JSON-LD) - .specbom.cdx.json (SpeckBOM, CycloneDX v1.6) - .specbom.spdx.json (SpeckBOM, SPDX 3.0.1) 4. Supports --bom-format cdx|spdx|both flag (default: both) This is a scaffold, not a production compiler. The Z3 integration (SMT-LIB2, DST, WASM) can come later. Focus on parsing, provenance extraction, and BOM generation first.
sscoble 2026-04-29 04:15:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sscoble/speckl#13
No description provided.