rain-1 / racket-peg

racket scheme peg-parser
GNU General Public License v3.0
23 stars 8 forks source link

Precise defitition of the peg syntax? #82

Open winny- opened 1 year ago

winny- commented 1 year ago

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

rain-1 commented 1 year ago

What do you want to know?

winny- commented 1 year ago

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