racket-peg icon indicating copy to clipboard operation
racket-peg copied to clipboard

Precise defitition of the peg syntax?

Open winny- opened this issue 3 years ago • 2 comments

What's the easiest way to understand the peg syntax? I saw https://docs.racket-lang.org/peg/index.html#%28part..P.E.G.Syntax_.Reference%29 . Is there some additional reference material one should review? Thx

winny- avatar Nov 23 '22 05:11 winny-

What do you want to know?

rain-1 avatar Dec 03 '22 18:12 rain-1

Not quite sure on the syntax for the peg language (such as which syntax sugar translates to a peg racket form). I mainly copy-pasted examples and tweaked them until they stopped failing to compile

winny- avatar Dec 03 '22 22:12 winny-