News for hackers. Stuff that matters.
Re:Zygomys – An embedded scripting language for Go by camus2 on Thursday December 15, 2016 @06:12AM (#13183805)
Nice project.

> x := 3; y := 5; if x + y == 8 { (println "we add up") } else { (println "wat?" ) }

though mixing C like syntax and LISP is a bit confusing. Why such choice ?

Re:Zygomys – An embedded scripting language for Go by jaten on Thursday December 15, 2016 @08:28AM (#13184408)
Thank you. I tend to do interactive mathy things, and find the infix being the default at the repl cuts down on keystrokes and speeds up the interaction. Anything within {} curly braces is treated as infix, and infix is the starting mode at the repl. You can freely mix (prefix) and {infix} as you wish. For longer math expressions this does tend to help readability.