Go Compiler

Open-source Go projects categorized as Compiler

Top 23 Go Compiler Projects

  • esbuild

    An extremely fast bundler for the web

    Project mention: [AskJS] Advantages of Rollup over other bundlers for creating libraries? | reddit.com/r/javascript | 2023-05-09

    Rollup is highly configurable via plugins. It also supports a wide range of transpilation targets. However, it's written in JavaScript (well, TypeScript) so there's a ceiling on how fast it can go. esbuild and swc are orders-of-magnitude faster than Rollup.

  • gopherjs

    A compiler from Go to JavaScript for running Go code in a browser

    Project mention: Tools besides Go for a newbie | reddit.com/r/golang | 2023-03-26

    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • mtail

    extract internal monitoring data from application logs for collection in a timeseries database

    Project mention: i need to visualize all logs from remote dir | reddit.com/r/sysadmin | 2023-05-19

    You can do that with something like mtail. Basically write expressions that match your logs and produce metrics.

  • wazero

    wazero: the zero dependency WebAssembly runtime for Go developers

    Project mention: Go 1.21 will (likely) have a static toolchain on Linux | news.ycombinator.com | 2023-04-08

    That's nice for Alpine isn't it? That uses MUSL.

    Speaking of portability and golang, this sounds promising: https://github.com/tetratelabs/wazero Can anyone tell me if this is close to working as well as wasmtime?

  • tengo

    A fast script language for Go

    Project mention: Looking for programming languages created with Go | reddit.com/r/golang | 2022-11-06

    - https://github.com/d5/tengo

  • gocaml

    :camel: Statically typed functional programming language implementation with Go and LLVM

  • go-binsize-treemap

    🔍 Go binary size SVG treemap

    Project mention: How to start a Go project in 2023 | news.ycombinator.com | 2023-05-23

    go-binsize-treemap[1] is the best tool for this by a large margin. I came across it because of the exact same reason as you did actually, k8s client bloating my binary massively.

    [1] https://github.com/nikolaydubina/go-binsize-treemap

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • luna

    🌙 A really tiny WebAssembly compiler for demonstration and educational purposes. Written in Go and built as one of my quests to conquer the WebAssembly dungeon (by thomscoder)

    Project mention: Let's build a WebAssembly compiler and runtime - Tokenizer | dev.to | 2022-12-22

    In the last article we started building Luna, a toy WebAssembly compiler, and we explored WAT (the WebAssembly text format).

  • go.vm

    A simple virtual machine - compiler & interpreter - written in golang

  • Gentee script programming language

    Gentee - script programming language for automation. It uses VM and compiler written in Go (Golang).

  • Fault

    a language for building system dynamic models (by Fault-lang)

  • tweego

    Tweego is a free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go.

    Project mention: HTML text based game, how to ? | reddit.com/r/learnprogramming | 2023-04-27

    This game was made originally with Tweego for the Twine interactive fiction engine (which is where you should start).

  • The uGO Language

    Script Language for Go

  • regexp2go

    Compile Go regular expressions to Go code

  • knox

    A toy programming language written in Go that compiles to C. (by azhenley)

  • parco

    🏇🏻 generalist, fast and tiny binary parser and compiler generator, powered by Go 1.18+ Generics

    Project mention: GitHub - sonirico/parco: 🏇🏻 generalist, fast and tiny binary parser and compiler generator, powered by Go 1.18+ Generics | reddit.com/r/golang | 2022-08-27
  • holo-build

    Cross-distribution system package compiler

    Project mention: In Praise of Alpine and APK | news.ycombinator.com | 2023-02-20
  • cherri

    iOS Siri Shortcuts Programming Language 🍒

    Project mention: Shortcuts file format | reddit.com/r/shortcuts | 2023-01-17

    I'm looking for any information about parsing the shortcut files produced by iOS 16. I've found https://zachary7829.github.io/blog/shortcuts/fileformat and https://github.com/sebj/iOS-Shortcuts-Reference and projects like https://github.com/electrikmilk/cherri to produce shortcuts that require a Mac for 'signing' them.

  • tealang

    Tealang - high level language for Algorand ASC1 and TEAL

    Project mention: Teal? | reddit.com/r/algorand | 2022-06-11
  • WordIDE

    A tool that helps you write code in your favorite IDE: your word processor!

  • basgo

    basgo compiles BASIC-lang to Golang. Then 'go build' can translate code to native executable binary.

  • paco

    Paco is a compiler prototype written in Golang, it compiles to C.

  • go-mlog

    Go to Mindustry (MLOG) compiler, runtime and decompiler (WIP)

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-23.

Go Compiler related posts


What are some of the best open-source Compiler projects in Go? This list will help you:

Project Stars
1 esbuild 35,360
2 gopherjs 11,935
3 mtail 3,552
4 wazero 3,214
5 tengo 3,159
6 gocaml 728
7 go-binsize-treemap 429
8 luna 299
9 go.vm 280
10 Gentee script programming language 109
11 Fault 99
12 tweego 90
13 The uGO Language 88
14 regexp2go 86
15 knox 80
16 parco 58
17 holo-build 43
18 cherri 42
19 tealang 37
20 WordIDE 36
21 basgo 32
22 paco 28
23 go-mlog 24
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.