Skip to content
CAI
Software that uses CAICheck a score

sborrazas/shen-erl

42.5

Weak · 2 October 2026

976

lines of production code

Erlang

with C

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a compiler and runtime port that translates the Shen programming language into Erlang BEAM modules. It provides a C-based launcher and build infrastructure to execute Shen code within the Erlang Virtual Machine, supporting features like a REPL, script execution, and command-line evaluation. The implementation includes a lexer, parser, and code generator that map Shen constructs to Erlang syntax, along with a global state management system and standard library overrides.

Features

Add C-based launcher for the Erlang runtime

A new C program (c\_src/shen-erl.c) has been added to serve as a launcher for the Erlang VM. It constructs the command-line arguments for 'erl', sets the code path to the application's ebin directory via the SHEN\_ERL\_ROOTDIR environment variable, configures the process limit to 524288, and executes the Erlang node with the shen\_erl\_init module. This change introduces a new build artifact and execution entry point for the Shon Erlang integration.

_c\src · high confidence

Initial release of shen-erl build system and documentation

This change introduces the foundational build infrastructure for the shen-erl project, including a main Makefile that handles compiling Erlang sources, generating lexer/parser modules via leex/yecc, fetching the Shen OS Kernel (version 22.2), and running tests via Docker or locally. It also adds an Erlmakefile for erlang.mk integration, a .gitignore to exclude generated artifacts, and updated README.md with instructions for building, running, and testing the Shen Erlang port.

(repo-wide) · high confidence

Introduce Shen-to-Erlang compiler and runtime port

This change adds the initial implementation of the Shen Erlang Port (shen\_erl), providing a compiler that translates Shen (KL) code into Erlang BEAM modules. Users can now run a REPL, evaluate Shen expressions via the command line (--eval), load and execute Shen scripts (--script), or compile KL source files to BEAM binaries (--kl). The implementation includes a lexer and parser for the KL syntax, a code generator that compiles Shen constructs (such as functions, conditionals, and lambdas) into Erlang syntax trees, and a global store system for managing state, variables, and primitive functions.

src · high confidence

Test coverage

Added Common Test suites for Shen Erlang KL code generation and overrides; Added Shen language test runner script.

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

How this codebase got here

Score

  • CAI 42 → 42 (+0.0)
  • Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 97 → 97 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 34 → 34 (+0.0)
  • Readiness 26 → 26 (+0.0)
  • Security 92 → 92 (+0.0)

Resolved (1)

  • Documentation: no licence statement (README.md)

New (1)

  • Documentation: no project overview (README.md)

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

Survey your own repository

sborrazas/shen-erl 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 2 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 14a64c4c52a45734cc1c34656ae97a7fe169582c — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.