Sha256: 945fe49a2f525bb1382fc1521284cc9a63d9a820577a1d5b00a11785dbc5137a
Contents?: true
Size: 1.85 KB
Versions: 1
Compression:
Stored size: 1.85 KB
Contents
( (pass (seq PASS)) (rule ebnf "1" (star (alt declaration rule))) (rule declaration "2" (alt "@terminals" pass)) (rule rule "3" (seq LHS expression)) (rule expression "4" (seq alt)) (rule alt "5" (seq seq (star (seq "|" seq)))) (rule seq "6" (plus diff)) (rule diff "7" (seq postfix (opt (seq "-" postfix)))) (rule postfix "8" (seq primary (opt POSTFIX))) (rule primary "9" (alt HEX SYMBOL ENUM O_ENUM RANGE O_RANGE STRING1 STRING2 (seq "(" expression ")"))) (rule pass "10" (seq "@pass" expression)) (terminal LHS "11" (seq (opt (seq "[" (plus SYMBOL) "]" (plus " "))) SYMBOL (star " ") "::=")) (terminal SYMBOL "12" (plus (alt (range "a-z") (range "A-Z") (range "0-9") "_" "."))) (terminal HEX "13" (seq "#x" (plus (alt (range "a-f") (range "A-F") (range "0-9"))))) (terminal ENUM "14" (diff (alt (seq "[" (plus R_CHAR)) (seq (plus HEX) "]")) LHS)) (terminal O_ENUM "15" (alt (seq "[^" (plus R_CHAR)) (seq (plus HEX) "]"))) (terminal RANGE "16" (alt (seq "[" (seq R_CHAR "-" R_CHAR)) (seq (diff HEX HEX) "]"))) (terminal O_RANGE "17" (alt (seq "[^" (seq R_CHAR "-" R_CHAR)) (seq (diff HEX HEX) "]"))) (terminal STRING1 "18" (seq "\"" (star (diff CHAR "\"")) "\"")) (terminal STRING2 "19" (seq "'" (star (diff CHAR "'")) "'")) (terminal CHAR "20" (alt (range "#x9#xA#xD") (range "#x20-#xD7FF") (range "#xE000-#xFFFD") (range "#x10000-#x10FFFF")) ) (terminal R_CHAR "21" (diff CHAR "]")) (terminal POSTFIX "22" (range "?*+")) (terminal PASS "23" (plus (alt (range "#x00-#x20") (seq (alt (diff "#" "#x") "//") (star (range "^#x0A#x0Dx"))) (seq "/*" (star (alt (opt (seq "*" (range "^/"))) (range "^*"))) "*/") (seq "(*" (star (alt (opt (seq "*" (range "^)"))) (range "^*"))) "*)")) )) )
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ebnf-2.0.0 | etc/ebnf.sxp |