Peggy.js - A simpler PEG in JavaScript Description Please visit http://clintjhill.github.com/Peggy.js/ for more information. API Functions (as described here: Parsing Expression Grammar) sequence [val, val] choice ["||", val, val] 0 or more ["*", val] 1 or more ["+", val] optional (0 or 1) ["?", val] and ["&", val] not ["!", val] var css = new Peggy({ "sheet": ["rules", "medias", "imports"], "rule