Pixilab
Home › Companies › Show HN launch › I built a parser and lexer generator for Go

I built a parser and lexer generator for Go

Show HN: I built a parser and lexer generator for Go

Operating in show hn launch, I built a parser and lexer generator for Go operates.

Profile

Lox is a parser and lexer generator for Go. Heavily inspired on ANTLR on the surface (combined parser and lexer, action code separated from grammar), but more similar to yacc on the internals (LR(1), dependency-free parser). I'm especially proud of the type-safe Go action generation where the reduce-artifact's Go type is determined by the user-action's return type, and then used to match and verify its use in other productions.

I built a parser and lexer generator for Go is positioned in show hn launch, a segment that rewards a clear, focused offering.

Directory data places it at the Show HN launch stage.

SectorShow HN launch
StageShow HN launch

Website: dcaiafa.github.io/lox

Browse related

Contact details and direct channels are available to signed-in members.
Create a free account