Release 1.5.0
What's New
RiddlLib Shared Trait
- Extracted cross-platform
RiddlLibtrait from JS-onlyRiddlAPI RiddlLibprovidesparseString,flattenAST,validateString,getOutline,getTree— usable on JVM, JS, and NativeRiddlAPIis now a thin JS facade delegating toRiddlLib
New JS/TS API Methods
flattenAST(root)— remove Include/BASTImport wrappers from ASTgetDomains(root)— extract domain definitions from opaque RootinspectRoot(root)— get plain JS summary of Root
Fixed riddlLibJS Test Runner
- JS tests now work (override Test linker config to CommonJS)
- 8 shared RiddlLibTest tests run on both JVM and JS
Un-pended FlattenPassTest
- FlattenPass test now runs: 3 wrapper nodes before, 0 after
Breaking Changes
TypeScript consumers: parseString() now returns an opaque RootAST handle instead of a plain JS object. Use getDomains(result.value) or inspectRoot(result.value) to access data.