Skip to content
CAI
Software that uses CAICheck a score

j-mie6/parsley

67.8

Adequate · 7 November 2026

28.4k

lines of production code

Scala

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a cross-platform parsing library, likely written in Scala, that provides core tokenization and parsing capabilities. It has evolved to support multiple execution environments, including JVM, Native, and JavaScript, through the implementation of platform-specific abstractions for utilities like weak maps and debuggers. Recent activity has been dominated by extensive maintenance efforts, including significant dependency updates and a major push to stabilize core logic through comprehensive test coverage and behavioral refinements.

How it got here

2022 — JVM-Native IO and test coverage

2 changes.

The project migrated IO utilities to the JVM-Native platform and updated the internal execution engine to support this change. Concurrently, test coverage was expanded by adding validation and parsing logic tests for the Parsley tokeniser. These efforts focused on platform compatibility and ensuring the correctness of core parsing components.

2023 — Added internal cross-platform abstractions for the debugger

1 change.

This change introduces internal utility classes to support the new runtime parser debugger across different Scala platforms. It adds \XWeakMap\ implementations that wrap JavaScript's native \WeakMap\ for Scala.js and \mutable.WeakHashMap\ for JVM/Native targets, along with corresponding platform-specific exception wrappers (\XException\) and a test suite for the weak map logic. It also adds \XCollector\ implementations for the JVM (using reflection for Scala 2 and a stub for Scala 3) and a dummy collector for JS/Native, which are required to collect parser names for the debugger frontend.

July 2025 — 86 commits updating dependencies (1 manifest)

1 change.

A dependency / build maintenance change in (dependencies) — 86 commits (4 fixs), 1 file.

December 2025 — Comprehensive test coverage and behavioral refinement

2 changes.

This period focused on significantly expanding test coverage for the Parsley token descriptions module, with 135 commits dedicated to adding and updating tests. Concurrently, the team executed a large-scale behavioral change effort involving 100 commits across the main source directory, which included 17 specific fixes. The work represents a substantial push to stabilize the core tokenization logic through rigorous testing and targeted code modifications.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 59 → 68 (+8.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 71 → 71 (+0.0)
  • Architecture 88 → 87 (-1.3)
  • Maturity 44 → 69 (+25.1)
  • Readiness 69 → 67 (-1.5)
  • Security 79 → 65 (-13.9)

Resolved (5)

  • Documentation: no project overview (docs/landing-page.md)
  • Documentation: written for insiders (docs/tutorial/basics-of-combinators.md)
  • Off-boarding risk: anonymized user #1
  • Outdated: com.github.j-mie6:parsley-cats_2.13
  • Outdated: org.scala-lang:scala-reflect

New (2)

  • Dependency hygiene PARTLY measured — sbt declarations read, dependency currency not (Maven Central unreachable)
  • Off-boarding risk: anonymized user #1

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

j-mie6/parsley was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit de25f0ecd2d58dd967769e34409b7a03eb7a4996 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-5f8314471808.