Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Nov 16th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. start
  3.   = object:object { return object; }
  4.  
  5. object = (chars _)+
  6.  
  7. chars
  8.   = chars:char+ { return chars.join(""); }
  9.  
  10. char
  11.   // In the original JSON grammar: "any-Unicode-character-except-"-or-\-or-control-character"
  12.   = [a-z]
  13.  
  14.  
  15. /* ===== Whitespace ===== */
  16.  
  17. _ "whitespace"
  18.   = whitespace*
  19.  
  20. whitespace
  21.   = [ \t\n\r]