News for hackers. Stuff that matters.
Re:Zygomys: Embedded Scripting Language for Go by myzie on Thursday June 29, 2023 @06:06AM (#36518491)
Nice. Somehow this is the first time I'm seeing Zygomys.

If you're not in love with the lisp syntax, you might want to take a look at Risor as well.

https://github.com/risor-io/risor#quick-example

  array := ["gophers", "are", "burrowing", "rodents"]
  sentence := array | strings.join(" ") | strings.to_upper
  print(sentence)
Re:Zygomys: Embedded Scripting Language for Go by jaten on Thursday June 29, 2023 @06:45AM (#36518732)
Zygo does have infix available in addition to traditional lisp parentheses. Just put the math (or whatever) inside curly braces. I much prefer math in infix, so I put in a Pratt parser for that.