marcobambini/gravity
Gravity Programming Language observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 96
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 39.5
- age_days: 3477
- days_rel: 28
- days_push: 28
- n_releases_24m: 5
Adoption not part of the score
4560 stars · 239 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Gravity is a lightweight, dynamically typed, class-based scripting language written in portable C99 with no external dependencies, featuring a multipass compiler and a compact virtual machine. It is designed to be embedded in applications (notably the Creo project) and offers a Swift-like syntax with classes, closures, fibers, and a powerful bridging API.
Use cases
- embed a scripting language in a C or Objective-C app
- write portable scripts that run on iOS and Android
- add user-extensible logic to a native application
- learn how compilers and virtual machines are implemented
- use a lightweight alternative to Lua with class-based OOP
- serialize and deserialize JSON from embedded scripts
When to choose
- you need a tiny (<200KB) embeddable language with zero external dependencies
- you prefer Swift-like class-based syntax over Lua's prototype style
- you need coroutines, closures, and operator overriding in a scripting layer
- you want a clean C codebase to study or modify
When to avoid
- you need a large ecosystem of third-party libraries and packages
- you need high-performance numeric computing or JIT compilation
- you need a language with strong static typing
- you require long-term commercial support or a large community
Facets
cli-tool · maturity active
interpreter programming-language compiler serialization programming-languages developer-tools cross-platform cross-platform windows c embeddable-language virtual-machine bytecode scripting-language swift-like-syntax fibers closures pratt-parser no-dependencies programming-language ios android linux macos
2 sources
- readme: https://github.com/marcobambini/gravity · fetched 2026-08-28 · 958d92c0c5d3
- homepage: https://gravity-lang.org · fetched 2026-08-29 · 3ac96522c3a8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marcobambini/gravity | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="marcobambini/gravity")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem