compiler
Generic scaffolding for an end-to-end LLVM-based compiler (by finiteloop)
solar
pure, statically typed language compiling to llvm in lua (by chc4)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
compiler
Posts with mentions or reviews of compiler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-25.
-
A Complete Guide to LLVM for Programming Language Creators
As someone who writes a lot of toy languages, I made this scaffolding for a LLVM-based compiler: https://github.com/finiteloop/compiler
It uses Bison and Flex for parsing and lexing unlike this post, but may be a useful starting point for those building their own toy languages.
solar
Posts with mentions or reviews of solar.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-25.
-
A Complete Guide to LLVM for Programming Language Creators
I'm not an expert, but there are C bindings: I was able to play around with a toy compiler[1] in Lua using lualvm[2]
I also know of at least one compiler[2] that actually emits textual IR, and then builds and links .obj files from that with the LLVM toolchain...but I think that's just a bunch of work, would be hard to debug, and generally just a bad idea.
1: https://github.com/chc4/solar/blob/master/src/jit.lua