Skip to content

Fixes for AST classes. Add parse tree and AST inspectors. (AST feature branch)#1637

Merged
JPercival merged 1 commit intoastfrom
ast-updates-and-ui
Nov 4, 2025
Merged

Fixes for AST classes. Add parse tree and AST inspectors. (AST feature branch)#1637
JPercival merged 1 commit intoastfrom
ast-updates-and-ui

Conversation

@antvaset
Copy link
Copy Markdown
Contributor

@antvaset antvaset commented Nov 4, 2025

  • Add JSON serializer for BigDecimal.
  • Small fixes for AST classes.
  • Update the playground to support viewing the parse tree and AST in addition to ELM.
image

@antvaset antvaset changed the title Fixes for AST classes. Add parse tree and AST inspectors. Fixes for AST classes. Add parse tree and AST inspectors. (AST feature branch) Nov 4, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 4, 2025

Formatting check succeeded!

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 4, 2025

Codecov Report

❌ Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (ast@a0b5ee9). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...tlin/org/cqframework/cql/cql2elm/ast/ElmEmitter.kt 0.00% 21 Missing ⚠️
...framework/cql/cql2elm/frontend/CompilerFrontend.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             ast    #1637   +/-   ##
======================================
  Coverage       ?   65.50%           
  Complexity     ?     1646           
======================================
  Files          ?      474           
  Lines          ?    27537           
  Branches       ?     5481           
======================================
  Hits           ?    18037           
  Misses         ?     7201           
  Partials       ?     2299           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Nov 4, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@JPercival JPercival merged commit a6db2e0 into ast Nov 4, 2025
6 of 7 checks passed
@JPercival JPercival deleted the ast-updates-and-ui branch November 4, 2025 16:54
JPercival added a commit that referenced this pull request Feb 11, 2026
* Checkpoint

* Checkpoint

* WIP

* WIP

* WIP

* WIP

* Remove some experiments that didin't work

* WIP

* Agents.md

* WIP emitter

* Remove accidentally committed file

* Fixes for AST classes. Add parse tree and AST inspectors. (AST feature branch) (#1637)

Fixes for AST classes. Add parse tree and AST inspectors.

* Serialize BigDecimals as JSON strings in AST JSONs

* AST tree viewer

* Fix JSON class discriminator clash

* Fix Kotlin version

* KMP for SystemModelInfoProvider. Inline model info XML for JS targets.

* Multiplatform access to test resources

* Fix LoadTestResourcesTask

* Only run JVM and Node.js tests

* Update CQL playground README

* Update CQL playground README

* File naming

* Generate AST in web worker

* CQL docs

* AST design docs

* Fix typo

---------

Co-authored-by: Jonathan Percival <jonathan.i.percival@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants