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

dblock / excalc-rs / 36186167783
98%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2026 08:30PM UTC
Jobs 3
Files 24
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

25 Sep 2026 08:30PM UTC coverage: 97.986% (+0.05%) from 97.933%
36186167783

push

github

dblock
Add conditionals: if(cond, then, else) and cond ? then : else

Both forms short-circuit (only the taken branch is evaluated), which
lets user-defined recursive functions actually terminate at a computed
base case instead of always recursing to the stack limit, e.g.
fact(n) := n < 2 ? 1 : n * fact(n - 1).

- if(cond, then, else) is special-cased in eval() like bisect/hex,
  receiving unevaluated argument expressions.
- cond ? then : else adds new ? and : lexer tokens and a new ternary
  precedence level in the parser; it desugars at parse time into the
  exact same if(...) AST node, so both forms share one evaluation path.
- Adds if to functions::catalog::FUNCTIONS (reserved name, argument
  hints) and updates docs/functions/logic.md, README, CHANGELOG,
  OTHERS.md, and the REPL help text.
- Adds lexer/parser/eval unit tests, including terminating recursion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

168 of 168 new or added lines in 3 files covered. (100.0%)

5936 of 6058 relevant lines covered (97.99%)

140860.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macos-latest - 36186167783.1 25 Sep 2026 08:31PM UTC 24
97.82
GitHub Action Run
2 windows-latest - 36186167783.2 25 Sep 2026 08:32PM UTC 24
97.64
GitHub Action Run
3 ubuntu-latest - 36186167783.3 25 Sep 2026 08:30PM UTC 24
97.82
GitHub Action Run
Source Files on build 36186167783
  • Tree
  • List 24
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36186167783
  • 3514fed9 on github
  • Prev Build on master (#36185105670)
  • Next Build on master (#36186640344)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc