Go Interpreter

Open-source Go projects categorized as Interpreter

Top 23 Go Interpreter Projects

  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt (by mvdan)

    Project mention: Shfmt – format shell programs (like gofmt, rustfmt) | news.ycombinator.com | 2023-02-11
  • yaegi

    Yaegi is Another Elegant Go Interpreter

    Project mention: Can Go run statements in cmd like Python? | reddit.com/r/golang | 2023-03-16

    I think https://github.com/traefik/yaegi comes as close as using the python interpreter in you CLI, but for Go

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

  • goby

    Goby - Yet another programming language written in Go

  • go-pry

    An interactive REPL for Go that allows you to drop into your code at any point.

  • gomacro

    Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros

    Project mention: Go superset | reddit.com/r/golang | 2023-05-19

    gomacro added macros and generics several years before generics reached release.

  • goawk

    A POSIX-compliant AWK interpreter written in Go, with CSV support

    Project mention: Looking for a script for csv file | reddit.com/r/awk | 2023-03-20
  • joker

    Small Clojure interpreter, linter and formatter.

    Project mention: Are there smaller Clojure-esque Lisps available ? | reddit.com/r/lisp | 2023-03-31

    There’s also joker. Haven’t used it but I’ve known about it for a while. Bills itself as a Clojure-like built with Go.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • oh

    A new Unix shell.

  • gpython

    gpython is a python interpreter written in go "batteries not included"

    Project mention: Show HN: Gsubpy, an interpreter for subset of Python, written in Go | news.ycombinator.com | 2023-04-21
  • prolog

    The only reasonable scripting engine for Go.

    Project mention: Mangle, a programming language for deductive database programming | news.ycombinator.com | 2022-11-26

    Other resources for logic programming and Go:

    ichiban/prolog - ISO Prolog interpreter in pure Go, getting close to v1: https://github.com/ichiban/prolog

    trealla-prolog/go - ISO Prolog interpreter embedded via WASM: https://github.com/trealla-prolog/go

    guregu/pengine - library for interfacing with Pengines (SWI-Prolog's RPC protocol): https://github.com/guregu/pengine

    biscuit-auth/biscuit-go - Biscuits are a fancy auth token with a little Datalog engine: https://github.com/biscuit-auth/biscuit-go

    I'm a big fan of logic programming. We've been seeing a small resurgence of interest in it (for example Yarn using Prolog made some waves) and I have some optimism for its future.

  • scriggo

    The world’s most powerful template engine and Go embeddable interpreter

  • gobasic

    A BASIC interpreter written in golang.

    Project mention: TwinBASIC is a modern BASIC compiler | news.ycombinator.com | 2023-05-10

    There are a bunch of BASIC interpreters out there, my own isn't so complex or thorough, but I definitely had fun writing it:

    https://github.com/skx/gobasic/

    My own vision was to reproduce something akin to the ZX Spectrum, rather than the more advanced Microsoft BASIC.

  • go.vm

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

  • igop

    The Go/Go+ Interpreter

    Project mention: Can Go run statements in cmd like Python? | reddit.com/r/golang | 2023-03-16

    If it’s REPL goplus had one https://github.com/goplus/igop

  • foth

    Tutorial-style FORTH implementation written in golang

    Project mention: Show HN: Implementing a simple FORTH, inspired by a Hacker News thread | news.ycombinator.com | 2022-09-19
  • l1

    A simple Lisp written in Go (by eigenhombre)

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

    - https://github.com/eigenhombre/l1 is a really cool lisp-like

  • g2d

    Craft beautiful geometric art using code.

  • tau

    A functional interpreted programming language with a minimalistic design. (by NicoNex)

    Project mention: Interpreters built in Go | reddit.com/r/golang | 2022-06-09

    Hi, if it can be of any help I wrote Tau in Go which is interpreted and has its own VM. It's inspired by the two books "Writing an interpreter in Go" and "Writing a compiler in Go", but differs a lot from the design proposed in the books which however helped me a lot with the development. Feel free to take a look, take inspiration or contribute :)

  • ecal

    A simple embeddable scripting language which supports concurrent event processing. (by krotik)

  • adventlang

    🎅 A programming language (+ code playground) for Advent of Code.

  • vilmos

    Official vilmos visual language interpreter!

  • critical

    A simple/minimal TCL interpreter, written in golang (by skx)

    Project mention: Tcled: Pure Tcl Console Text Editor (2019) | news.ycombinator.com | 2022-08-09

    That's always a great read. The last time I stumbled across it I decided to write my own "TCL", and I had a few weeks of fun doing that, in golang:

    https://github.com/skx/critical/

    It's a little addictive writing toy-interpreters for various (older and simpler) languages.

  • lispy

    A Lisp-dialect written in Go featuring a library written in itself, a REPL, tail-optimized recursion, macros, and a meta-circular interpreter. (by amirgamil)

  • ONLYOFFICE

    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

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

Go Interpreter related posts

Index

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

Project Stars
1 sh 5,887
2 yaegi 5,776
3 goby 3,439
4 go-pry 2,956
5 gomacro 2,047
6 goawk 1,654
7 joker 1,509
8 oh 1,314
9 gpython 702
10 prolog 486
11 scriggo 387
12 gobasic 290
13 go.vm 280
14 igop 87
15 foth 59
16 l1 55
17 g2d 44
18 tau 43
19 ecal 33
20 adventlang 30
21 vilmos 29
22 critical 27
23 lispy 21
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.
www.influxdata.com