• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stillwater-sc / universal / 23710545043
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 29 Mar 2026 02:19PM UTC
Jobs 1
Files 630
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Mar 2026 01:51PM UTC coverage: 84.328% (-0.02%) from 84.349%
23710545043

push

github

web-flow
feat(ucalc): AST node types and expression tree builder (#671)

* docs(ucalc): AST evaluator conversion plan for Epic #642

Plan for converting the expression evaluator to AST-based with
provenance tracking, rewrite pattern database, and structural
pattern matching. Five phases, each delivering standalone value.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ucalc): AST node types and expression tree builder (#666)

Add Abstract Syntax Tree representation to the expression evaluator:

- ASTNode variant type: Literal, Variable, Constant, BinaryOp,
  UnaryOp, FunctionCall
- build_ast() method on ExpressionEvaluator that builds the tree
  using the same recursive-descent grammar as evaluate()
- print_ast(): indented tree visualization
- ast_to_string(): compact round-trip expression string
- ast command in ucalc: shows tree structure in plain/JSON/quiet

Example:
  ucalc> ast (-b + sqrt(b^2 - 4*a*c)) / (2*a)
    `-- op:/
        |-- op:+
        |   |-- unary:negate
        |   |   `-- var:b
        |   `-- fn:sqrt
        |       `-- op:-
        |           |-- op:^
        |           |   |-- var:b
        |           |   `-- 2
        |           `-- op:*
        |               |-- op:*
        |               |   |-- 4
        |               |   `-- var:a
        |               `-- var:c
        `-- op:*
            |-- 2
            `-- var:a

Foundation for provenance tracking (#667), pattern matching (#669),
and rewrite suggestions (#642 Epic).

Resolves #666

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

44574 of 52858 relevant lines covered (84.33%)

6107848.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
31.43
-3.57% include/sw/universal/verification/test_suite_randoms.hpp
1
80.58
-0.22% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 23710545043.1 29 Mar 2026 02:19PM UTC 630
84.33
GitHub Action Run
Source Files on build 23710545043
  • Tree
  • List 630
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23710545043
  • d23d3534 on github
  • Prev Build on main (#23709023003)
  • Next Build on main (#23711600149)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc