Function: peg
peg is a macro defined in peg.el.gz.
Signature
(peg &rest PEXS)
Documentation
Return a PEG-matcher that matches PEXS.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/peg.el.gz
(defmacro peg (&rest pexs)
"Return a PEG-matcher that matches PEXS."
(pcase (peg-normalize `(and . ,pexs))
(`(call ,name) `#',(peg--rule-id name)) ;Optimize this case by η-reduction!
(exp `(peg--lambda ',pexs () ,(peg-translate-exp exp)))))