A new compiler for Lua and Ravi that can also generate code AOT

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Compilers

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • ravi

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

    Hi, I have been working on a new compiler for Ravi - which is a dialect of Lua 5.3 with some support for static types, and supports JIT compilation. The new compiler I am writing will compile input Lua/Ravi code to C, and the generated C code can be compiled into a shared library, and loaded at runtime.

  • ravi-compiler

    Parser and compiler for Ravi and Lua

    The compiler is work in progress but can handle a large subset of Ravi code at the moment. Full details are available at the Github project.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • mir

    A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR

    The compiler is written in C, and translates input code to an Abstract Syntax Tree. This is then transformed to a linear IR, which is finally translated to C code. The generated C code can be JIT compiled using the MIR backend or compiled ahead-of-time into shared library.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts