ravi-compiler
ocean
ravi-compiler | ocean | |
---|---|---|
2 | 9 | |
63 | 167 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
C | C | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
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.
ocean
- A work-in-progress C compiler from scratch
- Show HN: A work-in-progress C compiler from scratch
-
A work in progress C compiler from scratch
Can't edit my original reply anymore, but fair point, I've changed the keyword 'function' in the AST to a function return type instead. There's no error handling done yet to check whether the variable receiving the function return data matches the function return type, but it's on my todo list.
https://github.com/riicchhaarrd/ocean/commit/0618e0810c8d437...
Then again in C it would work aswell if you type casted the types.
const char *f()
-
Hacker News top posts: Aug 3, 2021
Show HN: A work in progress C compiler from scratch\ (0 comments)
What are some alternatives?
lua-aot-5.4 - An ahead-of-time compiler for Lua 5.4
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
mir - A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR
mini-c - Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
shecc - A self-hosting and educational C optimizing compiler
ExprTK - C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
flex - The Fast Lexical Analyzer - scanner generator for lexing in C and C++
stutter - Implement a Lisp, in C, from scratch, no libs
Cwerg - The best C-like language that can be implemented in 10kLOC.
ravi - Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.