Skip to content

Commit 9e611f7

Browse files
reidspencerclaude
andcommitted
Fix BAST Alternation bug, add comprehensive tests, clean up deprecated files
BAST Fixes: - Fix Alternation deserialization by adding readTypeExpressionContents() helper - readNode() handles NODE_* tags, readTypeExpression() handles TYPE_* tags - These are disjoint sets - mixing them caused byte stream misalignment Test Suite (54 BAST tests): - Add BASTIncrementalTest with 37 test cases from simple to complex - Add BASTMinimalTest, BASTDebugTest, BASTPerformanceBenchmark - Add BASTWriterSpec, BASTBenchmarkRunner - Add comprehensive-test.riddl test resource Cleanup: - Remove deprecated bast/shared source files (code lives in language/bast/) - Add npm-packages/.gitignore - Add examples/npm-usage for npm package usage examples All 244 passes module tests pass. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 33194ad commit 9e611f7

49 files changed

Lines changed: 2350 additions & 5467 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bast/shared/src/main/scala/com/ossuminc/riddl/bast/BASTLoader.scala

Lines changed: 0 additions & 151 deletions
This file was deleted.

bast/shared/src/main/scala/com/ossuminc/riddl/bast/BASTParserInput.scala

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)