# dibyendumajumdar/ravi

Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers

Repository: https://github.com/dibyendumajumdar/ravi
Canonical: https://ross.abutalabs.com/products/ravi
Homepage: http://ravilang.github.io/
Language: C
License: NOASSERTION
License Family: other
Topics: lua, jit, programming-language, mirjit, c
Last push: 2025-02-11T00:09:03+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 6, release rhythm 8, longevity 100
- inputs: {"age_days": 4262, "days_push": 569, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1252, forks 69 (observed 2026-08-28T04:04:08.499703+00:00)

## What it is
Ravi is a dialect of Lua 5.3 with limited optional static typing, a MIR-based JIT compiler, and AOT compilation to native code. It enhances the Lua VM with type-specific bytecodes for better performance while remaining compatible with Lua programs.

## Use cases
- embed a Lua-compatible scripting language with JIT performance
- add optional static typing to Lua code
- compile Lua scripts ahead-of-time to shared libraries
- run Lua 5.3 programs with a generational garbage collector
- embed C code snippets in scripts

## When to choose
- you want Lua 5.3 compatibility with optional static types and JIT speedups
- you need an embeddable scripting language with AOT compilation support
- you value maintainability and safety over maximum performance like LuaJIT

## When to avoid
- you need maximum raw performance and mature tooling - LuaJIT is faster
- you need Lua 5.4 or 5.1 compatibility
- you want a purely type-checked approach that compiles to standard Lua

## Facets
- artifact type: cli-tool
- maturity: active
- function: programming-language, compiler, interpreter
- domain: programming-languages, compilers, developer-tools
- platform: windows, cpp, c
- tags: lua-dialect, jit-compiler, aot-compilation, static-typing, mir, embedded-scripting, vscode-debugger, programming-language, jit, linux, macos

## Member repositories
- dibyendumajumdar/ravi (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.499703+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:19.750828+00:00, confidence not recorded.
  - readme: https://github.com/dibyendumajumdar/ravi (fetched 2026-08-28T04:04:08.499703+00:00, sha 9a2ab6734532)
  - homepage: http://ravilang.github.io/ (fetched 2026-08-29T12:18:11.427618+00:00, sha a55f960d3868)
- Data as of 2026-08-30T08:39:29.467469+00:00.
