Hacker GitHub

← All repos

traefik/yaegi

View on GitHub ↗ ★ 8,433 Go

Yaegi is Another Elegant Go Interpreter

22 mentions on Hacker News by 18 people: 3 stories, 19 comments · first 2020-09-23 · latest 2025-12-30

Mentions per year 22 mentions · busiest year 2022 (7)
20082026
  1. …is also yaegi, a Go interpreter, which might be a better choice for small scripts than 'go run'. https://github.com/traefik/yaegi
    comment by clktmr · 2025-12-30 · in Go away Python
  2. …necessary. There is also a blog post that comes along with it describing how it was built! [2] [1] https://github.com/traefik/yaegi [2] https://marc.vertes.org/yaegi-internals/
    comment by breadchris · 2025-05-21 · in Roto: A Compiled Scripting Language for Rust
  3. …and when you get the data looking like you want, you select which lines to save to a file. [1] https://github.com/traefik/yaegi
    comment by breadchris · 2025-01-31 · in Shell-ish scripting in Go with ease
  4. …trivial with esbuild [3] [1] https://github.com/breadchris/share/blob/master/html2/html.g... [2] https://github.com/traefik/yaegi [3] https://github.com/breadchris/share/blob/master/graph/build....
  5. Take a look at yaegi, it already can be used and embedded as a REPL and shell. [1] [1] https://github.com/traefik/yaegi
    comment by h4ck_th3_pl4n3t · 2024-08-28 · in Ask HN: Writing a Shell in Go, Advice
  6. Maybe [Yaegi]( https://github.com/traefik/yaegi )?
    comment by pipe01 · 2024-08-25 · in Golang Interpreter Written in PHP
  7. ▲ 2
    Traefik/Yaegi: Yaegi Is Another Elegant Go Interpreter
    story by emreb · 2024-04-04 · 0 comments
  8. …assumptions. https://github.com/golang/go/issues/4146 https://github.com/golang/go/issues/16522 https://github.com/traefik/yaegi?tab=readme-ov-file#limitati...
    comment by ncruces · 2024-01-05 · in Go: What we got right, what we got wrong
  9. Already somewhat existing with yaegi [1] [1] https://github.com/traefik/yaegi
    comment by cookiengineer · 2023-11-11 · in Fourteen Years of Go
  10. Have you considered just using go? https://github.com/traefik/yaegi
  11. There is always https://github.com/traefik/yaegi - a Go interpreter written to make it easy to write plugins.
  12. ▲ 2
    Yaegi v0.14.0 Go interpreter is out, with support of generics
    story by mvertes · 2022-08-04 · 0 comments
  13. Yaegi has a cli and repl [1]. [1] https://github.com/traefik/yaegi#as-a-command-line-interpret...
  14. …to golang, but not. Having all the golang ecosystem and tooling is a huge advantage as well. [1] https://github.com/traefik/yaegi
  15. …libraries compiling to wasm working then you could just embed a Go interpreter like yaegi [0]. [0] https://github.com/traefik/yaegi
  16. …interpreter; OCaml ships a compiler and an interpreter. There are interpreted versions of Go like https://github.com/traefik/yaegi . And there are native-, AOT-compiled versions of Java like GraalVM's native-image. For most languages there…
    comment by eatonphil · 2022-05-05 · in Modern Python Performance Considerations
  17. …as poor man's REPL while creating a B+Tree library in C. Yes, there are Go interpreters available, https://github.com/traefik/yaegi
  18. …write go code. With the help of yaegi[1] a go templating engine can be build e.g here[2]. [1]: https://github.com/traefik/yaegi [2]: https://github.com/Eun/yaegi-template
    comment by Eun · 2022-02-04 · in What I'd like to see in Go 2.0
  19. Miguel Liezun used yaegi https://github.com/traefik/yaegi compiled to WASM to let Klipse evaluate Go code snippets in the browser https://github.com/viebel/klipse/pull/393
    comment by viebel · 2021-08-29 · in A new way of blogging about Golang
  20. ▲ 2
    Yaegi: Elegant Golang Interpreter with Complete support of Go specification
    story by varbhat · 2021-05-15 · 0 comments
  21. Nice, thanks. Traefik have a working go interpreter https://github.com/traefik/yaegi . Been meaning to go through the source code to borrow a few pointers(pun intended) as well.
  22. They actually created their own interpreter https://github.com/traefik/yaegi Here's their original announcement post https://traefik.io/blog/announcing-yaegi-263a1e2d070a
    comment by thegeekpirate · 2020-09-23 · in Traefik, Now With Native Go Plugins