buildit
mewa
Our great sponsors
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.
buildit
-
Build→It: a type based library framework for multi-stage imperative programming
The repository also has other samples which demonstrate code generation besides just loop unrolling. If you look at - https://github.com/BuildIt-lang/buildit/blob/master/samples/sample17.cpp and its corresponding output - https://github.com/BuildIt-lang/buildit/blob/master/samples/outputs/sample17 we have an example where you can write an interpreter for a simple language and BuildIt can turn it into a compiler. While this result is not new, in our opinion we make it considerably easy. Specifically we allow side effects on static variables inside control flow dependent on dynamic expressions. The outcome of this might not be obvious, but this allows you to, for example create nested loops which were not there in the original program but were present in the language input (BrainFuck in this case) that you were trying to interpret.
mewa
What are some alternatives?
verilator - Verilator open-source SystemVerilog simulator and lint system
Odin - Odin Programming Language
miniscript - source code of both C# and C++ implementations of the MiniScript scripting language
JuCC - JuCC - Jadavpur University Compiler Compiler
llvm-tutor - A collection of out-of-tree LLVM passes for teaching and learning
jet - A Fast C and Python like Programming Language that puts the Developer first. WIP
GrayC - GrayC: Greybox Fuzzing of Compilers and Analysers for C
expr-ir - An Expression Tree to LLVM-IR Example.
buildit - https://build-it.intimeand.space/ [Moved to: https://github.com/BuildIt-lang/buildit]
filter_spirit - Advanced item filter generator for Path of Exile that uses it's own DSL and online item price APIs
One - One (onelang) is an open-source system programming language that makes it easy to build reliable, efficient and performant software. (release as soon) 1️⃣ 🕐 🩱