com-lihaoyi/Ammonite
Ammonite is a Scala REPL and scripting environment that provides an interactive development and execution platform for Scala code. It supports both interactive sessions and headless script execution, featuring a modular architecture that separates the compiler interface, interpreter logic, and terminal handling. The system enables users to run Scala scripts with dynamic dependency resolution, manage session state, and integrate with external build tools via the Build Server Protocol. Additionally, it offers remote access capabilities through an SSH server and maintains compatibility across multiple Scala versions.
58.8
Adequate · 3 August 2026
19k
lines of production code
Scala
primary language
1
bus factor · 154 authors in all
3
measurements over time
How it got here
2015–2016 · Modularization and infrastructure overhaul
This period focused on restructuring the codebase into distinct, modular components such as the SSH REPL, compiler interface, and terminal input handling, while simultaneously migrating the build system to Mill. The team also significantly expanded the test coverage for script execution, error handling, and integration scenarios to support the new architecture.
21 changes
2017–2020 · BSP integration and API exposure
This period focused on exposing the Ammonite interpreter through a public InterpAPI and implementing a Build Server Protocol (BSP) server to enable IDE and build tool integration. The work involved refactoring the interpreter's internal logic, introducing stub packages for magic imports, and adding extensive test coverage for the new features and error handling.
18 changes
2021 · Compiler interface and Scala 3 support
This period focused on restructuring the compiler integration to support multiple Scala 2.x versions and introducing a new interface module for REPL code compilation. It also added initial support for Scala 3 by creating version-specific source directories and helper classes, while refactoring the main entry point to separate command-line logic from the core runner.
6 changes
Survey your own repository
com-lihaoyi/Ammonite 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 the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit c880469899 — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.