Show HN: AGL a toy language that compiles to Go
3 alain_gilbert 0 6/25/2025, 3:36:38 PM github.com ↗
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.
No comments yet