Using Pegs in Janet

47 pointsposted 16 hours ago
by Bogdanp

7 Comments

andersmurphy

8 hours ago

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

fithisux

11 hours ago

Are pegs easier for syntax highlighting or LSPs?

conartist6

5 hours 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

fithisux

2 hours ago

Yes I know, but are they making LSP server construction easier?