Add SpeckDL compiler scaffold
- CLI entry point with yargs parsing for speckl-compile <file> --output-dir --bom-format - TypeScript parser with AST types for all SpeckDL primitives - Generator for PROV-O JSON-LD provenance graphs - Generator for CycloneDX v1.6 BOMs - Generator for SPDX 3.0.1 BOMs - E2E test verifying RetryHandler.speck parsing and all output formats All tests pass.
This commit is contained in:
parent
448819104a
commit
f19a43fd5f
1295 changed files with 1037389 additions and 0 deletions
74
compiler/test-output/RetryHandler.specbom.cdx.json
Normal file
74
compiler/test-output/RetryHandler.specbom.cdx.json
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
"bomFormat": "CycloneDX",
|
||||
"specVersion": "1.6",
|
||||
"components": [],
|
||||
"metadata": {
|
||||
"tools": [],
|
||||
"component": {
|
||||
"type": "application",
|
||||
"name": "RetryHandler",
|
||||
"version": "0.2.0",
|
||||
"properties": [
|
||||
{
|
||||
"name": "speckl:derivesFrom",
|
||||
"value": "FaultHandler"
|
||||
},
|
||||
{
|
||||
"name": "speckl:satisfies",
|
||||
"value": "RESILIENCE"
|
||||
},
|
||||
{
|
||||
"name": "speckl:satisfies",
|
||||
"value": "RESILIENCE"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"annotations": [
|
||||
{
|
||||
"subject": "speck:RetryHandler",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "tag",
|
||||
"value": "provenanceType",
|
||||
"text": "author"
|
||||
}
|
||||
],
|
||||
"author": {
|
||||
"name": "\"",
|
||||
"email": "Scott Scoble"
|
||||
},
|
||||
"timestamp": "2026-04-29T22:11:59.832Z"
|
||||
},
|
||||
{
|
||||
"subject": "speck:RetryHandler",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "tag",
|
||||
"value": "provenanceType",
|
||||
"text": "source"
|
||||
}
|
||||
],
|
||||
"author": {
|
||||
"name": "Speckl Compiler",
|
||||
"email": "compiler@speckl.scoble.me"
|
||||
},
|
||||
"timestamp": "2026-04-29T22:11:59.832Z"
|
||||
},
|
||||
{
|
||||
"subject": "speck:RetryHandler",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "tag",
|
||||
"value": "reviewType",
|
||||
"text": "manual"
|
||||
}
|
||||
],
|
||||
"author": {
|
||||
"name": "Speckl Compiler",
|
||||
"email": "compiler@speckl.scoble.me"
|
||||
},
|
||||
"timestamp": "2026-04-29T22:11:59.832Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue