qmetrics.net

Dingo

Go meta-language transpiling to idiomatic Go

Dingo is a language that compiles to clean Go code, adding Result types, error propagation, pattern matching, and related syntax while staying compatible with the Go toolchain.

Overview

Dingo targets developers who want modern control-flow and data-type ergonomics without leaving the Go ecosystem. Source written in Dingo is transpiled into ordinary Go that teams can read, review, and run with standard Go tools and performance characteristics.

Working features described in the project include sum types, pattern matching, the ? operator for error propagation, tuples with destructuring, Result and Option types, safe navigation and null coalescing operators, and functional-style utilities that lower to Go without a separate runtime.

The toolchain emphasizes IDE integration, including language-server work with a gopls proxy, auto-rebuild on save, and source maps. The design keeps Go features available: new Go releases remain usable, and plugins can be disabled to emit pure Go.

Dingo is presented as analogous to how TypeScript relates to JavaScript—syntax and type helpers on top, standard language underneath. Development status is active, with phased delivery of language features and tooling.

Key features

  • Transpiles to idiomatic Go
  • Sum types and pattern matching
  • ? operator for error propagation
  • Option and Result types
  • Safe navigation and null coalescing
  • Tuple types and destructuring
  • LSP integration with gopls proxy
  • No extra runtime dependencies

Use cases

  • Reducing repetitive error-handling boilerplate
  • Safer optional and nullable data handling
  • Experimenting with language features before upstream Go
  • Teams wanting richer syntax with Go deployment

Tags

Similar software

TypeScript

Typed JavaScript language with compile-time checks

TypeScript adds optional static types to JavaScript and compiles to standard JavaScript. It targets application-scale code on browsers, Node.js, and other JavaScript runtimes.

★ 111.9k⟳ yesterdayApache-2.0

Carbon Lang

Experimental successor language interoperating with C++

Carbon Language is an experimental programming language and toolchain aimed at C++ interoperability, migration, and modernization. It is not ready for production use and remains under active development.

★ 34k⟳ yesterdayApache-2.0 · open core

Roslyn

Open-source C# and Visual Basic compiler platform APIs

Roslyn implements the .NET C# and Visual Basic compilers and exposes APIs for analyzing, refactoring, and generating .NET code in tools and applications.

★ 20.8k⟳ todayMIT

GopherJS

Go to JavaScript compiler for browser front-end code

GopherJS translates Go programs into JavaScript so front-end logic can run in browsers. Install the gopherjs CLI to build, test, and serve packages like the standard go tool.

★ 13.2k⟳ 16 days agoBSD-2-Clause

Halide

Embedded language for fast image and array pipelines

Halide helps write high-performance image and array processing code, embedded in C++ or Python. Pipelines compile to CPUs and multiple GPU compute APIs.

★ 6.6k⟳ todayMIT · open core

The Agda Wiki

Dependently typed functional language and interactive proof assistant

Agda combines a dependently typed functional programming language with an interactive environment for writing and checking constructive proofs.

★ 3k⟳ yesterdayMIT