Show HN: AGL a toy language that compiles to Go

Show HN (score: 77)
Found: June 25, 2025
ID: 5

Description

Other
Show HN: 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.

More from Show

No other tools from this source yet.