Using Pegs in Janet

55 pointsposted 4 months ago
by Bogdanp

6 Comments

andersmurphy

4 months ago

The part I really like about pegs in janet is it works on bytes.

fithisux

4 months ago

Are pegs easier for syntax highlighting or LSPs?

conartist6

4 months ago

They're not really the same kind of thing. LSP is a carrier format, but it doesn't know or care how you parse things, whether it's with PEGs or an earley parser or shift reduce or whatever