A Complete Guide to LLVM for Programming Language Creators

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • fcc

    fcc is the compiler for Neat, my D-lite language.

  • 3: https://github.com/FeepingCreature/fcc/blob/master/llvmfile.... by 'feepingcreature

  • lualvm

    Lua wrapper for the LLVM-C API

  • 2: https://github.com/gilzoide/lualvm which I actually had to fork to https://github.com/chc4/lualvm for a small bugfix

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • solar

    pure, statically typed language compiling to llvm in lua (by chc4)

  • 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

  • compiler

    Generic scaffolding for an end-to-end LLVM-based compiler (by finiteloop)

  • 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.

  • calculANTLR

    Example calculator written in ANTLR and ASDL using C++

  • I made this example for parsing with ANTLR:

    https://github.com/empirical-soft/calculANTLR

    It uses a C++ port of CPython's ASDL to define the AST.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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

  • Tiled scrollable window manager for macOS

    1 project | news.ycombinator.com | 2 May 2024
  • Replace Xcode with Neovim using this open-source plugin. Check it out

    1 project | news.ycombinator.com | 1 May 2024
  • Practical Vim Command Workflow

    5 projects | news.ycombinator.com | 28 Apr 2024
  • GitHub Copilot Workspace: Welcome to the Copilot-native developer environment

    4 projects | news.ycombinator.com | 29 Apr 2024
  • From JetBrains to VSCode to NVIM: Why I Made the Switch

    1 project | dev.to | 28 Apr 2024