mir
ravi-compiler
Our great sponsors
mir | ravi-compiler | |
---|---|---|
19 | 2 | |
2,184 | 63 | |
- | - | |
7.7 | 0.0 | |
15 days ago | over 1 year ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mir
-
Ravi is a dialect of Lua, with JIT and AOT compilers
MIR comes from the Rubyverse and isn't related to LLVM MLIR.
https://github.com/vnmakarov/mir?tab=readme-ov-file#mir
- Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
- Implementing Interactive Languages
- I developed a faster Ruby interpreter
-
Are Hoistings Possible for C++?
When you say a fork of LLVM, am I correct in assuming that you specifically mean a fork of Clang? I don't see how the compiler backend would affect support for language extensions, regardless of whether it's an exception to that such as Tcc, Cproc, the MIR C jitter, lacc, 8cc, 9cc, and chibicc. Most of those are not for production, excluding Cproc and Tcc (at least according to Suckless or Oasis).
-
Suggestion for a backend?
MIR
- Ask HN: Recommendation for general purpose JIT compiler
- How to learn compilers: LLVM Edition
- What instructions are needed for a language vm
-
Nelua Programming Language
> I wish C was scriptable
C kinda can be used as scripting language with MIR project https://github.com/vnmakarov/mir
It was released just a few days ago, and I've successfully use it as an alternative and fast C compiler with Nelua.
ravi-compiler
-
Working on a Lua to machine-code compiler
hi, you may find my project https://github.com/dibyendumajumdar/ravi-compiler to be of interest
-
A new compiler for Lua and Ravi that can also generate code AOT
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.
What are some alternatives?
asmjit - Low-latency machine code generation
lua-aot-5.4 - An ahead-of-time compiler for Lua 5.4
LuaJIT - Mirror of the LuaJIT git repository
ocean - Programming language that compiles into a x86 ELF executable.
Cwerg - The best C-like language that can be implemented in 10kLOC.
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
ecl
ExprTK - C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
kcs - Scripting in C with JIT(x64)/VM.
stutter - Implement a Lisp, in C, from scratch, no libs
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
ravi - Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers