Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises Learn more →
Top 23 Go Interpreter Projects
-
Project mention: Shfmt – format shell programs (like gofmt, rustfmt) | news.ycombinator.com | 2023-02-11
-
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.
-
-
-
gomacro added macros and generics several years before generics reached release.
-
-
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.
-
-
Project mention: Show HN: Gsubpy, an interpreter for subset of Python, written in Go | news.ycombinator.com | 2023-04-21
-
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.
-
-
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.
-
-
If it’s REPL goplus had one https://github.com/goplus/igop
-
Project mention: Show HN: Implementing a simple FORTH, inspired by a Hacker News thread | news.ycombinator.com | 2022-09-19
-
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
-
-
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 :)
-
-
-
-
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
Go Interpreter related posts
- Go superset
- Alternative REPL to "gore"
- Show HN: Gsubpy, an interpreter for subset of Python, written in Go
- Looking for a script for csv file
- Can Go run statements in cmd like Python?
- Anyone else doing compiler work in Golang?
- Why does awk parse '1&&x=1' as '1&&(x=1)' not '(1&&x)=1' when '&&' is high precedence than '='?
-
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 29 May 2023
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 |