glycerine/zygomys
View on GitHub ↗ ★ 1,793 Go
Zygo is a Lisp interpreter written in 100% Go. Central use case: dynamically compose Go struct trees in a zygo script, then invoke compiled Go functions on those trees. Makes Go reflection easy.
12 mentions on Hacker News by 11 people: 7 stories, 5 comments · first 2016-01-15 · latest 2025-07-28
20082026
-
…in Lisp). If it helps, examples in C and Go are here: https://github.com/glycerine/PrattParserInC https://github.com/glycerine/zygomys/blob/master/zygo/pratt.... I find them easier to work with than the cryptic LALR(1) bison/yacc tools,…
comment by pratt4the_win · 2025-07-28 · in Why I write recursive descent parsers, despite their issues (2020) -
…I wrote a lovely library for parsing them in Go (along with a full lisp interpreter if you like) https://github.com/glycerine/zygomys Provides comments, multiline strings, and automatic translation into Go structs using reflection.
comment by jaten · 2019-08-19 · in YAML: Probably not so great after all -
Here's another one: https://github.com/glycerine/zygomys I think he wrote it with a TSDB in mind.
comment by scottlocklin · 2019-07-05 · in Ale – A Lisp Environment Written in Go -
…LISPer would explain why should one use Common Lisp over a language like Golang. Golang now has https://github.com/glycerine/zygomys for scripting. For that matter, why would one choose Common Lisp over GNU guile ? (guile now supports…
comment by lenkite · 2017-03-28 · in How to write Common Lisp in 2017 – an initiation manual -
…done I'll work on handling macros. If you want a more complete one you could check out zygomys https://github.com/glycerine/zygomys
comment by archevel · 2017-02-23 · in Writing an Interpreter in Go: The Paperback Edition