1. allison
  2. spix

Commits

allison  committed ced0802

Add the comments from the original.

  • Participants
  • Parent commits 909ddb1
  • Branches default

Comments (0)

Files changed (1)

File Spix/PEG/Parser.peg

View file
+# Hierarchical syntax
 Grammar    <- Spacing Definition+ EndOfFile
 Definition <- Identifier LEFTARROW Expression
 Expression <- Sequence (SLASH Sequence)*
             / OPEN Expression CLOSE
             / Literal / Class / DOT
 
+# Lexical syntax
 Identifier <- IdentStart IdentCont* Spacing
 IdentStart <- [a-zA-Z_]
 IdentCont  <- IdentStart / [0-9]