berry-lang/berry
A ultra-lightweight embedded scripting language optimized for microcontrollers. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2852
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
1055 stars · 133 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Berry is an ultra-lightweight dynamically typed embedded scripting language written in ANSI C99, designed for low-performance embedded devices like microcontrollers. It features a one-pass bytecode compiler and register-based VM with an interpreter core under 40KiB that can run in under 4KiB of heap.
Use cases
- embed a scripting language in a microcontroller firmware
- add user-scriptable logic to an embedded C application
- run dynamic scripts on devices with only a few KiB of RAM
- extend a host application with a lightweight FFI-based scripting engine
- script IoT devices like ESP32 or ARM Cortex-M boards
When to choose
- you need scripting on resource-constrained microcontrollers where Lua is too heavy
- you want an easy-to-embed C interpreter with a small footprint and FFI
- you need a dynamically typed language with OOP, functional, and imperative styles on embedded hardware
When to avoid
- you need a large ecosystem of libraries and package management
- you are targeting general-purpose application development on desktops or servers
- you need high raw performance from compiled native code
Facets
cli-tool · maturity active
interpreter compiler programming-language embedded programming-languages embedded-systems iot developer-tools embedded iot cross-platform windows scripting-language microcontroller register-based-vm ffi lightweight ansi-c programming-language linux macos
2 sources
- readme: https://github.com/berry-lang/berry · fetched 2026-08-28 · 65b1d3c26db6
- homepage: https://berry-lang.github.io · fetched 2026-08-29 · bbbec8e5dde1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| berry-lang/berry | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="berry-lang/berry")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem