nowfound

Life & fun · June 25, 2025

AGL a toy language that compiles to Go

I spent the past 2 weeks making this toy programming language. I basically forked the Go scanner/parser, and changed the syntax to have functions return a single value. This enable proper Result/Option type to be used as well as propagating errors with an operator. I also wanted to have short "type inferred" anonymous functions to be able to use functions like Map/Reduce/Filter, without having to use 100 characters to specify the types.

AGL a toy language that compiles to Go launched on June 25, 2025 with 83 votes, #490 of 7,999 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 6% of June 2025

In plain words

AGL is a toy programming language that compiles to Go. It modifies Go's syntax to allow functions to return a single value, enabling proper Result and Option types with error propagation through an operator. The language features type-inferred anonymous functions designed to simplify operations like Map, Reduce, and Filter without verbose type declarations. It is intended as an experimental project for developers interested in language design.

written from the facts on this page · September 2026

From the sources

AGL (AnotherGoLang). Contribute to alaingilbert/agl development by creating an account on GitHub.

Does a similar job

all alternatives →
  • A Database Written in Golang2025 · github.com · ▲277

    Recently created a minimal persistent relational database in Go. Main focus was on implementing & understanding working the of database, storage management & transaction handling. Use of B+ Tree for storage engine(support for indexing), managing a Free List (for reusing nodes), Support for transactions, Concurrent Reads. Still have many things to add & fix like query processing being one of the main & fixing some bugs Repo link - https://github.com/Sahilb315/AtomixDB Would love to hear your thoughts

  • G-Fu – a pragmatic Lisp embedded in Go2019 · github.com · ▲123

    Lisp 2 Go. Contribute to codr7/g-fu development by creating an account on GitHub.

  • I made a Clojure-like language in Go, boots in 7msMay 2026 · github.com · ▲292

    Let-go is a Clojure-like language (~90% compatible with JVM Clojure) written in pure Go. It ships as a ~10MB static binary and cold boots in ~7ms - that's about 50x faster than JVM and 3x faster than Babashka. It has decent throughput on algorithmic workloads - within ballpark of the GraalVM-backed sci. I started this project in 2021 as an elaborate practical joke: I wanted to have an excuse for writing Clojure while pretending to write Go. Jokes aside, it turned out to be pretty decent: it feels like real Clojure, it has an nREPL server (supported in Calva, CIDER, etc.), it's easily…

  • IC
    I created a language called AntiLang – breaking all the conventions2025 · siruscodes.github.io · ▲143

    AntiLang is an interpreted programming language written in Go. The basic idea of this is to keep all the logical parts of a language same, but reverse the structure of it. The idea for this project came when I was having a long midnight conversation with my friend and thought of writing such a weird language. The initial draft was far worse than the current implementation; we thought of reversing the brackets and the language would be read from bottom to top. I'm happy that I dropped that idea Technical details: As the interpreter is written in Golang, I compiled it to WASM, and the whole…

  • A new stdlib for Golang focusing on platform native support2023 · github.com · ▲154

    No gc, No goroutines, Produces small binaries while using the unmodified official go toolchain, and comes with complete Web SDK (generated from w3c/webref). We are building `pcz` to provide a reimagination of Go the language, in an effort to make it suitable for all kinds of programming tasks, and currently you can use it to build efficient web applications in Go using the generated Web SDK (as shown with the live web demo[1]). The journey is just starting, any suggestions? or any critics? [1]: https://primecitizens.github.io/livedemos/10-plat-web/

  • Tiny – An interpeted dynamic langauge with inline Go native functionsJun 2026 · github.com · ▲41

    A lightweight programming language built with Go. Contribute to confh/Tiny development by creating an account on GitHub.

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, June 2025

the whole month →
  • IM

    Hey HN! Pilots everywhere are required to keep a logbook of all their flying hours, aircraft, airports, and so on. Since I track everything digitally (some people still just use paper logbooks!), I put together some data visualizations and a few 3D globes to show my flying history. This globe is probably my favourite so far: https://jameshard.ing/pilot/globes/all If you’ve got ideas for other graphs or ways to show this kind of data, I’d love to hear them!

    Life & fun · 2025 · jameshard.ing

  • Stunning presentations with AI. No design skills required.

    AI · 2025 · chroniclehq.com

  • Build native mobile apps for iOS and Android without code.

    Dev tools · 2025 · bble.io

  • Twenty▲989

    Build your Enterprise CRM with an AI-friendly SDK

    Dev tools · 2025 · twenty.com

  • All your connections, across all your socials.

    AI · 2025 · pally.com

  • I was the main contributor to workout.lol, an open-source fitness app to easily build a workout routine. The project had traction (1.4k GitHub stars, 95 forks, ~20K visits/month), but was eventually sold due to video licensing hurdles. The new owner stopped maintaining it, and the repo went abandoned. Over the next 9 months, I sent 15 emails to try to save it : no replies. Feature requests & issues were ignored. The community was left with a "broken" tool let's say. I couldn't just let it die So I built the new version from scratch with the same open-source spirit, but a better…

    Dev tools · 2025 · github.com