author_id
stringlengths
4
32
blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
8
84
content_id
stringlengths
40
40
repo_name
stringlengths
8
53
content
dict
src_encoding
stringclasses
1 value
language
stringclasses
1 value
length_bytes
int64
11
65.5k
rmoorman
10bd60f520818fe4457bb79d108ddafd194e3b95
4ca5edefc426f89d74a69bbca123642efa2259e8
/internal/spec/grammar.abnf
7a37ff952e26ba5afb099b4ea9c66217fd74b85c
rmoorman/golang-scim2-filter-parser
{ "content": "; RFC: https://tools.ietf.org/html/rfc7644#section-3.4.2.2\n; Contains Errata: #4690\nFILTER = attrExp / logExp / valuePath / *1\"not\" \"(\" FILTER \")\"\nvaluePath = attrPath \"[\" valFilter \"]\"\nvalFilter = attrExp / valLogExp / *1\"not\" \"(\" valFilter \")\"\nvalLogExp = attrExp SP (\"and\" / \"or\") SP attrExp\nattrExp = (attrPath SP \"pr\") /\n (attrPath SP compareOp SP compValue)\nlogExp = FILTER SP (\"and\" / \"or\") SP FILTER\ncompValue = false / null / true / number / string\n ; Rules from JSON (RFC 7159).\ncompareOp = \"eq\" / \"ne\" / \"co\" / \"sw\" / \"ew\" / \"gt\" / \"lt\" / \"ge\" / \"le\"\nattrPath = [URI \":\"] ATTRNAME *1subAttr\n ; URI is SCIM \"schema\" URI.\nATTRNAME = ALPHA *(nameChar)\nnameChar = \"-\" / \"_\" / DIGIT / ALPHA\nsubAttr = \".\" ATTRNAME\n\n; RFC: https://tools.ietf.org/html/rfc7644#section-3.5.2\nPATH = attrPath / valuePath [subAttr]\n" }
UTF-8
ABNF
867
walkingRoach
9acca7babd7036495c6a084ac2083e8b0e235ee6
f5443d57dc77adbeaa1a68f2215c1ed47572e671
/communication/xf_ros/cfg/home_final.abnf
ef39d81075dd6fbb2e0eeb56ddf589ee5e73ebca
walkingRoach/robot_competition_gpsr
{ "content": "#ABNF 1.0 UTF-8;\nlanguage en-us;\nmode voice;\n\nroot $main;\n\n$main = $mission0$mission1;\n\n$mission0 = $intro$guestname;\n$intro = name;\n$guestname =\nJack |\nKevin |\nTom;\n\n$mission1 = $take$item;\n$take = take;\n$item =\nmilk |\nwater |\nchips;" }
UTF-8
ABNF
234
Numers
6c5f64082a106315b97441a2fd2d301dba9cd476
3b3c7bfce192dc3c0767ae9434401ac419e6912b
/DigitalSense第三版/DigitalSense/Helper/IflyRecognizer/bnf/grammar_sample.abnf
edaedeb9c76560fe56b4f0adc9a58b9b2bcc20ae
Numers/DigitalSense_IOS
{ "content": "#ABNF 1.0 UTF-8;\nlanguage zh-CN; \nmode voice;\n\nroot $main;\n$main = $place1;\n$place1 = 芒果|苹果|猕猴桃|橘子|橙子|椰子|水蜜桃|桃子|菠萝|凤梨|关闭|关|草莓;" }
UTF-8
ABNF
180
hibari
a0bb98c9ee9e3aa2c98fb16d2740451cdb17457e
f01696c73fc0e6858a8fa5bf585bf1c0ea107ab8
/src/hibari/misc-codes/ubf_a.abnf
b57d1144d413296bfeb75a8d50567358ae230469
hibari/hibari-doc
{ "content": "../tutorial/misc-codes/ubf_a.abnf" }
UTF-8
ABNF
33
adoble
0152d7af082ae196365c36c955aaaed3b97851b6
d424be2b148d67c6b596e32033a0954d0dcfc31e
/docs/specifications/semantically-annotated-markdown.abnf
5b08af762aeb081e87c007a853d86112f2a2fb52
adoble/semplate
{ "content": "\nsemantically-annotated-markdown = comment-directive *directive *block\n\ncomment-directive = markdown-comment-start \"{@template.comment}}\" [markdown-comment-end] newline\n\ndirective = markdown-comment-start \"{@\" directive-name [(\"=\" directive-value)] \"}}\" [markdown-comment-end] newline\n\nblock = ((semantic-block text-value-block) / (text-block)) \n\nsemantic-block = markdown-comment-start 1*field-spec markdown-comment-end newline\n\nfield-spec = \"{{\" field-name (\":\" pattern-spec) \"}}\"\n\npattern-spec = string-pattern-spec / date-pattern-spec / url-pattern-spec\n\nstring-pattern-spec = \"pattern=\" DQUOTE [pre-pattern] \"%s\" [post-pattern] DQUOTE\n\nurl-pattern-spec = \"URL\"\n\ndate-pattern-spec = \"date=\" date-pattern\n\ntext-value-block = 1*([character-sequence] embedded-value [character-sequence]) newline newline\n\ntext-block = character-sequence newline newline\n\nembedded-value = pre-pattern semantic-value post-pattern / url-value / date-value\n\nfield-name = simple-field-name / complex-field-name\n\nsimple-field-name = character-sequence\n\ncomplex-field-name = [(complex-field-name \".\")] simple-field-name\n\ncharacter-sequence = *VCHAR\n\nnewline = LF / CRLF ; OS dependent\n" }
UTF-8
ABNF
1,168
triflicacid
264dd62358d6881b0164c406da01463cd920fb50
5ac907275f3fdac9f9c9ff1857cdb84f37c9823c
/ABNF/tests/lexer/seq_group.abnf
6ed4fa10bfff64c7376764e604acd4139d9a9382
triflicacid/cpp-abnf
{ "content": "greeting = (\"Hi\" / \"Hello\") \"World\"" }
UTF-8
ABNF
35
daveti
3ed1d017c7a3e9f64b53797562eaa40957173295
6c93e1cb03745b175d376cbbdcfdb85fbaf07862
/ItevadBin/itevad.abnf
bcecc48c6ab5a9202c6f25a3ea1f63a26200e75c
daveti/itevad
{ "content": ";\n; Itevad Protocol Text Encoding ABNF Example\n; April 6, 2012\n; http://daveti.blog.com\n;\n\nitevadMessage\t\t= LWSP message\nmessage\t\t\t= ItevadToken SLASH Version SEP ip4Address SEP messageBody\nmesssageBody\t\t= (messageRequest / messageReply)\nmessageRequest\t\t= TransToken EQUAL TransactionID LBRKT askContent RBRKT\nmessageReply\t\t= ReplyToken EQUAL TransactionId LBRKT answerContent RBRKT\naskContent\t\t= AskToken EQUAL quotedString\nanswerContent\t\t= AnswerToken EQUAL quotedString\nVersion\t\t\t= 1*2(DIGIT)\t; \"0\"..\"99\"\nip4Address\t\t= address [\":\" portNumber]\naddress\t\t\t= \"[\" IPv4address \"]\"\nIPv4address\t\t= V4hex DOT V4hex DOT V4hex DOT V4hex\nV4hex\t\t\t= 1*3(DIGIT)\t; \"0\"..\"255\"\nTransactionId\t\t= UINT32\nportNumber\t\t= UINT16\n\nUINT16\t\t\t= 1*5(DIGIT)\t; %x0-FFFF\nUINT32\t\t\t= 1*10(DIGIT)\t; %x0-FFFFFFFF\nDIGIT\t\t\t= %x30-39\t; 0-9\nDOT\t\t\t= \".\"\nDQUOTE\t\t\t= 0x22\t\t; \"\nALPHA\t\t\t= %x41-5A / %x61-7A\t; A-Z / a-z\nSafeChar\t\t= DIGIT / ALPHA / \"+\" / \"-\" / \"&\" / \"!\" / \"_\" / \"/\" / \"'\" / \"?\" / \"@\" /\n\t\t\t \"^\" / \"`\" / \"~\" / \"*\" / \"$\" / \"\\\" / \"(\" / \")\" / \"%\" / \"|\" / \".\"\nRestChar\t\t= \";\" / \"[\" / \"]\" / \"{\" / \"}\" / \":\" / \",\" / \"#\" / \"<\" / \">\" / \"=\"\nCR\t\t\t= %x0D\t\t; Carriage return\nLF\t\t\t= %x0A\t\t; linefeed\nSP\t\t\t= %x20\t\t; space\nHTAB\t\t\t= %x09\t\t; horizontal tab\nCOLON\t\t\t= \":\"\t\t; colon\nWSP\t\t\t= SP / HTAB\t; white space\nCOMMENT\t\t\t= \";\" *(SafeChar / RestChar / WSP / %x22) EOL\nEOL\t\t\t= (CR [LF] / LF)\nLWSP\t\t\t= *(WSP / COMMENT / EOL)\nSLASH\t\t\t= \"/\"\nSEP\t\t\t= (WSP / EOL / COMMENT) LWSP\nEQUAL\t\t\t= \"=\"\nLBRKT\t\t\t= LWSP \"{\" LWSP\nRBRKT\t\t\t= LWSP \"}\" LWSP\nquotedString\t\t= DQUOTE *(SafeChar / EOL / %x80-FF / RestChar / WSP) DQUOTE\n\nItevadToken\t\t= \"Itevad\"\nTransToken\t\t= \"Transaction\"\nReplyToken\t\t= \"Reply\"\nAskToken\t\t= \"Ask\"\nAnswerToken\t\t= \"Answer\"\n" }
UTF-8
ABNF
1,682
dhall-lang
eb539ff03e25f9184b1033d8b2e4bfc6569f2024
1a61ff08d483266b0a5cceed38271db710ab7352
/standard/dhall.abnf
8ccc3ad184bcf529061173a154057897e676ae43
dhall-lang/dhall-lang
{ "content": "; ABNF syntax based on RFC 5234\r\n;\r\n; The character encoding for Dhall is UTF-8\r\n;\r\n; Some notes on implementing this grammar:\r\n;\r\n; First, do not use a lexer to tokenize the file before parsing. Instead, treat\r\n; the individual characters of the file as the tokens to feed into the parser.\r\n; You should not use a lexer because Dhall's grammar supports two features which\r\n; cannot be correctly supported by a lexer:\r\n;\r\n; * String interpolation (i.e. \"foo ${Natural/toInteger bar} baz\")\r\n; * Nested block comments (i.e. \"{- foo {- bar -} baz -}\")\r\n;\r\n; Second, this grammar assumes that your parser can backtrack and/or try\r\n; multiple parses simultaneously. For example, consider this expression:\r\n;\r\n; List ./MyType\r\n;\r\n; A parser might first try to parse the period as the beginning of a field\r\n; selector, only to realize immediately afterwards that `/MyType` is not a valid\r\n; name for a field. A conforming parser must backtrack so that the expression\r\n; `./MyType` can instead be correctly interpreted as a relative path\r\n;\r\n; Third, if there are multiple valid parses then prefer the first parse\r\n; according to the ordering of alternatives. That is, the order of evaluation\r\n; of the alternatives is left-to-right.\r\n;\r\n; For example, the grammar for single quoted string literals is:\r\n;\r\n; single-quote-continue =\r\n; \"'''\" single-quote-continue\r\n; / \"${\" complete-expression \"}\" single-quote-continue\r\n; / \"''${\" single-quote-continue\r\n; / \"''\"\r\n; / %x20-10FFFF single-quote-continue\r\n; / tab single-quote-continue\r\n; / end-of-line single-quote-continue\r\n;\r\n; single-quote-literal = \"''\" single-quote-continue\r\n;\r\n; ... which permits valid parses for the following code:\r\n;\r\n; \"''''''''''''''''\"\r\n;\r\n; If you tried to parse all alternatives then there are at least two valid\r\n; interpretations for the above code:\r\n;\r\n; * A single quoted literal with four escape sequences of the form \"'''\"\r\n; * i.e. \"''\" followed by \"'''\" four times in a row followed by \"''\"\r\n; * Four empty single quoted literals\r\n; * i.e. \"''''\" four times in a row\r\n;\r\n; The correct interpretation is the first one because parsing the escape\r\n; sequence \"'''\" takes precedence over parsing the termination sequence \"''\",\r\n; according to the order of the alternatives in the `single-quote-continue`\r\n; rule.\r\n;\r\n; Some parsing libraries do not backtrack by default but allow the user to\r\n; selectively backtrack in certain parts of the grammar. Usually parsing\r\n; libraries do this to improve efficiency and error messages. Dhall's grammar\r\n; takes that into account by minimizing the number of rules that require the\r\n; parser to backtrack and comments below will highlight where you need to\r\n; explicitly backtrack\r\n;\r\n; Specifically, if you see an uninterrupted literal in a grammar rule such as:\r\n;\r\n; \"->\"\r\n;\r\n; ... or:\r\n;\r\n; %x66.6f.72.61.6c.6c\r\n;\r\n; ... then that string literal is parsed as a single unit, meaning that you\r\n; should backtrack if you parse only part of the literal\r\n;\r\n; In all other cases you can assume that you do not need to backtrack unless\r\n; there is a comment explicitly asking you to backtrack\r\n;\r\n; When parsing a repeated construct, prefer alternatives that parse as many\r\n; repetitions as possible. On in other words:\r\n;\r\n; [a] = a / \"\"\r\n;\r\n; a* = a* a / \"\"\r\n;\r\n; Note that the latter rule also specifies that repetition produces\r\n; left-associated expressions. For example, function application is\r\n; left-associative and all operators are left-associative when they are not\r\n; parenthesized.\r\n;\r\n; Additionally, try alternatives in an order that minimizes backtracking\r\n; according to the following rule:\r\n;\r\n; (a / b) (c / d) = a c / a d / b c / b d\r\n\r\n; NOTE: There are many line endings in the wild\r\n;\r\n; See: https://en.wikipedia.org/wiki/Newline\r\n;\r\n; For simplicity this supports Unix and Windows line-endings, which are the most\r\n; common\r\nend-of-line =\r\n %x0A ; \"\\n\"\r\n / %x0D.0A ; \"\\r\\n\"\r\n\r\n; This rule matches all characters that are not:\r\n;\r\n; * not ASCII\r\n; * not part of a surrogate pair\r\n; * not a \"non-character\"\r\nvalid-non-ascii =\r\n %x80-D7FF\r\n ; %xD800-DFFF = surrogate pairs\r\n / %xE000-FFFD\r\n ; %xFFFE-FFFF = non-characters\r\n / %x10000-1FFFD\r\n ; %x1FFFE-1FFFF = non-characters\r\n / %x20000-2FFFD\r\n ; %x2FFFE-2FFFF = non-characters\r\n / %x30000-3FFFD\r\n ; %x3FFFE-3FFFF = non-characters\r\n / %x40000-4FFFD\r\n ; %x4FFFE-4FFFF = non-characters\r\n / %x50000-5FFFD\r\n ; %x5FFFE-5FFFF = non-characters\r\n / %x60000-6FFFD\r\n ; %x6FFFE-6FFFF = non-characters\r\n / %x70000-7FFFD\r\n ; %x7FFFE-7FFFF = non-characters\r\n / %x80000-8FFFD\r\n ; %x8FFFE-8FFFF = non-characters\r\n / %x90000-9FFFD\r\n ; %x9FFFE-9FFFF = non-characters\r\n / %xA0000-AFFFD\r\n ; %xAFFFE-AFFFF = non-characters\r\n / %xB0000-BFFFD\r\n ; %xBFFFE-BFFFF = non-characters\r\n / %xC0000-CFFFD\r\n ; %xCFFFE-CFFFF = non-characters\r\n / %xD0000-DFFFD\r\n ; %xDFFFE-DFFFF = non-characters\r\n / %xE0000-EFFFD\r\n ; %xEFFFE-EFFFF = non-characters\r\n / %xF0000-FFFFD\r\n ; %xFFFFE-FFFFF = non-characters\r\n / %x100000-10FFFD\r\n ; %x10FFFE-10FFFF = non-characters\r\n\r\ntab = %x09 ; \"\\t\"\r\n\r\nblock-comment = \"{-\" block-comment-continue\r\n\r\nblock-comment-char =\r\n %x20-7F\r\n / valid-non-ascii\r\n / tab\r\n / end-of-line\r\n\r\nblock-comment-continue =\r\n \"-}\"\r\n / block-comment block-comment-continue\r\n / block-comment-char block-comment-continue\r\n\r\nnot-end-of-line = %x20-7F / valid-non-ascii / tab\r\n\r\n; NOTE: Slightly different from Haskell-style single-line comments because this\r\n; does not require a space after the dashes\r\nline-comment-prefix = \"--\" *not-end-of-line\r\n\r\nline-comment = line-comment-prefix end-of-line\r\n\r\nwhitespace-chunk =\r\n \" \"\r\n / tab\r\n / end-of-line\r\n / line-comment\r\n / block-comment\r\n\r\nwhsp = *whitespace-chunk\r\n\r\n; nonempty whitespace\r\nwhsp1 = 1*whitespace-chunk\r\n\r\n; Uppercase or lowercase ASCII letter\r\nALPHA = %x41-5A / %x61-7A\r\n\r\n; ASCII digit\r\nDIGIT = %x30-39 ; 0-9\r\n\r\nALPHANUM = ALPHA / DIGIT\r\n\r\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\r\n\r\n; A simple label cannot be one of the reserved keywords\r\n; listed in the `keyword` rule.\r\n; A PEG parser could use negative lookahead to\r\n; enforce this, e.g. as follows:\r\n; simple-label =\r\n; keyword 1*simple-label-next-char\r\n; / !keyword (simple-label-first-char *simple-label-next-char)\r\nsimple-label-first-char = ALPHA / \"_\"\r\nsimple-label-next-char = ALPHANUM / \"-\" / \"/\" / \"_\"\r\nsimple-label = simple-label-first-char *simple-label-next-char\r\n\r\nquoted-label-char =\r\n %x20-5F\r\n ; %x60 = '`'\r\n / %x61-7E\r\n\r\nquoted-label = *quoted-label-char\r\n\r\n; NOTE: Dhall does not support Unicode labels, mainly to minimize the potential\r\n; for code obfuscation\r\nlabel = (\"`\" quoted-label \"`\" / simple-label)\r\n\r\n; A nonreserved-label cannot not be any of the reserved identifiers for builtins\r\n; (unless quoted).\r\n; Their list can be found in the `builtin` rule.\r\n; The only place where this restriction applies is bound variables.\r\n; A PEG parser could use negative lookahead to avoid parsing those identifiers,\r\n; e.g. as follows:\r\n; nonreserved-label =\r\n; builtin 1*simple-label-next-char\r\n; / !builtin label\r\nnonreserved-label = label\r\n\r\n; An any-label is allowed to be one of the reserved identifiers (but not a keyword).\r\nany-label = label\r\n\r\n; Allow specifically `Some` in record and union labels.\r\nany-label-or-some = any-label / Some\r\n\r\n; Allow `?` as path component in `with`.\r\nwith-component = any-label-or-some / \"?\"\r\n\r\n; Dhall's double-quoted strings are similar to JSON strings (RFC7159) except:\r\n;\r\n; * Dhall strings support string interpolation\r\n;\r\n; * Dhall strings also support escaping string interpolation by adding a new\r\n; `\\$` escape sequence\r\n;\r\n; * Dhall strings also allow Unicode escape sequences of the form `\\u{XXX}`\r\ndouble-quote-chunk =\r\n interpolation\r\n ; '\\' Beginning of escape sequence\r\n / %x5C double-quote-escaped\r\n / double-quote-char\r\n\r\ndouble-quote-escaped =\r\n %x22 ; '\"' quotation mark U+0022\r\n / %x24 ; '$' dollar sign U+0024\r\n / %x5C ; '\\' reverse solidus U+005C\r\n / %x2F ; '/' solidus U+002F\r\n / %x62 ; 'b' backspace U+0008\r\n / %x66 ; 'f' form feed U+000C\r\n / %x6E ; 'n' line feed U+000A\r\n / %x72 ; 'r' carriage return U+000D\r\n / %x74 ; 't' tab U+0009\r\n / %x75 unicode-escape ; 'uXXXX' / 'u{XXXX}' U+XXXX\r\n\r\n; Valid Unicode escape sequences are as follows:\r\n;\r\n; * Exactly 4 hexadecimal digits without braces:\r\n; `\\uXXXX`\r\n; * 1-6 hexadecimal digits within braces (with optional zero padding):\r\n; `\\u{XXXX}`, `\\u{000X}`, `\\u{XXXXX}`, `\\u{00000XXXXX}`, etc.\r\n; Any number of leading zeros are allowed within the braces preceding the 1-6\r\n; digits specifying the codepoint.\r\n;\r\n; From these sequences, the parser must also reject any codepoints that are in\r\n; the following ranges:\r\n;\r\n; * Surrogate pairs: `%xD800-DFFF`\r\n; * Non-characters: `%xNFFFE-NFFFF` / `%x10FFFE-10FFFF` for `N` in `{ 0 .. F }`\r\n;\r\n; See the `valid-non-ascii` rule for the exact ranges that are not allowed\r\nunicode-escape = unbraced-escape / \"{\" braced-escape \"}\"\r\n\r\n; All valid last 4 digits for unicode codepoints (outside Plane 0): `0000-FFFD`\r\nunicode-suffix = (DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\") 3HEXDIG\r\n / \"F\" 2HEXDIG (DIGIT / \"A\" / \"B\" / \"C\" / \"D\")\r\n\r\n; All 4-hex digit unicode escape sequences that are not:\r\n;\r\n; * Surrogate pairs (i.e. `%xD800-DFFF`)\r\n; * Non-characters (i.e. `%xFFFE-FFFF`)\r\n;\r\nunbraced-escape =\r\n (DIGIT / \"A\" / \"B\" / \"C\") 3HEXDIG\r\n / \"D\" (\"0\" / \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\") HEXDIG HEXDIG\r\n ; %xD800-DFFF Surrogate pairs\r\n / \"E\" 3HEXDIG\r\n / \"F\" 2HEXDIG (DIGIT / \"A\" / \"B\" / \"C\" / \"D\")\r\n ; %xFFFE-FFFF Non-characters\r\n\r\n; All 1-6 digit unicode codepoints that are not:\r\n;\r\n; * Surrogate pairs: `%xD800-DFFF`\r\n; * Non-characters: `%xNFFFE-NFFFF` / `%x10FFFE-10FFFF` for `N` in `{ 0 .. F }`\r\n;\r\n; See the `valid-non-ascii` rule for the exact ranges that are not allowed\r\nbraced-codepoint =\r\n (\"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\" / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" / \"10\") unicode-suffix; (Planes 1-16)\r\n / unbraced-escape ; (Plane 0)\r\n / 1*3HEXDIG ; %x000-FFF\r\n\r\n; Allow zero padding for braced codepoints\r\nbraced-escape = *\"0\" braced-codepoint\r\n\r\n; Printable characters except double quote and backslash\r\ndouble-quote-char =\r\n %x20-21\r\n ; %x22 = '\"'\r\n / %x23-5B\r\n ; %x5C = \"\\\"\r\n / %x5D-7F\r\n / valid-non-ascii\r\n\r\ndouble-quote-literal = %x22 *double-quote-chunk %x22\r\n\r\n; NOTE: The only way to end a single-quote string literal with a single quote is\r\n; to either interpolate the single quote, like this:\r\n;\r\n; ''ABC${\"'\"}''\r\n;\r\n; ... or concatenate another string, like this:\r\n;\r\n; ''ABC'' ++ \"'\"\r\n;\r\n; If you try to end the string literal with a single quote then you get \"'''\",\r\n; which is interpreted as an escaped pair of single quotes\r\nsingle-quote-continue =\r\n interpolation single-quote-continue\r\n / escaped-quote-pair single-quote-continue\r\n / escaped-interpolation single-quote-continue\r\n / \"''\" ; End of text literal\r\n / single-quote-char single-quote-continue\r\n\r\n; Escape two single quotes (i.e. replace this sequence with \"''\")\r\nescaped-quote-pair = \"'''\"\r\n\r\n; Escape interpolation (i.e. replace this sequence with \"${\")\r\nescaped-interpolation = \"''${\"\r\n\r\nsingle-quote-char =\r\n %x20-7F\r\n / valid-non-ascii\r\n / tab\r\n / end-of-line\r\n\r\nsingle-quote-literal = \"''\" end-of-line single-quote-continue\r\n\r\ninterpolation = \"${\" complete-expression \"}\"\r\n\r\ntext-literal = (double-quote-literal / single-quote-literal)\r\n\r\nbytes-literal =\r\n ; Hexadecimal with \"0x\" prefix\r\n ; %x22 = '\"'\r\n \"0\" %x78 %x22 *(HEXDIG HEXDIG) %x22\r\n\r\n\r\n; RFC 5234 interprets string literals as case-insensitive and recommends using\r\n; hex instead for case-sensitive strings\r\n;\r\n; If you don't feel like reading hex, these are all the same as the rule name.\r\n; Keywords that should never be parsed as identifiers\r\nif = %x69.66\r\nthen = %x74.68.65.6e\r\nelse = %x65.6c.73.65\r\nlet = %x6c.65.74\r\nin = %x69.6e\r\nas = %x61.73\r\nusing = %x75.73.69.6e.67\r\nmerge = %x6d.65.72.67.65\r\nmissing = %x6d.69.73.73.69.6e.67\r\nInfinity = %x49.6e.66.69.6e.69.74.79\r\nNaN = %x4e.61.4e\r\nSome = %x53.6f.6d.65\r\ntoMap = %x74.6f.4d.61.70\r\nassert = %x61.73.73.65.72.74\r\nforall-keyword = %x66.6f.72.61.6c.6c ; \"forall\"\r\nforall-symbol = %x2200 ; Unicode FOR ALL\r\nforall = forall-symbol / forall-keyword\r\nwith = %x77.69.74.68\r\nshowConstructor = %x73.68.6f.77.43.6f.6e.73.74.72.75.63.74.6f.72\r\n\r\n\r\n; Unused rule that could be used as negative lookahead in the\r\n; `simple-label` rule for parsers that support this.\r\nkeyword =\r\n if / then / else\r\n / let / in\r\n / using / missing\r\n / assert / as\r\n / Infinity / NaN\r\n / merge / Some / toMap\r\n / forall-keyword\r\n / with\r\n / showConstructor\r\n\r\n; Note that there is a corresponding parser test in\r\n; `tests/parser/success/builtinsA.dhall`. Please update it when\r\n; you modify this `builtin` rule.\r\nbuiltin =\r\n Natural-fold\r\n / Natural-build\r\n / Natural-isZero\r\n / Natural-even\r\n / Natural-odd\r\n / Natural-toInteger\r\n / Natural-show\r\n / Integer-toDouble\r\n / Integer-show\r\n / Integer-negate\r\n / Integer-clamp\r\n / Natural-subtract\r\n / Double-show\r\n / List-build\r\n / List-fold\r\n / List-length\r\n / List-head\r\n / List-last\r\n / List-indexed\r\n / List-reverse\r\n / Text-show\r\n / Text-replace\r\n / Date-show\r\n / Time-show\r\n / TimeZone-show\r\n / Bool\r\n / True\r\n / False\r\n / Optional\r\n / None\r\n / Natural\r\n / Integer\r\n / Double\r\n / Text\r\n / Date\r\n / Time\r\n / TimeZone\r\n / List\r\n / Type\r\n / Kind\r\n / Sort\r\n\r\n; Reserved identifiers, needed for some special cases of parsing\r\nOptional = %x4f.70.74.69.6f.6e.61.6c\r\nText = %x54.65.78.74\r\nList = %x4c.69.73.74\r\nLocation = %x4c.6f.63.61.74.69.6f.6e\r\n\r\n; Remainder of the reserved identifiers, needed for the `builtin` rule\r\nBool = %x42.6f.6f.6c\r\nTrue = %x54.72.75.65\r\nFalse = %x46.61.6c.73.65\r\nNone = %x4e.6f.6e.65\r\nNatural = %x4e.61.74.75.72.61.6c\r\nInteger = %x49.6e.74.65.67.65.72\r\nDouble = %x44.6f.75.62.6c.65\r\nDate = %x44.61.74.65\r\nTime = %x54.69.6d.65\r\nTimeZone = %x54.69.6d.65.5a.6f.6e.65\r\nType = %x54.79.70.65\r\nKind = %x4b.69.6e.64\r\nSort = %x53.6f.72.74\r\nNatural-fold = %x4e.61.74.75.72.61.6c.2f.66.6f.6c.64\r\nNatural-build = %x4e.61.74.75.72.61.6c.2f.62.75.69.6c.64\r\nNatural-isZero = %x4e.61.74.75.72.61.6c.2f.69.73.5a.65.72.6f\r\nNatural-even = %x4e.61.74.75.72.61.6c.2f.65.76.65.6e\r\nNatural-odd = %x4e.61.74.75.72.61.6c.2f.6f.64.64\r\nNatural-toInteger = %x4e.61.74.75.72.61.6c.2f.74.6f.49.6e.74.65.67.65.72\r\nNatural-show = %x4e.61.74.75.72.61.6c.2f.73.68.6f.77\r\nNatural-subtract = %x4e.61.74.75.72.61.6c.2f.73.75.62.74.72.61.63.74\r\nInteger-toDouble = %x49.6e.74.65.67.65.72.2f.74.6f.44.6f.75.62.6c.65\r\nInteger-show = %x49.6e.74.65.67.65.72.2f.73.68.6f.77\r\nInteger-negate = %x49.6e.74.65.67.65.72.2f.6e.65.67.61.74.65\r\nInteger-clamp = %x49.6e.74.65.67.65.72.2f.63.6c.61.6d.70\r\nDouble-show = %x44.6f.75.62.6c.65.2f.73.68.6f.77\r\nList-build = %x4c.69.73.74.2f.62.75.69.6c.64\r\nList-fold = %x4c.69.73.74.2f.66.6f.6c.64\r\nList-length = %x4c.69.73.74.2f.6c.65.6e.67.74.68\r\nList-head = %x4c.69.73.74.2f.68.65.61.64\r\nList-last = %x4c.69.73.74.2f.6c.61.73.74\r\nList-indexed = %x4c.69.73.74.2f.69.6e.64.65.78.65.64\r\nList-reverse = %x4c.69.73.74.2f.72.65.76.65.72.73.65\r\nText-show = %x54.65.78.74.2f.73.68.6f.77\r\nText-replace = %x54.65.78.74.2f.72.65.70.6c.61.63.65\r\nDate-show = %x44.61.74.65.2f.73.68.6f.77\r\nTime-show = %x54.69.6d.65.2f.73.68.6f.77\r\nTimeZone-show = %x54.69.6d.65.5a.6f.6e.65.2f.73.68.6f.77\r\n\r\n; Operators\r\ncombine = %x2227 / \"/\\\"\r\ncombine-types = %x2A53 / \"//\\\\\"\r\nequivalent = %x2261 / \"===\"\r\nprefer = %x2AFD / \"//\"\r\nlambda = %x3BB / \"\\\"\r\narrow = %x2192 / \"->\"\r\ncomplete = \"::\"\r\n\r\nexponent = \"e\" [ \"+\" / \"-\" ] 1*DIGIT\r\n\r\nnumeric-double-literal = [ \"+\" / \"-\" ] 1*DIGIT ( \".\" 1*DIGIT [ exponent ] / exponent)\r\n\r\nminus-infinity-literal = \"-\" Infinity\r\nplus-infinity-literal = Infinity\r\n\r\ndouble-literal =\r\n ; \"-Infinity\"\r\n minus-infinity-literal\r\n ; \"Infinity\"\r\n / plus-infinity-literal\r\n ; \"NaN\"\r\n / NaN\r\n ; \"2.0\"\r\n / numeric-double-literal\r\n\r\nnatural-literal =\r\n ; Hexadecimal with \"0x\" prefix\r\n \"0\" %x78 1*HEXDIG\r\n ; Decimal; leading 0 digits are not allowed\r\n / (\"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\") *DIGIT\r\n ; ... except for 0 itself\r\n / \"0\"\r\n\r\ninteger-literal = ( \"+\" / \"-\" ) natural-literal\r\n\r\n; All temporal literals need to be valid dates according to RFC3339, meaning\r\n; that:\r\n;\r\n; * Months must be in the range 1-12\r\n; * The day of the month must be valid according to the corresponding month\r\n; * February 29 is only permitted on leap years\r\n;\r\n; The only exception to this is leap seconds, which are not supported because we\r\n; treat dates and times separately. In other words, the valid range of the\r\n; seconds field is always 0-59.\r\n;\r\ntemporal-literal =\r\n ; \"YYYY-MM-DDThh:mm:ss[+-]HH:MM\", parsed as a `{ date : Date, time : Time, timeZone : TimeZone }`\r\n full-date \"T\" partial-time time-offset\r\n ; \"YYYY-MM-DDThh:mm:ss\", parsed as a `{ date : Date, time : Time }`\r\n / full-date \"T\" partial-time\r\n ; \"hh:mm:ss[+-]HH:MM\", parsed as a `{ time : Time, timeZone, TimeZone }`\r\n / partial-time time-offset\r\n ; \"YYYY-MM-DD\", parsed as a `Date`\r\n / full-date\r\n ; \"hh:mm:ss\", parsed as a `Time`\r\n / partial-time\r\n ; \"[+-]HH:MM\", parsed as a `TimeZone`\r\n ;\r\n ; Carefully note that this `time-numoffset` and not `time-offset`, meaning\r\n ; that a standalone `Z` is not a valid Dhall literal for a `TimeZone`\r\n / time-numoffset\r\n\r\n; Taken from RFC 3339 with some differences\r\ndate-fullyear = 4DIGIT\r\ndate-month = 2DIGIT ; 01-12\r\ndate-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on\r\n ; month/year\r\ntime-hour = 2DIGIT ; 00-23\r\ntime-minute = 2DIGIT ; 00-59\r\ntime-second = 2DIGIT ; 00-59 (**UNLIKE** RFC 3339, we don't support leap\r\n ; seconds)\r\n; Like RFC 3339, we require an implementation to support *parsing* an arbitrary\r\n; time precision, but an implementation only needs to support storing/encoding\r\n; at least nanosecond precision. In other words an implementation only needs to\r\n; preserve 9 digits after the decimal point.\r\ntime-secfrac = \".\" 1*DIGIT ; RFC 3339\r\ntime-numoffset = (\"+\" / \"-\") time-hour \":\" time-minute\r\ntime-offset = \"Z\" / time-numoffset ; \"Z\" desugars to \"+00:00\"\r\n\r\npartial-time = time-hour \":\" time-minute \":\" time-second\r\n [time-secfrac]\r\nfull-date = date-fullyear \"-\" date-month \"-\" date-mday\r\n\r\n; If the identifier matches one of the names in the `builtin` rule, then it is a\r\n; builtin, and should be treated as the corresponding item in the list of\r\n; \"Reserved identifiers for builtins\" specified in the `standard/README.md` document.\r\n; It is a syntax error to specify a de Bruijn index in this case.\r\n; Otherwise, this is a variable with name and index matching the label and index.\r\nidentifier = variable / builtin\r\n\r\nvariable = nonreserved-label [ whsp \"@\" whsp natural-literal ]\r\n\r\n; Printable characters other than \" ()[]{}<>/\\,\"\r\n;\r\n; Excluding those characters ensures that paths don't have to end with trailing\r\n; whitespace most of the time\r\npath-character =\r\n ; %x20 = \" \"\r\n %x21\r\n ; %x22 = \"\\\"\"\r\n ; %x23 = \"#\"\r\n / %x24-27\r\n ; %x28 = \"(\"\r\n ; %x29 = \")\"\r\n / %x2A-2B\r\n ; %x2C = \",\"\r\n / %x2D-2E\r\n ; %x2F = \"/\"\r\n / %x30-3B\r\n ; %x3C = \"<\"\r\n / %x3D\r\n ; %x3E = \">\"\r\n ; %x3F = \"?\"\r\n / %x40-5A\r\n ; %x5B = \"[\"\r\n ; %x5C = \"\\\"\r\n ; %x5D = \"]\"\r\n / %x5E-7A\r\n ; %x7B = \"{\"\r\n / %x7C\r\n ; %x7D = \"}\"\r\n / %x7E\r\n\r\nquoted-path-character =\r\n %x20-21\r\n ; %x22 = \"\\\"\"\r\n / %x23-2E\r\n ; %x2F = \"/\"\r\n / %x30-7F\r\n / valid-non-ascii\r\n\r\nunquoted-path-component = 1*path-character\r\nquoted-path-component = 1*quoted-path-character\r\n\r\npath-component = \"/\" ( unquoted-path-component / %x22 quoted-path-component %x22 )\r\n\r\n; The last path-component matched by this rule is referred to as \"file\" in the semantics,\r\n; and the other path-components as \"directory\".\r\npath = 1*path-component\r\n\r\nlocal =\r\n parent-path\r\n / here-path\r\n / home-path\r\n ; NOTE: Backtrack if parsing this alternative fails\r\n ;\r\n ; This is because the first character of this alternative will be \"/\", but\r\n ; if the second character is \"/\" or \"\\\" then this should have been parsed\r\n ; as an operator instead of a path\r\n / absolute-path\r\n\r\nparent-path = \"..\" path ; Relative path\r\nhere-path = \".\" path ; Relative path\r\nhome-path = \"~\" path ; Home-anchored path\r\nabsolute-path = path ; Absolute path\r\n\r\n; `http[s]` URI grammar based on RFC7230 and RFC 3986 with some differences\r\n; noted below\r\n\r\nscheme = %x68.74.74.70 [ %x73 ] ; \"http\" [ \"s\" ]\r\n\r\n; NOTE: This does not match the official grammar for a URI. Specifically:\r\n;\r\n; * this does not support fragment identifiers, which have no meaning within\r\n; Dhall expressions and do not affect import resolution\r\n; * the characters \"(\" \")\" and \",\" are not included in the `sub-delims` rule:\r\n; in particular, these characters can't be used in authority, path or query\r\n; strings. This is because those characters have other meaning in Dhall\r\n; and it would be confusing for the comma in\r\n; [http://example.com/foo, bar]\r\n; to be part of the URL instead of part of the list. If you need a URL\r\n; which contains parens or a comma, you must percent-encode them.\r\n;\r\n; Reserved characters in quoted path components should be percent-encoded\r\n; according to https://tools.ietf.org/html/rfc3986#section-2\r\nhttp-raw = scheme \"://\" authority path-abempty [ \"?\" query ]\r\n\r\npath-abempty = *( \"/\" segment )\r\n\r\n; NOTE: Backtrack if parsing the optional user info prefix fails\r\nauthority = [ userinfo \"@\" ] host [ \":\" port ]\r\n\r\nuserinfo = *( unreserved / pct-encoded / sub-delims / \":\" )\r\n\r\nhost = IP-literal / IPv4address / domain\r\n\r\nport = *DIGIT\r\n\r\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\"\r\n\r\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" )\r\n\r\n; NOTE: Backtrack when parsing each alternative\r\nIPv6address = 6( h16 \":\" ) ls32\r\n / \"::\" 5( h16 \":\" ) ls32\r\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\r\n / [ h16 *1( \":\" h16 ) ] \"::\" 3( h16 \":\" ) ls32\r\n / [ h16 *2( \":\" h16 ) ] \"::\" 2( h16 \":\" ) ls32\r\n / [ h16 *3( \":\" h16 ) ] \"::\" h16 \":\" ls32\r\n / [ h16 *4( \":\" h16 ) ] \"::\" ls32\r\n / [ h16 *5( \":\" h16 ) ] \"::\" h16\r\n / [ h16 *6( \":\" h16 ) ] \"::\"\r\n\r\nh16 = 1*4HEXDIG\r\n\r\nls32 = h16 \":\" h16 / IPv4address\r\n\r\nIPv4address = dec-octet \".\" dec-octet \".\" dec-octet \".\" dec-octet\r\n\r\n; NOTE: Backtrack when parsing these alternatives\r\ndec-octet = \"25\" %x30-35 ; 250-255\r\n / \"2\" %x30-34 DIGIT ; 200-249\r\n / \"1\" 2DIGIT ; 100-199\r\n / %x31-39 DIGIT ; 10-99\r\n / DIGIT ; 0-9\r\n\r\n; Look in RFC3986 3.2.2 for\r\n; \"A registered name intended for lookup in the DNS\"\r\ndomain = domainlabel *(\".\" domainlabel) [ \".\" ]\r\n\r\ndomainlabel = 1*ALPHANUM *(1*\"-\" 1*ALPHANUM)\r\n\r\nsegment = *pchar\r\n\r\npchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\r\n\r\nquery = *( pchar / \"/\" / \"?\" )\r\n\r\npct-encoded = \"%\" HEXDIG HEXDIG\r\n\r\nunreserved = ALPHANUM / \"-\" / \".\" / \"_\" / \"~\"\r\n\r\n; this is the RFC3986 sub-delims rule, without \"(\", \")\" or \",\"\r\n; see comments above the `http-raw` rule above\r\nsub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"*\" / \"+\" / \";\" / \"=\"\r\n\r\nhttp = http-raw [ whsp using whsp1 import-expression ]\r\n\r\n; Dhall supports unquoted environment variables that are Bash-compliant or\r\n; quoted environment variables that are POSIX-compliant\r\nenv = \"env:\"\r\n ( bash-environment-variable\r\n / %x22 posix-environment-variable %x22\r\n )\r\n\r\n; Bash supports a restricted subset of POSIX environment variables. From the\r\n; Bash `man` page, an environment variable name is:\r\n;\r\n; > A word consisting only of alphanumeric characters and under-scores, and\r\n; > beginning with an alphabetic character or an under-score\r\nbash-environment-variable = (ALPHA / \"_\") *(ALPHANUM / \"_\")\r\n\r\n; The POSIX standard is significantly more flexible about legal environment\r\n; variable names, which can contain alerts (i.e. '\\a'), whitespace, or\r\n; punctuation, for example. The POSIX standard says about environment variable\r\n; names:\r\n;\r\n; > The value of an environment variable is a string of characters. For a\r\n; > C-language program, an array of strings called the environment shall be made\r\n; > available when a process begins. The array is pointed to by the external\r\n; > variable environ, which is defined as:\r\n; >\r\n; > extern char **environ;\r\n; >\r\n; > These strings have the form name=value; names shall not contain the\r\n; > character '='. For values to be portable across systems conforming to IEEE\r\n; > Std 1003.1-2001, the value shall be composed of characters from the portable\r\n; > character set (except NUL and as indicated below).\r\n;\r\n; Note that the standard does not explicitly state that the name must have at\r\n; least one character, but `env` does not appear to support this and `env`\r\n; claims to be POSIX-compliant. To be safe, Dhall requires at least one\r\n; character like `env`\r\nposix-environment-variable = 1*posix-environment-variable-character\r\n\r\n; These are all the characters from the POSIX Portable Character Set except for\r\n; '\\0' (NUL) and '='. Note that the POSIX standard does not explicitly state\r\n; that environment variable names cannot have NUL. However, this is implicit\r\n; in the fact that environment variables are passed to the program as\r\n; NUL-terminated `name=value` strings, which implies that the `name` portion of\r\n; the string cannot have NUL characters\r\nposix-environment-variable-character =\r\n %x5C ; '\\' Beginning of escape sequence\r\n ( %x22 ; '\"' quotation mark U+0022\r\n / %x5C ; '\\' reverse solidus U+005C\r\n / %x61 ; 'a' alert U+0007\r\n / %x62 ; 'b' backspace U+0008\r\n / %x66 ; 'f' form feed U+000C\r\n / %x6E ; 'n' line feed U+000A\r\n / %x72 ; 'r' carriage return U+000D\r\n / %x74 ; 't' tab U+0009\r\n / %x76 ; 'v' vertical tab U+000B\r\n )\r\n ; Printable characters except double quote, backslash and equals\r\n / %x20-21\r\n ; %x22 = '\"'\r\n / %x23-3C\r\n ; %x3D = '='\r\n / %x3E-5B\r\n ; %x5C = \"\\\"\r\n / %x5D-7E\r\n\r\nimport-type = missing / local / http / env\r\n\r\nhash = %x73.68.61.32.35.36.3a 64HEXDIG ; \"sha256:XXX...XXX\"\r\n\r\nimport-hashed = import-type [ whsp1 hash ]\r\n\r\n; \"http://example.com\"\r\n; \"./foo/bar\"\r\n; \"env:FOO\"\r\nimport = import-hashed [ whsp as whsp1 (Text / Location) ]\r\n\r\nexpression =\r\n ; \"\\(x : a) -> b\"\r\n lambda whsp \"(\" whsp nonreserved-label whsp \":\" whsp1 expression whsp \")\" whsp arrow whsp expression\r\n ;\r\n ; \"if a then b else c\"\r\n / if whsp1 expression whsp then whsp1 expression whsp else whsp1 expression\r\n ;\r\n ; \"let x : t = e1 in e2\"\r\n ; \"let x = e1 in e2\"\r\n ; We allow dropping the `in` between adjacent let-expressions; the following are equivalent:\r\n ; \"let x = e1 let y = e2 in e3\"\r\n ; \"let x = e1 in let y = e2 in e3\"\r\n / 1*let-binding in whsp1 expression\r\n ;\r\n ; \"forall (x : a) -> b\"\r\n / forall whsp \"(\" whsp nonreserved-label whsp \":\" whsp1 expression whsp \")\" whsp arrow whsp expression\r\n ;\r\n ; \"a -> b\"\r\n ;\r\n ; NOTE: Backtrack if parsing this alternative fails\r\n / operator-expression whsp arrow whsp expression\r\n ;\r\n ; \"a with x = b\"\r\n ;\r\n ; NOTE: Backtrack if parsing this alternative fails\r\n / with-expression\r\n ;\r\n ; \"merge e1 e2 : t\"\r\n ;\r\n ; NOTE: Backtrack if parsing this alternative fails since we can't tell\r\n ; from the keyword whether there will be a type annotation or not\r\n / merge whsp1 import-expression whsp1 import-expression whsp \":\" whsp1 expression\r\n ;\r\n ; \"[] : t\"\r\n ;\r\n ; NOTE: Backtrack if parsing this alternative fails since we can't tell\r\n ; from the opening bracket whether or not this will be an empty list or\r\n ; a non-empty list\r\n / empty-list-literal\r\n ;\r\n ; \"toMap e : t\"\r\n ;\r\n ; NOTE: Backtrack if parsing this alternative fails since we can't tell\r\n ; from the keyword whether there will be a type annotation or not\r\n / toMap whsp1 import-expression whsp \":\" whsp1 expression\r\n ;\r\n ; \"assert : Natural/even 1 === False\"\r\n / assert whsp \":\" whsp1 expression\r\n ;\r\n ; \"x : t\"\r\n / annotated-expression\r\n\r\n; Nonempty-whitespace to disambiguate `env:VARIABLE` from type annotations\r\nannotated-expression = operator-expression [ whsp \":\" whsp1 expression ]\r\n\r\n; \"let x = e1\"\r\nlet-binding = let whsp1 nonreserved-label whsp [ \":\" whsp1 expression whsp ] \"=\" whsp expression whsp1\r\n\r\n; \"[] : t\"\r\nempty-list-literal =\r\n \"[\" whsp [ \",\" whsp ] \"]\" whsp \":\" whsp1 expression\r\n\r\nwith-expression =\r\n import-expression 1*(whsp1 with whsp1 with-clause)\r\n\r\nwith-clause =\r\n with-component *(whsp \".\" whsp with-component) whsp \"=\" whsp operator-expression\r\n\r\noperator-expression = equivalent-expression\r\n\r\n; Nonempty-whitespace to disambiguate `http://a/a?a`\r\nequivalent-expression = import-alt-expression *(whsp equivalent whsp import-alt-expression)\r\nimport-alt-expression = or-expression *(whsp \"?\" whsp1 or-expression)\r\nor-expression = plus-expression *(whsp \"||\" whsp plus-expression)\r\n; Nonempty-whitespace to disambiguate `f +2`\r\nplus-expression = text-append-expression *(whsp \"+\" whsp1 text-append-expression)\r\ntext-append-expression = list-append-expression *(whsp \"++\" whsp list-append-expression)\r\nlist-append-expression = and-expression *(whsp \"#\" whsp and-expression)\r\nand-expression = combine-expression *(whsp \"&&\" whsp combine-expression)\r\ncombine-expression = prefer-expression *(whsp combine whsp prefer-expression)\r\nprefer-expression = combine-types-expression *(whsp prefer whsp combine-types-expression)\r\ncombine-types-expression = times-expression *(whsp combine-types whsp times-expression)\r\ntimes-expression = equal-expression *(whsp \"*\" whsp equal-expression)\r\nequal-expression = not-equal-expression *(whsp \"==\" whsp not-equal-expression)\r\nnot-equal-expression = application-expression *(whsp \"!=\" whsp application-expression)\r\n\r\n\r\n; Import expressions need to be separated by some whitespace, otherwise there\r\n; would be ambiguity: `./ab` could be interpreted as \"import the file `./ab`\",\r\n; or \"apply the import `./a` to label `b`\"\r\napplication-expression =\r\n first-application-expression *(whsp1 import-expression)\r\n\r\nfirst-application-expression =\r\n ; \"merge e1 e2\"\r\n merge whsp1 import-expression whsp1 import-expression\r\n ;\r\n ; \"Some e\"\r\n / Some whsp1 import-expression\r\n ;\r\n ; \"toMap e\"\r\n / toMap whsp1 import-expression\r\n ;\r\n ; \"showConstructor e\"\r\n / showConstructor whsp1 import-expression\r\n ;\r\n / import-expression\r\n\r\nimport-expression = import / completion-expression\r\n\r\ncompletion-expression =\r\n selector-expression [ whsp complete whsp selector-expression ]\r\n\r\n; `record.field` extracts one field of a record\r\n;\r\n; `record.{ field0, field1, field2 }` projects out several fields of a record\r\n;\r\n; NOTE: Backtrack when parsing the `*(\".\" ...)`. The reason why is that you\r\n; can't tell from parsing just the period whether \"foo.\" will become \"foo.bar\"\r\n; (i.e. accessing field `bar` of the record `foo`) or `foo./bar` (i.e. applying\r\n; the function `foo` to the relative path `./bar`)\r\nselector-expression = primitive-expression *(whsp \".\" whsp selector)\r\n\r\nselector = any-label / labels / type-selector\r\n\r\nlabels =\r\n \"{\" whsp [ \",\" whsp ] [ any-label-or-some whsp *(\",\" whsp any-label-or-some whsp) [ \",\" whsp ] ] \"}\"\r\n\r\ntype-selector = \"(\" whsp expression whsp \")\"\r\n; NOTE: Backtrack when parsing the first three alternatives (i.e. the numeric\r\n; literals). This is because they share leading characters in common\r\nprimitive-expression =\r\n temporal-literal\r\n ;\r\n ; \"2.0\"\r\n / double-literal\r\n ;\r\n ; \"2\"\r\n / natural-literal\r\n ;\r\n ; \"+2\"\r\n / integer-literal\r\n ;\r\n ; '\"ABC\"'\r\n / text-literal\r\n ;\r\n ; '0x\"01234567689abcdef\"'\r\n / bytes-literal\r\n ;\r\n ; \"{ foo = 1 , bar = True }\"\r\n ; \"{ foo : Integer, bar : Bool }\"\r\n / \"{\" whsp [ \",\" whsp ] record-type-or-literal whsp \"}\"\r\n ;\r\n ; \"< Foo : Integer | Bar : Bool >\"\r\n ; \"< Foo | Bar : Bool >\"\r\n / \"<\" whsp [ \"|\" whsp ] union-type whsp \">\"\r\n ;\r\n ; \"[1, 2, 3]\"\r\n / non-empty-list-literal\r\n ;\r\n ; \"x\"\r\n ; \"x@2\"\r\n / identifier\r\n ;\r\n ; \"( e )\"\r\n / \"(\" complete-expression \")\"\r\n\r\n\r\nrecord-type-or-literal =\r\n empty-record-literal\r\n / [non-empty-record-type-or-literal]\r\n\r\nempty-record-literal = \"=\" [ whsp \",\" ]\r\n\r\nnon-empty-record-type-or-literal =\r\n (non-empty-record-type / non-empty-record-literal)\r\n\r\nnon-empty-record-type =\r\n record-type-entry *(whsp \",\" whsp record-type-entry) [ whsp \",\" ]\r\n\r\nrecord-type-entry = any-label-or-some whsp \":\" whsp1 expression\r\n\r\nnon-empty-record-literal =\r\n record-literal-entry *(whsp \",\" whsp record-literal-entry) [ whsp \",\" ]\r\n\r\n; If the `record-literal-normal-entry` is absent, that represents a punned\r\n; record entry, such as in `{ x }`, which is a short-hand for `{ x = x }`\r\nrecord-literal-entry =\r\n any-label-or-some [record-literal-normal-entry]\r\n\r\nrecord-literal-normal-entry =\r\n *(whsp \".\" whsp any-label-or-some) whsp \"=\" whsp expression\r\n\r\n; If the `union-type-entry` is absent, that represents an empty union\r\n; alternative, such as in `< Heads | Tails >`\r\nunion-type =\r\n [union-type-entry *(whsp \"|\" whsp union-type-entry) [ whsp \"|\" ]]\r\n\r\n; x : Natural\r\n; x\r\nunion-type-entry = any-label-or-some [ whsp \":\" whsp1 expression ]\r\n\r\n\r\nnon-empty-list-literal =\r\n \"[\" whsp [ \",\" whsp ] expression whsp *(\",\" whsp expression whsp) [ \",\" whsp ] \"]\"\r\n\r\n; We provide special support for the Unix shebang convention, by permitting\r\n; `#!` as a line comment only on the first lines\r\nshebang = \"#!\" *not-end-of-line end-of-line\r\n\r\n; This just adds surrounding whitespace for the top-level of the program\r\ncomplete-expression = *shebang whsp expression whsp [ line-comment-prefix ]\r\n" }
UTF-8
ABNF
35,985
fjolnir
c946507435b3c4f5ea886749ddde0d61693f951c
f03c9947971db13b0b5148b8850a9b139dde09ff
/Docs/UnusedOld/tranquil.abnf
08a74e1175fdfdbe975075fed7b3b7cf3584d3a6
fjolnir/Tranquil
{ "content": "; Grammar\n\nROOT = EXPR CRLF CRLF [ROOT]\n\nARG_NAME = IDENTIFIER\nARGS = EXPR [ [ARG_NAME] COLON ARGS ]\nCALL = EXPR [COLON ARGS] SEMICOLON\n\nBLOCK = LBRACE [ ARG_DEFS PIPE ] CRLF EXPR CRLF RBRACE\nARG_DEFS = ARG_DEF [ [ARG_NAME] COLON ARG_DEFS ]\nARG_DEF = IDENTIFIER\n\nVAR_DEF = VAR OP_ASGN EXPR\nVAR = IDENTIFIER\n\nEXPR = CALL\n / LITERAL\n / VAR\n / VAR_DEF\n / BLOCK\n / LPAREN EXPR RPAREN\n / OBJ_ACCESS\n / OBJ\n\nOBJ_MEMBER = IDENTIFIER OP_ASGN EXPR\nOBJ_MEMBERS = OBJ_MEMBER [COMMA OBJ_MEMBERS]\nOBJ = LBRACKET [OBJ_MEMBERS] RBRACKET CRLF\n\nOBJ_ACCESS = VAR DOT IDENTIFIER\n\nLITERAL = NUMBER\n / STRING\n\n; Tokens\n\nLPAREN = '('\nRPAREN = ')'\nLBRACE = '{'\nRBRACE = '}'\nLBRACKET = '['\nRBRACKET = ']'\n\nCOLON = ':'\nSEMICOLON = ';'\nPIPE = '|'\nDOT = '.'\nCOMMA = ','\n\nOP_ASGN = \"=\"\n\nNUMBER = 1*3DIGIT\n / 1*3DIGIT\".\"1*3DIGIT\n\nSTRING = '\"string\"'\n / \"'\" 'string' \"'\"\n\nIDENTIFIER = 'identifier'\n" }
UTF-8
ABNF
1,278
colonel1435
f07115cf8f1bd6b56cf92fc2a75e7a84e2f14288
5e7373aeb1db9ff53e7516e02af1ead222bbe81c
/app/src/main/assets/jinglutong_grammar.abnf
1d16b70d7e138ed6936a35d656c756bfe76992ec
colonel1435/iflyVoiceDemo
{ "content": "#ABNF 1.0 UTF-8;\nlanguage zh-CN; \nmode voice;\n\nroot $main;\n$main = [$prefix] [$id] $device;\n$prefix = 上|下|调;\n$id = [$digit <1-4>];\n$name = 信号楼|信号机|道岔|电缆号|轨道电路;\n" }
UTF-8
ABNF
196
DevBoost
bbc6afd0bd4d53a4d0aa37c9928965b3bfc2056c
d483a4e01eacfddee8078beffe19d6c54b59f380
/Inhabitants/ABNF/org.emftext.language.abnf.test/input/test.abnf
31ee15ec3c00fd3df6afdc06a357e85c05ee2293
DevBoost/EMFText-Zoo
{ "content": "rule1 = \"a\"\r\n\r\nrule2 = %x20\r\n\r\nrule2 = %x20 %x21\r\n\r\nrule3 = rule1 rule2 rule3\r\n\r\nrule4 = rule1\r\n\trule2\r\n\t\r\n" }
UTF-8
ABNF
107
Macecaski
fc8cac20c564c4103740cb5659e7ac2b7a9674ad
af04c0933e0f1976b831b9e52bf9edd04f25c158
/grammars/daty.abnf
723404211fcc6e60ea95177e7fd411d23a0b5843
Macecaski/projektTMy3
{ "content": "#ABNF 1.0;\r\nlanguage pl-pl;\r\nmode voice;\r\nroot $root;\r\ntag-format <semantics/1.0-literals>;\r\n\r\n$root = ($dzień1 $miesiąc $rok) | ($dzień2 $dzień2 $miesiąc $rok) | ($wróć) | $anuluj;\r\n\r\n$dzień1 = pierwszy {01} | drugi {02} | trzeci {03} | czwarty {04} | piąty {05} | szósty {06} | siódmy {07} | ósmy {08} | dziewiąty {09} | dziesiąty {10} | jedenasty {11} | dwunasty {12} | trzynasty{13} | czternasty{14} | piętnasty {15} | szesnasty {16} | siedemnasty {17} | osiemnasty {18} | dziewietnasty {19} | dwudziesty {20} | trzydziesty {30};\r\n$dzień2 = pierwszy {1} | drugi {2} | trzeci {3} | czwarty {4} | piąty {5} | szósty {6} | siódmy {7} | ósmy {8} | dziewiąty {9} | dwudziesty {2} | trzydziesty {3};\r\n\r\n$miesiąc = stycznia {stycznia} | lutego {lutego} | marca {marca} | kwietnia {kwietnia} | maja {maja} | czerwca {czerwca} | lipca {lipca} | sierpnia {sierpnia} | września {września} | października {października} | listopada {listopada} | grudnia {grudnia};\r\n\r\n$rok = $tysiące1 | $tysiące2 $setki1 $dziesiątki1 $jednostki | $tysiące2 $setki3 | $tysiące4 $jednostki | $tysiące3 $dziesiątki2 | $tysiące2 $setki1 $dziesiątki2 | $tysiące2 $setki2 $jednostki | $tysiące3 $dziesiątki1 $jednostki;\r\n\r\n$tysiące1 = tysięcznego {1000} | dwutysięcznego {2000};\r\n\r\n$tysiące2 = tysiąc {1} | dwatysiące {2};\r\n\r\n$tysiące3 = tysiąc {10}| dwatysiące {20};\r\n\r\n$tysiące4 = tysiąc{100}| dwatysiące {200};\r\n\r\n$setki1 = sto {1} | dwieście {2} | trzysta {3} | czterysta {4} | pięćset {5} | sześćset {6} | siedemset {7} | osiemset{8} | dziewięćset {9};\r\n\r\n$setki2 = sto {10} | dwieście {20} | trzysta {30} | czterysta {40} | pięćset {50} | sześćset {60} | siedemset {70} | osiemset {80} | dziewięćset {90};\r\n\r\n$setki3 = setnego {100} | dwusetnego {200} | trzysetnego {300} | czterysetnego {400} | pięćsetnego {500} | sześćsetnego {600} | siedemsetnego {700} | osiemsetnego{800} | dziewięćsetnego {900};\r\n\r\n$dziesiątki1 = dwudziestego {2}| trzydziestego {3} | czterdziestego {4} | pięćdziesiątego {5} | sześćdziesiątego {6}| siedemdziesiątego {7}| osiemdziesiątego {8} | dziewięćdziesiątego {9};\r\n\r\n$dziesiątki2 = dziesiątego {10} | jedenastego{11} | dwunastego {12} | trzynastego {13} | czternastego {14} | piętnastego {15} | szesnastego {16} | siedemnastego {17} |osiemnastego {18} | dziewietnastego {19} | dwudziestego {20} | trzydziestego {30} |czterdziestego {40} | pięćdziesiątego {50} | sześćdziesiątego {60} | siedemdziesiątego {70} | osiemdziesiątego {80} |dziewięćdziesiątego {90};\r\n\r\n$jednostki = pierwszego {1} | drugiego {2} | trzeciego {3} | czwartego {4} | piątego {5} | szóstego {6}| siódmego {7} | ósmego {8} | dziewiątego {9};\r\n\r\n$wróć = (wróć | cofnij) {wróć};\r\n\r\n$anuluj = (anuluj | wyjdź | zamknij | zakończ) {anuluj};" }
UTF-8
ABNF
2,823
jmitchell
7712c6ee3277090c7f362403c55864d91c6fd536
02a4a8ea98638ff0962c804a18f0643a56a8ca0a
/examples/abnf/generated/core_DIGIT.abnf
019ba8152764527431634340a97bf42e1f7b7932
jmitchell/abnf-to-tree-sitter
{ "content": "start = DIGIT\r\n" }
UTF-8
ABNF
15
milewg
4a47215946b396d46da90d8f17615b9a63ba79f3
59cb28371d088d85227d86eb2ea521a73423963e
/cddl-0.8.8/data/cddl.abnf
0c8bebd44aab3fb48f858a5353c311a3ae7dbf68
milewg/cddl_validator
{ "content": "cddl = S 1*rule\nrule = typename [genericparm] S assign S type S\n / groupname [genericparm] S assign S grpent S\n\ntypename = id\ngroupname = id\n\nassign = \"=\" / \"/=\" / \"//=\"\n\ngenericparm = \"<\" S id S *(\",\" S id S ) \">\"\ngenericarg = \"<\" S type1 S *(\",\" S type1 S ) \">\"\n\ntype = type1 S *(\"/\" S type1 S)\n\ntype1 = type2 [S (rangeop / annotator) S type2]\n / \"#\" \"6\" [\".\" uint] \"(\" S type S \")\" ; note no space!\n / \"#\" DIGIT [\".\" uint] ; major/ai\n / \"#\" ; any\n / \"{\" S group S \"}\"\n / \"[\" S group S \"]\"\n / \"&\" S \"(\" S group S \")\"\n / \"&\" S groupname [genericarg]\n\ntype2 = value\n / typename [genericarg]\n / \"(\" type \")\"\n\nrangeop = \"...\" / \"..\"\n\nannotator = \".\" id\n\ngroup = grpchoice S *(\"//\" S grpchoice S)\n\ngrpchoice = *grpent\n\ngrpent = [occur S] [memberkey S] type optcom\n / [occur S] groupname [genericarg] optcom ; preempted by above\n / [occur S] \"(\" S group S \")\" optcom\n\nmemberkey = type1 S \"=>\"\n / bareword S \":\"\n / value S \":\"\n\nbareword = id\n\noptcom = S [\",\" S]\n\noccur = [uint] \"*\" [uint]\n / \"+\"\n / \"?\"\n\nuint = DIGIT1 *DIGIT\n / \"0x\" 1*HEXDIG\n / \"0b\" 1*BINDIG\n / \"0\"\n\nvalue = number\n / text\n / bytes\n\nint = [\"-\"] uint\n\n; This is a float if it has fraction or exponent; int otherwise\nnumber = int [\".\" fraction] [\"e\" exponent ]\nfraction = 1*DIGIT\nexponent = int\n\ntext = %x22 *SCHAR %x22\nSCHAR = %x20-21 / %x23-7E / SESC\nSESC = \"\\\" %x20-7E\n\nbytes = [bsqual] %x27 *BCHAR %x27\nBCHAR = %x20-26 / %x28-7E / SESC / CRLF\nbsqual = %x68 ; \"h\"\n / %x62.36.34 ; \"b64\"\n\nid = EALPHA *(*(\"-\" / \".\") (EALPHA / DIGIT))\nALPHA = %x41-5A / %x61-7A\nEALPHA = %x41-5A / %x61-7A / \"@\" / \"_\" / \"$\"\nDIGIT = %x30-39\nDIGIT1 = %x31-39\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\nBINDIG = %x30-31\n\nS = *WS\nWS = SP / NL\nSP = %x20\nNL = COMMENT / CRLF\nCOMMENT = \";\" *(SP / VCHAR) CRLF\nVCHAR = %x21-7E\nCRLF = %x0A / %x0D.0A\n\n" }
UTF-8
ABNF
1,948
jmitchell
d2085df66008396e07588ca6466a345f7dcf23e6
02a4a8ea98638ff0962c804a18f0643a56a8ca0a
/examples/abnf/generated/core_VCHAR.abnf
a11a210267e7ed31c73c52f6c2b59532c5eb48ea
jmitchell/abnf-to-tree-sitter
{ "content": "start = VCHAR\r\n" }
UTF-8
ABNF
15
sainteos
4123c8f62ea07fea77a9620181b1c4a07efb952c
2d6428cca481f832b816bfe97db650bbaa4e04c0
/test/resources/path.abnf
d5d2713d227731a5b5c34f20c31c42e23211d326
sainteos/ex_abnf
{ "content": "ALPHA = %x61-7A ; A-Z / a-z\r\npath = *(\"/\" segment)\r\nsegment = ALPHA *ALPHA !!!\r\n {:ok, state ++ [rule]}\r\n!!!\r\n" }
UTF-8
ABNF
123
bver
f8502db805ac5c6e603ce774200bd771743e8c2f
6d0832b3aae9e1efe02476217a3b391990ddd0fb
/test/data/simple_file.abnf
87630da955deeb481f62333201b8b689dca1c631
bver/GERET
{ "content": "; test for Abnf::File class\nexpr = \"x\" / \"y\" / \"(\" expr op expr \")\"\nop = \"+\" / \"*\"\n\n" }
UTF-8
ABNF
84
manifoldfinance
bbe6512ac3ec3cfeb29ef130efa2aa945f1c97ef
e7f4b5a08534ba3711da9d40af450afb092f041e
/grammar.abnf
a72573835d6dedbaa774c1596ad27426981df577
manifoldfinance/scim-query-filter-parser-js
{ "content": "filter = infixLogicalExpression / expression\n\nexpression = precedenceGroup / attributeGroup / prefixLogicalExpression / postfixAssertion / infixAssertion\n\nprecedenceGroup = \"(\" filter \")\"\n\nattributeGroup = attributePath \"[\" filter \"]\"\n\nprefixLogicalExpression = prefixLogicalExpressionOperator precedenceGroup\nprefixLogicalExpressionOperator = \"not\"\n\ninfixLogicalExpression = expression 1*infixLogicalExpressionPredicate\ninfixLogicalExpressionPredicate = (SP infixLogicalExpressionOperator SP expression)\ninfixLogicalExpressionOperator = \"and\" / \"or\"\n\npostfixAssertion = attributePath SP postfixAssertionOperator\npostfixAssertionOperator = \"pr\"\n\ninfixAssertion = attributePath SP infixAssertionOperator SP infixAssertionValue\ninfixAssertionOperator = \"eq\" / \"ne\" / \"co\" / \"sw\" / \"ew\" / \"gt\" / \"lt\" / \"ge\" / \"le\"\ninfixAssertionValue = null / true / false / number / string\n\nattributePath = [URI \":\"] attributePathSegment *(\".\" attributePathSegment)\nattributePathSegment = ALPHA *(\"-\" / \"_\" / DIGIT / ALPHA)\n\n; rfc7159\nfalse = %x66.61.6c.73.65 ; false\nnull = %x6e.75.6c.6c ; null\ntrue = %x74.72.75.65 ; true\nnumber = [ minus ] int [ frac ] [ exp ]\ndecimal-point = %x2E ; .\ndigit1-9 = %x31-39 ; 1-9\ne = %x65 / %x45 ; e E\nexp = e [ minus / plus ] 1*DIGIT\nfrac = decimal-point 1*DIGIT\nint = zero / ( digit1-9 *DIGIT )\nminus = %x2D ; -\nplus = %x2B ; +\nzero = %x30 ; 0\nstring = quotation-mark *char quotation-mark\nchar = unescaped /\n escape (\n %x22 / ; \" quotation mark U+0022\n %x5C / ; \\ reverse solidus U+005C\n %x2F / ; / solidus U+002F\n %x62 / ; b backspace U+0008\n %x66 / ; f form feed U+000C\n %x6E / ; n line feed U+000A\n %x72 / ; r carriage return U+000D\n %x74 / ; t tab U+0009\n %x75 4HEXDIG ) ; uXXXX U+XXXX\n\nescape = %x5C ; \\\nquotation-mark = %x22 ; \"\nunescaped = %x20-21 / %x23-5B / %x5D-10FFFF\n\n; rfc3986\nURI = scheme \":\" hier-part [ \"?\" query ] [ \"#\" fragment ]\n\nhier-part = \"//\" authority path-abempty\n / path-absolute\n / path-rootless\n / path-empty\n\nURI-reference = URI / relative-ref\n\nabsolute-URI = scheme \":\" hier-part [ \"?\" query ]\n\nrelative-ref = relative-part [ \"?\" query ] [ \"#\" fragment ]\n\nrelative-part = \"//\" authority path-abempty\n / path-absolute\n / path-noscheme\n / path-empty\n\nscheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\n\nauthority = [ userinfo \"@\" ] host [ \":\" port ]\nuserinfo = *( unreserved / pct-encoded / sub-delims / \":\" )\nhost = IP-literal / IPv4address / reg-name\nport = *DIGIT\n\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\"\n\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" )\n\nIPv6address = 6( h16 \":\" ) ls32\n / \"::\" 5( h16 \":\" ) ls32\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\n / [ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n / [ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n / [ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\n / [ *4( h16 \":\" ) h16 ] \"::\" ls32\n / [ *5( h16 \":\" ) h16 ] \"::\" h16\n / [ *6( h16 \":\" ) h16 ] \"::\"\n\nh16 = 1*4HEXDIG\nls32 = ( h16 \":\" h16 ) / IPv4address\nIPv4address = dec-octet \".\" dec-octet \".\" dec-octet \".\" dec-octet\n\ndec-octet = DIGIT ; 0-9\n / %x31-39 DIGIT ; 10-99\n / \"1\" 2DIGIT ; 100-199\n / \"2\" %x30-34 DIGIT ; 200-249\n / \"25\" %x30-35 ; 250-255\n\nreg-name = *( unreserved / pct-encoded / sub-delims )\n\npath = path-abempty ; begins with \"/\" or is empty\n / path-absolute ; begins with \"/\" but not \"//\"\n / path-noscheme ; begins with a non-colon segment\n / path-rootless ; begins with a segment\n / path-empty ; zero characters\n\npath-abempty = *( \"/\" segment )\npath-absolute = \"/\" [ segment-nz *( \"/\" segment ) ]\npath-noscheme = segment-nz-nc *( \"/\" segment )\npath-rootless = segment-nz *( \"/\" segment )\npath-empty = 0pchar ; modified from \"path-empty = 0<pchar>\"\n\nsegment = *pchar\nsegment-nz = 1*pchar\nsegment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / \"@\" )\n ; non-zero-length segment without any colon \":\"\n\npchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n\nquery = *( pchar / \"/\" / \"?\" )\n\nfragment = *( pchar / \"/\" / \"?\" )\n\npct-encoded = \"%\" HEXDIG HEXDIG\n\nunreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\nreserved = gen-delims / sub-delims\ngen-delims = \":\" / \"/\" / \"?\" / \"#\" / \"[\" / \"]\" / \"@\"\nsub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n\n; rfc5234\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nSP = %x20\nDIGIT = %x30-39\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n" }
UTF-8
ABNF
5,482
okomeki
9a929058fdd9670faf04b7e08f39df3d898705fc
f418466a107ae03fa5af63bd765a9d80490f7903
/src/main/resources/net/siisise/abnf/rfc/SPF4408.abnf
545a0fc1ead45b3a0317a039c54dd48716ed0c67
okomeki/SoftLibRFC
{ "content": "record = version terms *SP\nversion = \"v=spf1\"\nterms = *( 1*SP ( directive / modifier ) )\ndirective = [ qualifier ] mechanism\nqualifier = \"+\" / \"-\" / \"?\" / \"~\"\nmechanism = ( all / include\n / A / MX / PTR / IP4 / IP6 / exists )\nall = \"all\"\ninclude = \"include\" \":\" domain-spec\nA = \"a\" [ \":\" domain-spec ] [ dual-cidr-length ]\nMX = \"mx\" [ \":\" domain-spec ] [ dual-cidr-length ]\nPTR = \"ptr\" [ \":\" domain-spec ]\nIP4 = \"ip4\" \":\" ip4-network [ ip4-cidr-length ]\nIP6 = \"ip6\" \":\" ip6-network [ ip6-cidr-length ]\nexists = \"exists\" \":\" domain-spec\nmodifier = redirect / explanation / unknown-modifier\nredirect = \"redirect\" \"=\" domain-spec\nexplanation = \"exp\" \"=\" domain-spec\nunknown-modifier = name \"=\" macro-string\nip4-cidr-length = \"/\" 1*DIGIT\nip6-cidr-length = \"/\" 1*DIGIT\ndual-cidr-length = [ ip4-cidr-length ] [ \"/\" ip6-cidr-length ]\nip4-network = qnum \".\" qnum \".\" qnum \".\" qnum\nqnum = DIGIT ; 0-9\n / %x31-39 DIGIT ; 10-99\n / \"1\" 2DIGIT ; 100-199\n / \"2\" %x30-34 DIGIT ; 200-249\n / \"25\" %x30-35 ; 250-255\n ; conventional dotted quad notation. e.g., 192.0.2.0\nip6-network = <as per [RFC 3513], section 2.2>\n ; e.g., 2001:DB8::CD30\ndomain-spec = macro-string domain-end\ndomain-end = ( \".\" toplabel [ \".\" ] ) / macro-expand\ntoplabel = ( *alphanum ALPHA *alphanum ) /\n ( 1*alphanum \"-\" *( alphanum / \"-\" ) alphanum )\n ; LDH rule plus additional TLD restrictions\n ; (see [RFC3696], Section 2)\nalphanum = ALPHA / DIGIT\nexplain-string = *( macro-string / SP )\nmacro-string = *( macro-expand / macro-literal )\nmacro-expand = ( \"%{\" macro-letter transformers *delimiter \"}\" )\n / \"%%\" / \"%_\" / \"%-\"\nmacro-literal = %x21-24 / %x26-7E\n ; visible characters except \"%\"\nmacro-letter = \"s\" / \"l\" / \"o\" / \"d\" / \"i\" / \"p\" / \"h\" /\n \"c\" / \"r\" / \"t\"\ntransformers = *DIGIT [ \"r\" ]\ndelimiter = \".\" / \"-\" / \"+\" / \",\" / \"/\" / \"_\" / \"=\"\nname = ALPHA *( ALPHA / DIGIT / \"-\" / \"_\" / \".\" )\nheader-field = \"Received-SPF:\" [CFWS] result FWS [comment FWS]\n [ key-value-list ] CRLF\nresult = \"Pass\" / \"Fail\" / \"SoftFail\" / \"Neutral\" /\n \"None\" / \"TempError\" / \"PermError\"\nkey-value-list = key-value-pair *( \";\" [CFWS] key-value-pair )\n [\";\"]\nkey-value-pair = key [CFWS] \"=\" ( dot-atom / quoted-string )\nkey = \"client-ip\" / \"envelope-from\" / \"helo\" /\n \"problem\" / \"receiver\" / \"identity\" /\n mechanism / \"x-\" name / name\nidentity = \"mailfrom\" ; for the \"MAIL FROM\" identity\n / \"helo\" ; for the \"HELO\" identity\n / name ; other identities\ndot-atom = <unquoted word as per [RFC2822]>\nquoted-string = <quoted string as per [RFC2822]>\ncomment = <comment string as per [RFC2822]>\nCFWS = <comment or folding white space as per [RFC2822]>\nFWS = <folding white space as per [RFC2822]>\nCRLF = <standard end-of-line token as per [RFC2822]>\n" }
UTF-8
ABNF
3,530
triflicacid
867280a70ce33426f1e7724892bbfe40a4c2b162
5ac907275f3fdac9f9c9ff1857cdb84f37c9823c
/ABNF/tests/eval/string.abnf
eaf53341ef0caafd9dac9b4ca931348f44af7db4
triflicacid/cpp-abnf
{ "content": "var = \"hello\"\n!test var, Hello" }
UTF-8
ABNF
30
bver
fd2ed20c2cde849cd597a67966dab75475f16708
6d0832b3aae9e1efe02476217a3b391990ddd0fb
/sample/ant_trail_tcc/grammar.abnf
7ab0d90a19f39f68662f70a8d1ca1014850c49f5
bver/GERET
{ "content": "; start symbol is <code>\n\ncode = line / code line\n\nline = if-statement / op\n\nif-statement = \"if( food_ahead() ) {\" LF line \"} else {\" LF line \"}\" LF\n\nop = \"left();\" LF / \"right();\" LF / \"move();\" LF\n\n" }
UTF-8
ABNF
200
triflicacid
3382bce0f02897b1de6b44f80d8d8326484adb3f
5ac907275f3fdac9f9c9ff1857cdb84f37c9823c
/ABNF/core.abnf
52efd6abf4aa3ad77e4819cb6f8ccd63b2f7c9c7
triflicacid/cpp-abnf
{ "content": "ALPHA := %x41-5A / %x61-7A ; Upper- and lower-case ASCII letters (A–Z, a–z)\nDIGIT := %x30-39 ; Decimal digits (0–9)\nHEXDIG := DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" ; Hexadecimal digits (0–9, A–F, a-f)\nDQUOTE := %x22 ; Double quotation mark\nSP := %x20 ; Space character\nHTAB := %x9; ; Horizontal tab\nWSP := SP / HTAB ; Whitespace: space or horizontal tab\nLWSP := *(WSP / CRLF WSP) ; Linear whitespace (past newline)\nVCHAR := %x21-7E ; Visible (printing) character\nCHAR := %x01-7F ; Any ASCII character, exluding NUL\nOCTET := %x00-FF ; 8 bits of data\nCTL := %x00-1F / %x7F ; Controls\nCR := %x0D ; Carriage Return\nLF := %x0A ; Linefeed\nCRLF := CR LF ; Internet-standard newline\nBIT := \"0\" / \"1\" ; Binary digit" }
UTF-8
ABNF
720
sevmeyer
89c9996fba61881e5efddfad1d5d81edc6369303
6dc8792cb8d7c35d7afa482978c7e80f82bdc8e3
/GRAMMAR.abnf
b271adc89718ca2969c52a7b6b378ec73c35bd44
sevmeyer/kcv
{ "content": "; KCV 0.1.0 grammar in ABNF notation\n; https://tools.ietf.org/html/rfc5234\n\nkcv = *ws *item [value]\nws = SP / HTAB / CR / LF\nitem = key *ws *(value 1*ws)\nkey = ALPHA *keyCh \":\"\nkeyCh = ALPHA / DIGIT / \"-\" / \".\" / \"_\"\nvalue = bool / number / string\n\nbool = yes / no\nyes = %x79.65.73 ; yes\nno = %x6E.6F ; no\n\nnumber = dec / hex\ndec = int [frac] [exp]\nhex = %x30.78 1*HEXDIG ; 0x\nint = [\"-\"] 1*DIGIT\nfrac = \".\" 1*DIGIT\nexp = \"e\" int\n\nstring = DQUOTE *scalar DQUOTE\nscalar = %x00-21 ; no \"\n / %x23-5B ; no \\\n / %x5D-D7FF ; no surrogates\n / %xE000-10FFFF\n / escape\nescape = \"\\\" escCh\nescCh = DQUOTE\n / \"\\\"\n / %x6E ; n\n / %x72 ; r\n / %x74 ; t\n / %x75 4HEXDIG ; uXXXX\n / %x55 8HEXDIG ; UXXXXXXXX\n" }
UTF-8
ABNF
838
adolfosbh
da97810a9a0abe574fb00a660f055f4ba58eb329
3ee87ef515337cc2997526154a466c0df616e619
/examples/org.gra2mol.example.abnf/examples/astm.abnf
0adb7533bec7ef0d6babd543e850079aab9ff3de
adolfosbh/gra2mol
{ "content": "\nGASTMObject => ! GASTMSourceObject\n=> ! GASTMSemanticObject\n=> ! GASTMSyntaxObject\n;\n\nGASTMSourceObject\n=> SourceFile\n=> SourceLocation\n;\n\nSourceFile -> < pathName : String >\n;\n\nSourceLocation -> < startLine : Integer >\n< startColumn : Integer >\n< endLine : Integer >\n< endColumn : Integer >\ninSourceFile : SourceFile\n;\n\nGASTMSemanticObject\n=> Project\n=> Scope\n;\n\nProject -> files : CompilationUnit +\n[ outerScope : GlobalScope ? ]\n;\n\nScope -> definitionObject : DefinitionObject *\n[ childScope : Scope * ]\n;\n\nScope => FunctionScope\n=> AggregateScope\n=> BlockScope\n=> ProgramScope\n=> GlobalScope\n;\n\nGASTMSyntaxObject\n-> locationInfo : SourceLocation\npreProcessorElements : PreprocessorElement *\nannotations : AnnotationExpression *\n;\n\nGASTMSyntaxObject\n=> ! PreprocessorElement\n=> ! DefinitionObject\n=> ! Type\n=> ! Expression\n=> ! Statement\n=> ! OtherSyntaxObject\n;\n\nOtherSyntaxObject\n=> Dimension\n=> CompilationUnit\n=> Name\n=> SwitchCase\n=> CatchBlock\n=> ! UnaryOperator\n=> ! BinaryOperator\n=> ! StorageSpecification\n=> ! VirtualSpecification\n=> AccessKind\n=> ! ActualParameter\n=> FunctionMemberAttribute\n=> DerivesFrom\n;\n\nCompilationUnit -> < language : String >\nfragments : DefinitionObject*\n[ opensScope : ProgramScope? ]\n;\n\nName -> < nameString : String >\n;\n\nDefinitionObject\n=> ! DeclarationOrDefinition\n=> TypeDefinition\n=> NameSpaceDefinition\n=> LabelDefinition\n;\n\nDeclarationOrDefinition\n=> ! Definition\n=> ! Declaration\n;\n\nDeclarationOrDefinition\n-> < isRegister : Boolean >\nstorageSpecifiers : StorageSpecification\naccessKind : AccessKind\n< linkageSpecifier : String >\n;\nDefinition ->\nidentifierName : Name\ndefinitionType : TypeReference ?\n;\n\nDefinition => FunctionDefinition\n=> EntryDefinition\n=> ! DataDefinition\n=> EnumLiteralDefinition\n;\n\nDeclaration -> [ defRef : Definition ]\nidentifierName : Name ?\ndeclarationType : TypeReference\n;\n\nDeclaration\n=> FunctionDeclaration\n=> VariableDeclaration\n=> FormalParameterDeclaration\n;\n\nStorageSpecification\n=> External\n=> FunctionPersistent\n=> FileLocal\n=> PerClassMember\n=> NoDef\n;\n\nFunctionDeclaration\n-> formalParameters :\nFormalParameterDeclaration *\nfunctionMemberAttributes :\nFunctionMemberAttributes?\n;\n\nVariableDeclaration\n-> < isMutable : Boolean >\n;\n\nFunctionDefinition\n-> returnType : TypeReference *\nformalParameters : FormalParameterDefinition *\nbody : Statement*\nfunctionMemberAttributes :\nFunctionMemberAttributes?\n[ opensScope : FunctionScope ]\n;\n\nFunctionMemberAttributes\n-> < isFriend : Boolean >\n< isInline : Boolean >\n< isThisConst : Boolean >\nvirtualSpecifier : VirtualSpecification\n;\n\nVirtualSpecification\n=> Virtual\n=> PureVirtual\n=> NonVirtual\n;\n\nEntryDefinition\n-> formalParameters : FormalParameterDefinition*\nbody:Statement*\n;\n\nDataDefinition -> initialValue : Expression?\n< isMutable : Boolean >\n;\n\nDataDefinition => VariableDefinition\n=> FormalParameterDefinition\n=> BitFieldDefinition\n;\n\nBitFieldDefinition\n-> bitFieldSize : Expression\n;\n\nEnumLiteralDefinition\n-> value : Expression?\n;\n\nTypeDefinition -> name : Name\n;\n\nTypeDefinition => NamedTypeDefinition\n=> AggregateTypeDefinition\n;\n\nNamedTypeDefinition\n-> definitionType : NamedType\n;\n\nAggregateTypeDefinition\n-> aggregateType : AggregateType\n;\n\nNameSpaceDefinition\n-> nameSpace : Name\nbody : DefinitionObject+\nnameSpaceType : NameSpaceType\n;\n\nLabelDefinition -> labelName : Name\nlabelType : LabelType\n;\n\nPreprocessorElement\n=> IncludeUnit\n=> MacroCall\n=> MacroDefinition\n=> Comment\n;\n\nIncludeUnit -> file : SourceFile\n;\n\nMacroCall -> refersTo : MacroDefinition\n;\n\nMacroDefinition -> < macroName : String >\n< body : String >\n;\n\nComment -> < text : String >\n;\n\nType -> < isConst : Boolean >\n< isVolatile : Boolean >\n;\n\nType => FunctionType\n=> ! DataType\n=> LabelType\n=> NameSpaceType\n=> ! TypeReference\n;\n\nDataType => ! PrimitiveType\n=> EnumType\n=> ! ConstructedType\n=> ! AggregateType\n=> ExceptionType\n=> ! FormalParameterType\n=> NamedType\n;\n\nPrimitiveType -> < isSigned : Boolean >\n;\n\nPrimitiveType => Void\n=> Byte\n=> ShortInteger\n=> Integer\n=> LongInteger\n=> Float\n=> Double\n=> LongDouble\n=> Character\n=> String\n=> Boolean\n=> WideCharacter\n;\n\nEnumType -> enumLiterals : EnumLiteralDefinition+\n;\n\nConstructedType -> baseType : TypeReference\n;\n\nConstructedType => CollectionType\n=> PointerType\n=> ReferenceType\n=> RangeType\n=> ArrayType\n;\n\nAggregateType -> members : DefinitionObject+\n[ opensScope : AggregateScope ]\n;\n\nAggregateType => StructureType\n=> UnionType\n=> ClassType\n=> AnnotationType\n;\n\nArrayType -> ranks : Dimension+\n;\n\nDimension -> lowBound : Expression?\nhighBound : Expression\n;\n\nFunctionType -> returnType : TypeReference?\nparameterTypes : FormalParameterType*\n;\n\nFormalParameterType\n-> type : TypeReference\n;\n\nFormalParameterType\n=> ByValueFormalParameterType\n=> ByReferenceFormalParameterType\n;\n\nNamedType -> body : Type\n;\n\nClassType -> derivesFrom : DerivesFrom*\n;\n\nDerivesFrom -> < isVirtual : Boolean >\naccessKind : AccessKind\nclassName : NamedType\n;\n\nAccessKind => Public\n=> Protected\n=> Private\n;\n\nTypeReference => UnnamedTypeReference\n=> NamedTypeReference\n;\n\nUnnamedTypeReference\n-> type : Type\n;\n\nNamedTypeReference\n-> name : Name\ntype : TypeDefinition\n;\n\nStatement => ExpressionStatement\n=> JumpStatement\n=> BreakStatement\n=> ContinueStatement\n=> LabeledStatement\n=> BlockStatement\n=> EmptyStatement\n=> IfStatement\n=> SwitchStatement\n=> ReturnStatement\n=> LoopStatement\n=> TryStatement\n=> DeclarationOrDefinitionStatement\n=> ThrowStatement\n=> DeleteStatement\n=> TerminateStatement\n;\n\nDeleteStatement -> operand: Expression\n;\n\nDeclarationOrDefinitionStatement\n-> declOrDefn: DefinitionObject\n;\n\nExpressionStatement\n-> expression : Expression\n;\n\nJumpStatement -> target : Expression\n;\n\nBreakStatement -> target : LabelAccess?\n;\n\nContinueStatement\n-> target : LabelAccess?\n;\n\nLabeledStatement\n-> label : LabelDefinition\nstatement : Statement?\n;\n\nBlockStatement -> subStatements : Statement*\n[ opensScope : BlockScope ]\n;\n\nEmptyStatement ->\n;\n\nIfStatement -> condition : Expression\nthenBody : Statement\nelseBody : Statement?\n;\n\nSwitchStatement -> switchExpression : Expression\ncases : SwitchCase\n;\n\nSwitchCase -> body : Statement+;\nSwitchCase => CaseBlock\n=> DefaultBlock\n;\n\nCaseBlock -> caseExpressions : Expression+\n;\n\nReturnStatement -> returnValue : Expression?\n;\n\nLoopStatement -> condition : Expression\nbody : Statement\n;\n\nLoopStatement => WhileStatement\n=> DoWhileStatement\n=> ! ForStatement\n;\n\nForStatement -> initBody : Expression*\niterationBody : Expression*\n;\n\nForStatement => ForCheckBeforeStatement\n=> ForCheckAfterStatement\n;\n\nTryStatement -> guardedStatement : Statement\ncatchBlocks : CatchBlock*\nfinalStatement : Statement?\n;\n\nCatchBlock -> body : Statement\n;\n\nCatchBlock => TypesCatchBlock\n=> VariableCatchBlock\n;\n\nTypesCatchBlock -> exceptions : Type+\n;\n\nVariableCatchBlock\n-> exceptionVariable : DataDefinition\n;\n\nThrowStatement -> exception : Expression\n;\n\nExpression -> [ expressionType : TypeReference ] ;\n\nExpression => Literal\n=> CastExpression\n=> AggregateExpression\n=> UnaryExpression\n=> BinaryExpression\n=> ConditionalExpression\n=> RangeExpression\n=> FunctionCallExpression\n=> NewExpression\n=> ! NameReference\n=> LabelAccess\n=> ArrayAccess\n=> AnnotationExpression\n;\n\nNameReference => IdentifierReference\n=> ! QualifiedIdentifierReference\n=> TypeQualifiedIdentifierReference\n;\n\nNameReference -> name : Name\nrefersTo : DefinitionObject\n;\n\nArrayAccess -> arrayName : Expression\nsubscripts : Expression+\n;\n\nQualifiedIdentifierReference\n-> qualifiers : Expression\nmember : IdentifierReference\n;\n\nQualifiedIdentifierReference\n=> QualifiedOverPointer \n=> QualifiedOverData\n;\n\nTypeQualifiedIdentifierReference\n-> aggregateType : TypeReference +\nmember : IdentifierReference\n;\n\nLiteral -> < value : String >\n;\n\nLiteral => IntegerlLiteral\n=> StringLiteral\n=> CharLiteral\n=> RealLiteral\n=> BooleanLiteral\n=> BitLiteral\n;\n\nCastExpression -> castType : TypeReference\nexpression : Expression\n;\n\nUnaryExpression -> operator : UnaryOperator\noperand : Expression\n;\n\nUnaryOperator => UnaryPlus\n=> Negate\n=> Not\n=> BitNot\n=> AddressOf\n=> Deref\n=> Increment\n=> Decrement\n=> PostIncrement\n=> PostDecrement\n;\n\nBinaryExpression\n-> operator : BinaryOperator\nleftOperand : Expression\nrightOperand : Expression\n;\n\nBinaryOperator => Add\n=> Subtract\n=> Multiply\n=> Divide\n=> Modulus\n=> Exponent\n=> And\n=> Or\n=> Equal\n=> NotEqual\n=> Greater\n=> NotGreater\n=> Less\n=> NotLess\n=> BitAnd\n=> BitOr\n=> BitXor\n=> BitLeftShift\n=> BitRightShift\n=> Assign\n=> OperatorAssign\n;\n\nOperatorAssign -> operator : BinaryOperator \n;\n\nConditionalExpression\n-> condition : Expression\nonTrueOperand : Expression\nonFalseOperand : Expression\n;\n\nRangeExpression -> fromExpression : Expression\ntoExpression : Expression\n;\n\nFunctionCallExpression\n-> calledFunction : Expression\nactualParams : ActualParameter*\n;\n\nActualParameter\n=> ActualParameterExpression\n=> MissingActualParameter\n;\n\nActualParameterExpression\n-> value : Expression\n;\n\nActualParameterExpression\n=> ByValueActualParameterExpression\n=> ByReferenceActualParameterExpression\n;\n\nNewExpression -> newType : TypeReference\nactualParams : ActualParameter *\n;\n\nLabelAccess -> name : Name\ndefinition : LabelDefinition\n;\n\nAnnotationExpression\n-> annotationType : TypeReference ?\nmemberValues : Expression *\n;\n\nGlobalScope -> ;\nPreprocessorElement -> ;\nDefinitionObject -> ;\nProgramScope -> ;\nTypeReference -> ;\nStatement -> ;\nFunctionScope -> ;\nNameSpaceType -> ;\nLabelType -> ;\nAggregateScope -> ;\nBlockScope -> ;\nIdentifierReference -> ;\nFormalParameterDefinition -> ;\nVirtualSpecification -> ;\nFormalParameterDeclaration -> ;\nVariableDefinition -> ;\n\n" }
UTF-8
ABNF
9,548
okomeki
0496ba7f481ae0e824d843ffb363e262b9c69d7c
f418466a107ae03fa5af63bd765a9d80490f7903
/src/main/resources/net/siisise/abnf/rfc/IMF6854.abnf
17ffe26d4a3d5aee0b8b0ac64287e3eefb43caca
okomeki/SoftLibRFC
{ "content": "from = \"From:\" (mailbox-list / address-list) CRLF\nsender = \"Sender:\" (mailbox / address) CRLF\nreply-to = \"Reply-To:\" address-list CRLF\nresent-from = \"Resent-From:\" (mailbox-list / address-list) CRLF\nresent-sender = \"Resent-Sender:\" (mailbox / address) CRLF\n" }
UTF-8
ABNF
280
core-wg
6371d2dcd5502c08771b0ea109ade74b1187d56f
d3d2fec997bb6ab28fa95846889a2138a72f9e5e
/rfc3986.abnf
cde0650fa42fd9dcceed7317ef4654f33b8cf89b
core-wg/coap-tcp-tls
{ "content": "; host UNDEFINED\n; port UNDEFINED\n; path-abempty UNDEFINED\n; query UNDEFINED\n; fragment UNDEFINED\n\nhost = IP-literal / IPv4address / reg-name\n\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\"\n\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" )\n\nIPv6address = 6( h16 \":\" ) ls32\n / \"::\" 5( h16 \":\" ) ls32\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\n / [ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n / [ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n / [ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\n / [ *4( h16 \":\" ) h16 ] \"::\" ls32\n / [ *5( h16 \":\" ) h16 ] \"::\" h16\n / [ *6( h16 \":\" ) h16 ] \"::\"\n\nls32 = ( h16 \":\" h16 ) / IPv4address\n ; least-significant 32 bits of address\n\nh16 = 1*4HEXDIG\n ; 16 bits of address represented in hexadecimal\n\n\nIPv4address = dec-octet \".\" dec-octet \".\" dec-octet \".\" dec-octet\n\ndec-octet = DIGIT ; 0-9\n / %x31-39 DIGIT ; 10-99\n / \"1\" 2DIGIT ; 100-199\n / \"2\" %x30-34 DIGIT ; 200-249\n / \"25\" %x30-35 ; 250-255\n\n\nreg-name = *( unreserved / pct-encoded / sub-delims )\n\npct-encoded = \"%\" HEXDIG HEXDIG\n\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n\nDIGIT = %x30-39\n ; 0-9\n\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n\nunreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\nsub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n\npath-abempty = *( \"/\" segment )\nsegment = *pchar\npchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n\nport = *DIGIT\n\n\nquery = *( pchar / \"/\" / \"?\" )\n\n\nfragment = *( pchar / \"/\" / \"?\" )\n\n" }
UTF-8
ABNF
1,871
LRC-cheng
d0b2ff58e6d3c14725dd47bbf0c48c0b3abe10a2
3286da760aec4fbc2278eac576a2b843a4310380
/app/src/main/assets/grammar_sample.abnf
a795b990d3047104ceda2e4df6617b665b61320c
LRC-cheng/XunFeiDemo
{ "content": "#ABNF 1.0 UTF-8;\nlanguage zh-CN;\nmode voice;\n\n\nroot $main;\n$main = $place1 到 $place2 ;\n$place1 = 章珊|王武;\n$place2 = 广州|石家庄;" }
UTF-8
ABNF
141
fabbricadigitale
f61bca9d3239de5b2636abbae79994814c21d788
2d6516721636130b9db87aea9498af5c442dae8f
/docs/filter.abnf
202e9744ae0a0a088f9a1d3ceeb83f8f572cef66
fabbricadigitale/scimd
{ "content": "FILTER = attrExp / logExp / valuePath / *1\"not\" \"(\" FILTER \")\"\n ; ABNF rules for filter as per https://tools.ietf.org/html/rfc7644#section-3.4.2.2 (including errata modifications)\n\nvaluePath = attrPath \"[\" valFilter \"]\"\n ; FILTER uses sub-attributes of a parent attrPath\n\nvalFilter = attrExp / valLogExp / *1\"not\" \"(\" valFilter \")\"\n\nvalLogExp = attrExp SP (\"and\" / \"or\") SP attrExp\n\nattrExp = (attrPath SP \"pr\") /\n (attrPath SP compareOp SP compValue)\n\nlogExp = FILTER SP (\"and\" / \"or\") SP FILTER\n\ncompValue = false / null / true / number / string\n ; rules from JSON (RFC 7159)\n\ncompareOp = \"eq\" / \"ne\" / \"co\" /\n \"sw\" / \"ew\" /\n \"gt\" / \"lt\" /\n \"ge\" / \"le\"\n\nattrPath = [URI \":\"] ATTRNAME *1subAttr\n ; SCIM attribute name\n ; URI is SCIM \"schema\" URI\n\nATTRNAME = ALPHA *(nameChar)\n\nnameChar = \"-\" / \"_\" / DIGIT / ALPHA\n\nsubAttr = \".\" ATTRNAME\n ; a sub-attribute of a complex attribute\n\n; URI (\"schema\" URI only)\n\nURI = \"urn:\" NID \":\" NSS\n\nNID = TODO\n\nNSS = TODO\n\n; JSON RFC 7159\n\nfalse = \"false\" ; false %x66.61.6c.73.65\n\nnull = \"null\" ; null %x6e.75.6c.6c\n\ntrue = \"false\" ; true %x74.72.75.65\n\nnumber = [ minus ] int [ frac ] [ exp ]\n\ndecimal-point = %x2E ; .\n\ndigit1-9 = %x31-39 ; 1-9\n\ne = %x65 / %x45 ; e E\n\nexp = e [ minus / plus ] 1*DIGIT\n\nfrac = decimal-point 1*DIGIT\n\nint = zero / ( digit1-9 *DIGIT )\n\nminus = %x2D ; -\n\nplus = %x2B ; +\n\nzero = %x30 ; 0\n\nstring = quotation-mark *char quotation-mark\n\nchar = unescaped /\n escape (\n %x22 / ; \" quotation mark U+0022\n %x5C / ; \\ reverse solidus U+005C\n %x2F / ; / solidus U+002F\n %x62 / ; b backspace U+0008\n %x66 / ; f form feed U+000C\n %x6E / ; n line feed U+000A\n %x72 / ; r carriage return U+000D\n %x74 / ; t tab U+0009\n %x75 4HEXDIG ) ; uXXXX U+XXXX\n\nescape = %x5C ; \\\n\nquotation-mark = %x22 ; \"\n\nunescaped = %x20-21 / %x23-5B / %x5D-10FFFF" }
UTF-8
ABNF
2,248
Gachapen
383f81b1dc3ae0d483711ef8931ef6b609cffbae
28b1e4c031a355e077a7132fe12aa90d255f4c80
/grammar/lsys2.abnf
10cd74e6016d0b005a95c52dce381f819c49d1d8
Gachapen/lsystem
{ "content": "lsystem = axiom productions\naxiom = string\nproductions = 1*20production\nproduction = predecessor successor\npredecessor = variable\nsuccessor = string\nstring = 1*20(symbol / stack)\nstack = \"[\" string \"]\"\nsymbol = variable / operation\nvariable = %x41-55\noperation = \"+\" / \"-\" / \"^\" / \"&\" / \">\" / \"<\"\n" }
UTF-8
ABNF
297
smudgelang
1b80eeb8f7ace595ac7ec1ca16913ef920c46ff1
a5709769103d38d94838a23069b96a8da606e679
/docs/definition/unicode.abnf
1d4d00dbee555ef72cfe13fb71a54bddeb2d3882
smudgelang/smudge
{ "content": ";;;;;;;;;;;;;;;;;;;\n;; Unicode Lexer ;;\n;;;;;;;;;;;;;;;;;;;\n\n;; Visible characters\n; The excluded characters are either below in unicode-nl or unicode-space,\n; control characters, private-use characters, or noncharacters.\nunicode-visible = %x00A1-1679 / %x1681-1FFF / %x200B-202E / %x2030-205E\n / %x2060-2FFF / %x3001-DFFF / %xF900-FDCF / %xFDF0-FFFD\n / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD / %x40000-4FFFD\n / %x50000-5FFFD / %x60000-6FFFD / %x70000-7FFFD / %x80000-8FFFD\n / %x90000-9FFFD / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n / %xD0000-DFFFD / %xE0000-EFFFD\n\n;; Whitespace\nunicode-nl = %x85 / %x2028-2029\n\nunicode-space = %xA0 / %x1680 / %x2000-200A / %x202F / %x205F / %x3000\n\n;; Letters\nunicode-lower = %x00B5 / %x00DF-00F6 / %x00F8-00FF / %x0101 / %x0103 / %x0105\n / %x0107 / %x0109 / %x010B / %x010D / %x010F / %x0111 / %x0113\n / %x0115 / %x0117 / %x0119 / %x011B / %x011D / %x011F / %x0121\n / %x0123 / %x0125 / %x0127 / %x0129 / %x012B / %x012D / %x012F\n / %x0131 / %x0133 / %x0135 / %x0137-0138 / %x013A / %x013C\n / %x013E / %x0140 / %x0142 / %x0144 / %x0146 / %x0148-0149\n / %x014B / %x014D / %x014F / %x0151 / %x0153 / %x0155 / %x0157\n / %x0159 / %x015B / %x015D / %x015F / %x0161 / %x0163 / %x0165\n / %x0167 / %x0169 / %x016B / %x016D / %x016F / %x0171 / %x0173\n / %x0175 / %x0177 / %x017A / %x017C / %x017E-0180 / %x0183\n / %x0185 / %x0188 / %x018C-018D / %x0192 / %x0195 / %x0199-019B\n / %x019E / %x01A1 / %x01A3 / %x01A5 / %x01A8 / %x01AA-01AB\n / %x01AD / %x01B0 / %x01B4 / %x01B6 / %x01B9-01BA / %x01BD-01BF\n / %x01C6 / %x01C9 / %x01CC / %x01CE / %x01D0 / %x01D2 / %x01D4\n / %x01D6 / %x01D8 / %x01DA / %x01DC-01DD / %x01DF / %x01E1\n / %x01E3 / %x01E5 / %x01E7 / %x01E9 / %x01EB / %x01ED\n / %x01EF-01F0 / %x01F3 / %x01F5 / %x01F9 / %x01FB / %x01FD\n / %x01FF / %x0201 / %x0203 / %x0205 / %x0207 / %x0209 / %x020B\n / %x020D / %x020F / %x0211 / %x0213 / %x0215 / %x0217 / %x0219\n / %x021B / %x021D / %x021F / %x0221 / %x0223 / %x0225 / %x0227\n / %x0229 / %x022B / %x022D / %x022F / %x0231 / %x0233-0239\n / %x023C / %x023F-0240 / %x0242 / %x0247 / %x0249 / %x024B\n / %x024D / %x024F-0293 / %x0295-02AF / %x0371 / %x0373 / %x0377\n / %x037B-037D / %x0390 / %x03AC-03CE / %x03D0-03D1 / %x03D5-03D7\n / %x03D9 / %x03DB / %x03DD / %x03DF / %x03E1 / %x03E3 / %x03E5\n / %x03E7 / %x03E9 / %x03EB / %x03ED / %x03EF-03F3 / %x03F5\n / %x03F8 / %x03FB-03FC / %x0430-045F / %x0461 / %x0463 / %x0465\n / %x0467 / %x0469 / %x046B / %x046D / %x046F / %x0471 / %x0473\n / %x0475 / %x0477 / %x0479 / %x047B / %x047D / %x047F / %x0481\n / %x048B / %x048D / %x048F / %x0491 / %x0493 / %x0495 / %x0497\n / %x0499 / %x049B / %x049D / %x049F / %x04A1 / %x04A3 / %x04A5\n / %x04A7 / %x04A9 / %x04AB / %x04AD / %x04AF / %x04B1 / %x04B3\n / %x04B5 / %x04B7 / %x04B9 / %x04BB / %x04BD / %x04BF / %x04C2\n / %x04C4 / %x04C6 / %x04C8 / %x04CA / %x04CC / %x04CE-04CF\n / %x04D1 / %x04D3 / %x04D5 / %x04D7 / %x04D9 / %x04DB / %x04DD\n / %x04DF / %x04E1 / %x04E3 / %x04E5 / %x04E7 / %x04E9 / %x04EB\n / %x04ED / %x04EF / %x04F1 / %x04F3 / %x04F5 / %x04F7 / %x04F9\n / %x04FB / %x04FD / %x04FF / %x0501 / %x0503 / %x0505 / %x0507\n / %x0509 / %x050B / %x050D / %x050F / %x0511 / %x0513 / %x0515\n / %x0517 / %x0519 / %x051B / %x051D / %x051F / %x0521 / %x0523\n / %x0525 / %x0527 / %x0529 / %x052B / %x052D / %x052F\n / %x0560-0588 / %x10D0-10FA / %x10FD-10FF / %x13F8-13FD\n / %x1C80-1C88 / %x1D00-1D2B / %x1D6B-1D77 / %x1D79-1D9A\n / %x1E01 / %x1E03 / %x1E05 / %x1E07 / %x1E09 / %x1E0B / %x1E0D\n / %x1E0F / %x1E11 / %x1E13 / %x1E15 / %x1E17 / %x1E19 / %x1E1B\n / %x1E1D / %x1E1F / %x1E21 / %x1E23 / %x1E25 / %x1E27 / %x1E29\n / %x1E2B / %x1E2D / %x1E2F / %x1E31 / %x1E33 / %x1E35 / %x1E37\n / %x1E39 / %x1E3B / %x1E3D / %x1E3F / %x1E41 / %x1E43 / %x1E45\n / %x1E47 / %x1E49 / %x1E4B / %x1E4D / %x1E4F / %x1E51 / %x1E53\n / %x1E55 / %x1E57 / %x1E59 / %x1E5B / %x1E5D / %x1E5F / %x1E61\n / %x1E63 / %x1E65 / %x1E67 / %x1E69 / %x1E6B / %x1E6D / %x1E6F\n / %x1E71 / %x1E73 / %x1E75 / %x1E77 / %x1E79 / %x1E7B / %x1E7D\n / %x1E7F / %x1E81 / %x1E83 / %x1E85 / %x1E87 / %x1E89 / %x1E8B\n / %x1E8D / %x1E8F / %x1E91 / %x1E93 / %x1E95-1E9D / %x1E9F\n / %x1EA1 / %x1EA3 / %x1EA5 / %x1EA7 / %x1EA9 / %x1EAB / %x1EAD\n / %x1EAF / %x1EB1 / %x1EB3 / %x1EB5 / %x1EB7 / %x1EB9 / %x1EBB\n / %x1EBD / %x1EBF / %x1EC1 / %x1EC3 / %x1EC5 / %x1EC7 / %x1EC9\n / %x1ECB / %x1ECD / %x1ECF / %x1ED1 / %x1ED3 / %x1ED5 / %x1ED7\n / %x1ED9 / %x1EDB / %x1EDD / %x1EDF / %x1EE1 / %x1EE3 / %x1EE5\n / %x1EE7 / %x1EE9 / %x1EEB / %x1EED / %x1EEF / %x1EF1 / %x1EF3\n / %x1EF5 / %x1EF7 / %x1EF9 / %x1EFB / %x1EFD / %x1EFF-1F07\n / %x1F10-1F15 / %x1F20-1F27 / %x1F30-1F37 / %x1F40-1F45\n / %x1F50-1F57 / %x1F60-1F67 / %x1F70-1F7D / %x1F80-1F87\n / %x1F90-1F97 / %x1FA0-1FA7 / %x1FB0-1FB4 / %x1FB6-1FB7\n / %x1FBE / %x1FC2-1FC4 / %x1FC6-1FC7 / %x1FD0-1FD3 / %x1FD6-1FD7\n / %x1FE0-1FE7 / %x1FF2-1FF4 / %x1FF6-1FF7 / %x210A / %x210E-210F\n / %x2113 / %x212F / %x2134 / %x2139 / %x213C-213D / %x2146-2149\n / %x214E / %x2184 / %x2C30-2C5E / %x2C61 / %x2C65-2C66 / %x2C68\n / %x2C6A / %x2C6C / %x2C71 / %x2C73-2C74 / %x2C76-2C7B / %x2C81\n / %x2C83 / %x2C85 / %x2C87 / %x2C89 / %x2C8B / %x2C8D / %x2C8F\n / %x2C91 / %x2C93 / %x2C95 / %x2C97 / %x2C99 / %x2C9B / %x2C9D\n / %x2C9F / %x2CA1 / %x2CA3 / %x2CA5 / %x2CA7 / %x2CA9 / %x2CAB\n / %x2CAD / %x2CAF / %x2CB1 / %x2CB3 / %x2CB5 / %x2CB7 / %x2CB9\n / %x2CBB / %x2CBD / %x2CBF / %x2CC1 / %x2CC3 / %x2CC5 / %x2CC7\n / %x2CC9 / %x2CCB / %x2CCD / %x2CCF / %x2CD1 / %x2CD3 / %x2CD5\n / %x2CD7 / %x2CD9 / %x2CDB / %x2CDD / %x2CDF / %x2CE1\n / %x2CE3-2CE4 / %x2CEC / %x2CEE / %x2CF3 / %x2D00-2D25 / %x2D27\n / %x2D2D / %xA641 / %xA643 / %xA645 / %xA647 / %xA649 / %xA64B\n / %xA64D / %xA64F / %xA651 / %xA653 / %xA655 / %xA657 / %xA659\n / %xA65B / %xA65D / %xA65F / %xA661 / %xA663 / %xA665 / %xA667\n / %xA669 / %xA66B / %xA66D / %xA681 / %xA683 / %xA685 / %xA687\n / %xA689 / %xA68B / %xA68D / %xA68F / %xA691 / %xA693 / %xA695\n / %xA697 / %xA699 / %xA69B / %xA723 / %xA725 / %xA727 / %xA729\n / %xA72B / %xA72D / %xA72F-A731 / %xA733 / %xA735 / %xA737\n / %xA739 / %xA73B / %xA73D / %xA73F / %xA741 / %xA743 / %xA745\n / %xA747 / %xA749 / %xA74B / %xA74D / %xA74F / %xA751 / %xA753\n / %xA755 / %xA757 / %xA759 / %xA75B / %xA75D / %xA75F / %xA761\n / %xA763 / %xA765 / %xA767 / %xA769 / %xA76B / %xA76D / %xA76F\n / %xA771-A778 / %xA77A / %xA77C / %xA77F / %xA781 / %xA783\n / %xA785 / %xA787 / %xA78C / %xA78E / %xA791 / %xA793-A795\n / %xA797 / %xA799 / %xA79B / %xA79D / %xA79F / %xA7A1 / %xA7A3\n / %xA7A5 / %xA7A7 / %xA7A9 / %xA7AF / %xA7B5 / %xA7B7 / %xA7B9\n / %xA7FA / %xAB30-AB5A / %xAB60-AB65 / %xAB70-ABBF / %xFB00-FB06\n / %xFB13-FB17 / %xFF41-FF5A / %x10428-1044F / %x104D8-104FB\n / %x10CC0-10CF2 / %x118C0-118DF / %x16E60-16E7F / %x1D41A-1D433\n / %x1D44E-1D454 / %x1D456-1D467 / %x1D482-1D49B / %x1D4B6-1D4B9\n / %x1D4BB / %x1D4BD-1D4C3 / %x1D4C5-1D4CF / %x1D4EA-1D503\n / %x1D51E-1D537 / %x1D552-1D56B / %x1D586-1D59F / %x1D5BA-1D5D3\n / %x1D5EE-1D607 / %x1D622-1D63B / %x1D656-1D66F / %x1D68A-1D6A5\n / %x1D6C2-1D6DA / %x1D6DC-1D6E1 / %x1D6FC-1D714 / %x1D716-1D71B\n / %x1D736-1D74E / %x1D750-1D755 / %x1D770-1D788 / %x1D78A-1D78F\n / %x1D7AA-1D7C2 / %x1D7C4-1D7C9 / %x1D7CB / %x1E922-1E943\n\nunicode-upper = %x00C0-00D6 / %x00D8-00DE / %x0100 / %x0102 / %x0104 / %x0106\n / %x0108 / %x010A / %x010C / %x010E / %x0110 / %x0112 / %x0114\n / %x0116 / %x0118 / %x011A / %x011C / %x011E / %x0120 / %x0122\n / %x0124 / %x0126 / %x0128 / %x012A / %x012C / %x012E / %x0130\n / %x0132 / %x0134 / %x0136 / %x0139 / %x013B / %x013D / %x013F\n / %x0141 / %x0143 / %x0145 / %x0147 / %x014A / %x014C / %x014E\n / %x0150 / %x0152 / %x0154 / %x0156 / %x0158 / %x015A / %x015C\n / %x015E / %x0160 / %x0162 / %x0164 / %x0166 / %x0168 / %x016A\n / %x016C / %x016E / %x0170 / %x0172 / %x0174 / %x0176\n / %x0178-0179 / %x017B / %x017D / %x0181-0182 / %x0184\n / %x0186-0187 / %x0189-018B / %x018E-0191 / %x0193-0194\n / %x0196-0198 / %x019C-019D / %x019F-01A0 / %x01A2 / %x01A4\n / %x01A6-01A7 / %x01A9 / %x01AC / %x01AE-01AF / %x01B1-01B3\n / %x01B5 / %x01B7-01B8 / %x01BC / %x01C4 / %x01C7 / %x01CA\n / %x01CD / %x01CF / %x01D1 / %x01D3 / %x01D5 / %x01D7 / %x01D9\n / %x01DB / %x01DE / %x01E0 / %x01E2 / %x01E4 / %x01E6 / %x01E8\n / %x01EA / %x01EC / %x01EE / %x01F1 / %x01F4 / %x01F6-01F8\n / %x01FA / %x01FC / %x01FE / %x0200 / %x0202 / %x0204 / %x0206\n / %x0208 / %x020A / %x020C / %x020E / %x0210 / %x0212 / %x0214\n / %x0216 / %x0218 / %x021A / %x021C / %x021E / %x0220 / %x0222\n / %x0224 / %x0226 / %x0228 / %x022A / %x022C / %x022E / %x0230\n / %x0232 / %x023A-023B / %x023D-023E / %x0241 / %x0243-0246\n / %x0248 / %x024A / %x024C / %x024E / %x0370 / %x0372 / %x0376\n / %x037F / %x0386 / %x0388-038A / %x038C / %x038E-038F\n / %x0391-03A1 / %x03A3-03AB / %x03CF / %x03D2-03D4 / %x03D8\n / %x03DA / %x03DC / %x03DE / %x03E0 / %x03E2 / %x03E4 / %x03E6\n / %x03E8 / %x03EA / %x03EC / %x03EE / %x03F4 / %x03F7\n / %x03F9-03FA / %x03FD-042F / %x0460 / %x0462 / %x0464 / %x0466\n / %x0468 / %x046A / %x046C / %x046E / %x0470 / %x0472 / %x0474\n / %x0476 / %x0478 / %x047A / %x047C / %x047E / %x0480 / %x048A\n / %x048C / %x048E / %x0490 / %x0492 / %x0494 / %x0496 / %x0498\n / %x049A / %x049C / %x049E / %x04A0 / %x04A2 / %x04A4 / %x04A6\n / %x04A8 / %x04AA / %x04AC / %x04AE / %x04B0 / %x04B2 / %x04B4\n / %x04B6 / %x04B8 / %x04BA / %x04BC / %x04BE / %x04C0-04C1\n / %x04C3 / %x04C5 / %x04C7 / %x04C9 / %x04CB / %x04CD / %x04D0\n / %x04D2 / %x04D4 / %x04D6 / %x04D8 / %x04DA / %x04DC / %x04DE\n / %x04E0 / %x04E2 / %x04E4 / %x04E6 / %x04E8 / %x04EA / %x04EC\n / %x04EE / %x04F0 / %x04F2 / %x04F4 / %x04F6 / %x04F8 / %x04FA\n / %x04FC / %x04FE / %x0500 / %x0502 / %x0504 / %x0506 / %x0508\n / %x050A / %x050C / %x050E / %x0510 / %x0512 / %x0514 / %x0516\n / %x0518 / %x051A / %x051C / %x051E / %x0520 / %x0522 / %x0524\n / %x0526 / %x0528 / %x052A / %x052C / %x052E / %x0531-0556\n / %x10A0-10C5 / %x10C7 / %x10CD / %x13A0-13F5 / %x1C90-1CBA\n / %x1CBD-1CBF / %x1E00 / %x1E02 / %x1E04 / %x1E06 / %x1E08\n / %x1E0A / %x1E0C / %x1E0E / %x1E10 / %x1E12 / %x1E14 / %x1E16\n / %x1E18 / %x1E1A / %x1E1C / %x1E1E / %x1E20 / %x1E22 / %x1E24\n / %x1E26 / %x1E28 / %x1E2A / %x1E2C / %x1E2E / %x1E30 / %x1E32\n / %x1E34 / %x1E36 / %x1E38 / %x1E3A / %x1E3C / %x1E3E / %x1E40\n / %x1E42 / %x1E44 / %x1E46 / %x1E48 / %x1E4A / %x1E4C / %x1E4E\n / %x1E50 / %x1E52 / %x1E54 / %x1E56 / %x1E58 / %x1E5A / %x1E5C\n / %x1E5E / %x1E60 / %x1E62 / %x1E64 / %x1E66 / %x1E68 / %x1E6A\n / %x1E6C / %x1E6E / %x1E70 / %x1E72 / %x1E74 / %x1E76 / %x1E78\n / %x1E7A / %x1E7C / %x1E7E / %x1E80 / %x1E82 / %x1E84 / %x1E86\n / %x1E88 / %x1E8A / %x1E8C / %x1E8E / %x1E90 / %x1E92 / %x1E94\n / %x1E9E / %x1EA0 / %x1EA2 / %x1EA4 / %x1EA6 / %x1EA8 / %x1EAA\n / %x1EAC / %x1EAE / %x1EB0 / %x1EB2 / %x1EB4 / %x1EB6 / %x1EB8\n / %x1EBA / %x1EBC / %x1EBE / %x1EC0 / %x1EC2 / %x1EC4 / %x1EC6\n / %x1EC8 / %x1ECA / %x1ECC / %x1ECE / %x1ED0 / %x1ED2 / %x1ED4\n / %x1ED6 / %x1ED8 / %x1EDA / %x1EDC / %x1EDE / %x1EE0 / %x1EE2\n / %x1EE4 / %x1EE6 / %x1EE8 / %x1EEA / %x1EEC / %x1EEE / %x1EF0\n / %x1EF2 / %x1EF4 / %x1EF6 / %x1EF8 / %x1EFA / %x1EFC / %x1EFE\n / %x1F08-1F0F / %x1F18-1F1D / %x1F28-1F2F / %x1F38-1F3F\n / %x1F48-1F4D / %x1F59 / %x1F5B / %x1F5D / %x1F5F / %x1F68-1F6F\n / %x1FB8-1FBB / %x1FC8-1FCB / %x1FD8-1FDB / %x1FE8-1FEC\n / %x1FF8-1FFB / %x2102 / %x2107 / %x210B-210D / %x2110-2112\n / %x2115 / %x2119-211D / %x2124 / %x2126 / %x2128 / %x212A-212D\n / %x2130-2133 / %x213E-213F / %x2145 / %x2183 / %x2C00-2C2E\n / %x2C60 / %x2C62-2C64 / %x2C67 / %x2C69 / %x2C6B / %x2C6D-2C70\n / %x2C72 / %x2C75 / %x2C7E-2C80 / %x2C82 / %x2C84 / %x2C86\n / %x2C88 / %x2C8A / %x2C8C / %x2C8E / %x2C90 / %x2C92 / %x2C94\n / %x2C96 / %x2C98 / %x2C9A / %x2C9C / %x2C9E / %x2CA0 / %x2CA2\n / %x2CA4 / %x2CA6 / %x2CA8 / %x2CAA / %x2CAC / %x2CAE / %x2CB0\n / %x2CB2 / %x2CB4 / %x2CB6 / %x2CB8 / %x2CBA / %x2CBC / %x2CBE\n / %x2CC0 / %x2CC2 / %x2CC4 / %x2CC6 / %x2CC8 / %x2CCA / %x2CCC\n / %x2CCE / %x2CD0 / %x2CD2 / %x2CD4 / %x2CD6 / %x2CD8 / %x2CDA\n / %x2CDC / %x2CDE / %x2CE0 / %x2CE2 / %x2CEB / %x2CED / %x2CF2\n / %xA640 / %xA642 / %xA644 / %xA646 / %xA648 / %xA64A / %xA64C\n / %xA64E / %xA650 / %xA652 / %xA654 / %xA656 / %xA658 / %xA65A\n / %xA65C / %xA65E / %xA660 / %xA662 / %xA664 / %xA666 / %xA668\n / %xA66A / %xA66C / %xA680 / %xA682 / %xA684 / %xA686 / %xA688\n / %xA68A / %xA68C / %xA68E / %xA690 / %xA692 / %xA694 / %xA696\n / %xA698 / %xA69A / %xA722 / %xA724 / %xA726 / %xA728 / %xA72A\n / %xA72C / %xA72E / %xA732 / %xA734 / %xA736 / %xA738 / %xA73A\n / %xA73C / %xA73E / %xA740 / %xA742 / %xA744 / %xA746 / %xA748\n / %xA74A / %xA74C / %xA74E / %xA750 / %xA752 / %xA754 / %xA756\n / %xA758 / %xA75A / %xA75C / %xA75E / %xA760 / %xA762 / %xA764\n / %xA766 / %xA768 / %xA76A / %xA76C / %xA76E / %xA779 / %xA77B\n / %xA77D-A77E / %xA780 / %xA782 / %xA784 / %xA786 / %xA78B\n / %xA78D / %xA790 / %xA792 / %xA796 / %xA798 / %xA79A / %xA79C\n / %xA79E / %xA7A0 / %xA7A2 / %xA7A4 / %xA7A6 / %xA7A8\n / %xA7AA-A7AE / %xA7B0-A7B4 / %xA7B6 / %xA7B8 / %xFF21-FF3A\n / %x10400-10427 / %x104B0-104D3 / %x10C80-10CB2 / %x118A0-118BF\n / %x16E40-16E5F / %x1D400-1D419 / %x1D434-1D44D / %x1D468-1D481\n / %x1D49C / %x1D49E-1D49F / %x1D4A2 / %x1D4A5-1D4A6\n / %x1D4A9-1D4AC / %x1D4AE-1D4B5 / %x1D4D0-1D4E9 / %x1D504-1D505\n / %x1D507-1D50A / %x1D50D-1D514 / %x1D516-1D51C / %x1D538-1D539\n / %x1D53B-1D53E / %x1D540-1D544 / %x1D546 / %x1D54A-1D550\n / %x1D56C-1D585 / %x1D5A0-1D5B9 / %x1D5D4-1D5ED / %x1D608-1D621\n / %x1D63C-1D655 / %x1D670-1D689 / %x1D6A8-1D6C0 / %x1D6E2-1D6FA\n / %x1D71C-1D734 / %x1D756-1D76E / %x1D790-1D7A8 / %x1D7CA\n / %x1E900-1E921\n\nunicode-other = %x00AA / %x00BA / %x01BB / %x01C0-01C3 / %x0294 / %x05D0-05EA\n / %x05EF-05F2 / %x0620-063F / %x0641-064A / %x066E-066F\n / %x0671-06D3 / %x06D5 / %x06EE-06EF / %x06FA-06FC / %x06FF\n / %x0710 / %x0712-072F / %x074D-07A5 / %x07B1 / %x07CA-07EA\n / %x0800-0815 / %x0840-0858 / %x0860-086A / %x08A0-08B4\n / %x08B6-08BD / %x0904-0939 / %x093D / %x0950 / %x0958-0961\n / %x0972-0980 / %x0985-098C / %x098F-0990 / %x0993-09A8\n / %x09AA-09B0 / %x09B2 / %x09B6-09B9 / %x09BD / %x09CE\n / %x09DC-09DD / %x09DF-09E1 / %x09F0-09F1 / %x09FC / %x0A05-0A0A\n / %x0A0F-0A10 / %x0A13-0A28 / %x0A2A-0A30 / %x0A32-0A33\n / %x0A35-0A36 / %x0A38-0A39 / %x0A59-0A5C / %x0A5E / %x0A72-0A74\n / %x0A85-0A8D / %x0A8F-0A91 / %x0A93-0AA8 / %x0AAA-0AB0\n / %x0AB2-0AB3 / %x0AB5-0AB9 / %x0ABD / %x0AD0 / %x0AE0-0AE1\n / %x0AF9 / %x0B05-0B0C / %x0B0F-0B10 / %x0B13-0B28 / %x0B2A-0B30\n / %x0B32-0B33 / %x0B35-0B39 / %x0B3D / %x0B5C-0B5D / %x0B5F-0B61\n / %x0B71 / %x0B83 / %x0B85-0B8A / %x0B8E-0B90 / %x0B92-0B95\n / %x0B99-0B9A / %x0B9C / %x0B9E-0B9F / %x0BA3-0BA4 / %x0BA8-0BAA\n / %x0BAE-0BB9 / %x0BD0 / %x0C05-0C0C / %x0C0E-0C10 / %x0C12-0C28\n / %x0C2A-0C39 / %x0C3D / %x0C58-0C5A / %x0C60-0C61 / %x0C80\n / %x0C85-0C8C / %x0C8E-0C90 / %x0C92-0CA8 / %x0CAA-0CB3\n / %x0CB5-0CB9 / %x0CBD / %x0CDE / %x0CE0-0CE1 / %x0CF1-0CF2\n / %x0D05-0D0C / %x0D0E-0D10 / %x0D12-0D3A / %x0D3D / %x0D4E\n / %x0D54-0D56 / %x0D5F-0D61 / %x0D7A-0D7F / %x0D85-0D96\n / %x0D9A-0DB1 / %x0DB3-0DBB / %x0DBD / %x0DC0-0DC6 / %x0E01-0E30\n / %x0E32-0E33 / %x0E40-0E45 / %x0E81-0E82 / %x0E84 / %x0E87-0E88\n / %x0E8A / %x0E8D / %x0E94-0E97 / %x0E99-0E9F / %x0EA1-0EA3\n / %x0EA5 / %x0EA7 / %x0EAA-0EAB / %x0EAD-0EB0 / %x0EB2-0EB3\n / %x0EBD / %x0EC0-0EC4 / %x0EDC-0EDF / %x0F00 / %x0F40-0F47\n / %x0F49-0F6C / %x0F88-0F8C / %x1000-102A / %x103F / %x1050-1055\n / %x105A-105D / %x1061 / %x1065-1066 / %x106E-1070 / %x1075-1081\n / %x108E / %x1100-1248 / %x124A-124D / %x1250-1256 / %x1258\n / %x125A-125D / %x1260-1288 / %x128A-128D / %x1290-12B0\n / %x12B2-12B5 / %x12B8-12BE / %x12C0 / %x12C2-12C5 / %x12C8-12D6\n / %x12D8-1310 / %x1312-1315 / %x1318-135A / %x1380-138F\n / %x1401-166C / %x166F-167F / %x1681-169A / %x16A0-16EA\n / %x16F1-16F8 / %x1700-170C / %x170E-1711 / %x1720-1731\n / %x1740-1751 / %x1760-176C / %x176E-1770 / %x1780-17B3 / %x17DC\n / %x1820-1842 / %x1844-1878 / %x1880-1884 / %x1887-18A8\n / %x18AA / %x18B0-18F5 / %x1900-191E / %x1950-196D / %x1970-1974\n / %x1980-19AB / %x19B0-19C9 / %x1A00-1A16 / %x1A20-1A54\n / %x1B05-1B33 / %x1B45-1B4B / %x1B83-1BA0 / %x1BAE-1BAF\n / %x1BBA-1BE5 / %x1C00-1C23 / %x1C4D-1C4F / %x1C5A-1C77\n / %x1CE9-1CEC / %x1CEE-1CF1 / %x1CF5-1CF6 / %x2135-2138\n / %x2D30-2D67 / %x2D80-2D96 / %x2DA0-2DA6 / %x2DA8-2DAE\n / %x2DB0-2DB6 / %x2DB8-2DBE / %x2DC0-2DC6 / %x2DC8-2DCE\n / %x2DD0-2DD6 / %x2DD8-2DDE / %x3006 / %x303C / %x3041-3096\n / %x309F / %x30A1-30FA / %x30FF / %x3105-312F / %x3131-318E\n / %x31A0-31BA / %x31F0-31FF / %x3400 / %x4DB5 / %x4E00 / %x9FEF\n / %xA000-A014 / %xA016-A48C / %xA4D0-A4F7 / %xA500-A60B\n / %xA610-A61F / %xA62A-A62B / %xA66E / %xA6A0-A6E5 / %xA78F\n / %xA7F7 / %xA7FB-A801 / %xA803-A805 / %xA807-A80A\n / %xA80C-A822 / %xA840-A873 / %xA882-A8B3 / %xA8F2-A8F7 / %xA8FB\n / %xA8FD-A8FE / %xA90A-A925 / %xA930-A946 / %xA960-A97C\n / %xA984-A9B2 / %xA9E0-A9E4 / %xA9E7-A9EF / %xA9FA-A9FE\n / %xAA00-AA28 / %xAA40-AA42 / %xAA44-AA4B / %xAA60-AA6F\n / %xAA71-AA76 / %xAA7A / %xAA7E-AAAF / %xAAB1 / %xAAB5-AAB6\n / %xAAB9-AABD / %xAAC0 / %xAAC2 / %xAADB-AADC / %xAAE0-AAEA\n / %xAAF2 / %xAB01-AB06 / %xAB09-AB0E / %xAB11-AB16 / %xAB20-AB26\n / %xAB28-AB2E / %xABC0-ABE2 / %xAC00 / %xD7A3 / %xD7B0-D7C6\n / %xD7CB-D7FB / %xF900-FA6D / %xFA70-FAD9 / %xFB1D / %xFB1F-FB28\n / %xFB2A-FB36 / %xFB38-FB3C / %xFB3E / %xFB40-FB41 / %xFB43-FB44\n / %xFB46-FBB1 / %xFBD3-FD3D / %xFD50-FD8F / %xFD92-FDC7\n / %xFDF0-FDFB / %xFE70-FE74 / %xFE76-FEFC / %xFF66-FF6F\n / %xFF71-FF9D / %xFFA0-FFBE / %xFFC2-FFC7 / %xFFCA-FFCF\n / %xFFD2-FFD7 / %xFFDA-FFDC / %x10000-1000B / %x1000D-10026\n / %x10028-1003A / %x1003C-1003D / %x1003F-1004D / %x10050-1005D\n / %x10080-100FA / %x10280-1029C / %x102A0-102D0 / %x10300-1031F\n / %x1032D-10340 / %x10342-10349 / %x10350-10375 / %x10380-1039D\n / %x103A0-103C3 / %x103C8-103CF / %x10450-1049D / %x10500-10527\n / %x10530-10563 / %x10600-10736 / %x10740-10755 / %x10760-10767\n / %x10800-10805 / %x10808 / %x1080A-10835 / %x10837-10838\n / %x1083C / %x1083F-10855 / %x10860-10876 / %x10880-1089E\n / %x108E0-108F2 / %x108F4-108F5 / %x10900-10915 / %x10920-10939\n / %x10980-109B7 / %x109BE-109BF / %x10A00 / %x10A10-10A13\n / %x10A15-10A17 / %x10A19-10A35 / %x10A60-10A7C / %x10A80-10A9C\n / %x10AC0-10AC7 / %x10AC9-10AE4 / %x10B00-10B35 / %x10B40-10B55\n / %x10B60-10B72 / %x10B80-10B91 / %x10C00-10C48 / %x10D00-10D23\n / %x10F00-10F1C / %x10F27 / %x10F30-10F45 / %x11003-11037\n / %x11083-110AF / %x110D0-110E8 / %x11103-11126 / %x11144\n / %x11150-11172 / %x11176 / %x11183-111B2 / %x111C1-111C4\n / %x111DA / %x111DC / %x11200-11211 / %x11213-1122B\n / %x11280-11286 / %x11288 / %x1128A-1128D / %x1128F-1129D\n / %x1129F-112A8 / %x112B0-112DE / %x11305-1130C / %x1130F-11310\n / %x11313-11328 / %x1132A-11330 / %x11332-11333 / %x11335-11339\n / %x1133D / %x11350 / %x1135D-11361 / %x11400-11434\n / %x11447-1144A / %x11480-114AF / %x114C4-114C5 / %x114C7\n / %x11580-115AE / %x115D8-115DB / %x11600-1162F / %x11644\n / %x11680-116AA / %x11700-1171A / %x11800-1182B / %x118FF\n / %x11A00 / %x11A0B-11A32 / %x11A3A / %x11A50 / %x11A5C-11A83\n / %x11A86-11A89 / %x11A9D / %x11AC0-11AF8 / %x11C00-11C08\n / %x11C0A-11C2E / %x11C40 / %x11C72-11C8F / %x11D00-11D06\n / %x11D08-11D09 / %x11D0B-11D30 / %x11D46 / %x11D60-11D65\n / %x11D67-11D68 / %x11D6A-11D89 / %x11D98 / %x11EE0-11EF2\n / %x12000-12399 / %x12480-12543 / %x13000-1342E / %x14400-14646\n / %x16800-16A38 / %x16A40-16A5E / %x16AD0-16AED / %x16B00-16B2F\n / %x16B63-16B77 / %x16B7D-16B8F / %x16F00-16F44 / %x16F50\n / %x17000 / %x187F1 / %x18800-18AF2 / %x1B000-1B11E\n / %x1B170-1B2FB / %x1BC00-1BC6A / %x1BC70-1BC7C / %x1BC80-1BC88\n / %x1BC90-1BC99 / %x1E800-1E8C4 / %x1EE00-1EE03 / %x1EE05-1EE1F\n / %x1EE21-1EE22 / %x1EE24 / %x1EE27 / %x1EE29-1EE32\n / %x1EE34-1EE37 / %x1EE39 / %x1EE3B / %x1EE42 / %x1EE47 / %x1EE49\n / %x1EE4B / %x1EE4D-1EE4F / %x1EE51-1EE52 / %x1EE54 / %x1EE57\n / %x1EE59 / %x1EE5B / %x1EE5D / %x1EE5F / %x1EE61-1EE62 / %x1EE64\n / %x1EE67-1EE6A / %x1EE6C-1EE72 / %x1EE74-1EE77 / %x1EE79-1EE7C\n / %x1EE7E / %x1EE80-1EE89 / %x1EE8B-1EE9B / %x1EEA1-1EEA3\n / %x1EEA5-1EEA9 / %x1EEAB-1EEBB / %x20000 / %x2A6D6 / %x2A700\n / %x2B734 / %x2B740 / %x2B81D / %x2B820 / %x2CEA1 / %x2CEB0\n / %x2EBE0 / %x2F800-2FA1D\n\nunicode-title = %x01C5 / %x01C8 / %x01CB / %x01F2 / %x1F88-1F8F / %x1F98-1F9F\n / %x1FA8-1FAF / %x1FBC / %x1FCC / %x1FFC\n\nunicode-mod = %x02B0-02C1 / %x02C6-02D1 / %x02E0-02E4 / %x02EC / %x02EE / %x0374\n / %x037A / %x0559 / %x0640 / %x06E5-06E6 / %x07F4-07F5 / %x07FA\n / %x081A / %x0824 / %x0828 / %x0971 / %x0E46 / %x0EC6 / %x10FC\n / %x17D7 / %x1843 / %x1AA7 / %x1C78-1C7D / %x1D2C-1D6A / %x1D78\n / %x1D9B-1DBF / %x2071 / %x207F / %x2090-209C / %x2C7C-2C7D / %x2D6F\n / %x2E2F / %x3005 / %x3031-3035 / %x303B / %x309D-309E / %x30FC-30FE\n / %xA015 / %xA4F8-A4FD / %xA60C / %xA67F / %xA69C-A69D / %xA717-A71F\n / %xA770 / %xA788 / %xA7F8-A7F9 / %xA9CF / %xA9E6 / %xAA70 / %xAADD\n / %xAAF3-AAF4 / %xAB5C-AB5F / %xFF70 / %xFF9E-FF9F / %x16B40-16B43\n / %x16F93-16F9F / %x16FE0-16FE1\n\nunicode-alpha = unicode-lower / unicode-upper / unicode-other\n / unicode-title / unicode-mod\n\n;; Numbers\nunicode-digit = %x0660-0669 / %x06F0-06F9 / %x07C0-07C9 / %x0966-096F\n / %x09E6-09EF / %x0A66-0A6F / %x0AE6-0AEF / %x0B66-0B6F\n / %x0BE6-0BEF / %x0C66-0C6F / %x0CE6-0CEF / %x0D66-0D6F\n / %x0DE6-0DEF / %x0E50-0E59 / %x0ED0-0ED9 / %x0F20-0F29\n / %x1040-1049 / %x1090-1099 / %x17E0-17E9 / %x1810-1819\n / %x1946-194F / %x19D0-19D9 / %x1A80-1A89 / %x1A90-1A99\n / %x1B50-1B59 / %x1BB0-1BB9 / %x1C40-1C49 / %x1C50-1C59\n / %xA620-A629 / %xA8D0-A8D9 / %xA900-A909 / %xA9D0-A9D9\n / %xA9F0-A9F9 / %xAA50-AA59 / %xABF0-ABF9 / %xFF10-FF19\n / %x104A0-104A9 / %x10D30-10D39 / %x11066-1106F / %x110F0-110F9\n / %x11136-1113F / %x111D0-111D9 / %x112F0-112F9 / %x11450-11459\n / %x114D0-114D9 / %x11650-11659 / %x116C0-116C9 / %x11730-11739\n / %x118E0-118E9 / %x11C50-11C59 / %x11D50-11D59 / %x11DA0-11DA9\n / %x16A60-16A69 / %x16B50-16B59 / %x1D7CE-1D7FF / %x1E950-1E959\n\nunicode-num = %x00B2 / %x00B3 / %x00B9 / %x00BC-00BE / %x09F4-09F9\n / %x0B72-0B77 / %x0BF0-0BF2 / %x0C78-0C7E / %x0D58-0D5E\n / %x0D70-0D78 / %x0F2A-0F33 / %x1369-137C / %x17F0-17F9\n / %x19DA / %x2070 / %x2074-2089 / %x2150-215F / %x2189\n / %x2460-249B / %x24EA-24FF / %x2776-2793 / %x2CFD\n / %x3192-3195 / %x3220-3229 / %x3248-324F / %x3251-325F\n / %x3280-3289 / %x32B1-32BF / %xA830-A835\n / %x10107-10133 / %x10175-10178 / %x1018A-1018B / %x102E1-102FB\n / %x10320-10323 / %x10858-1085F / %x10879-1087F / %x108A7-108AF\n / %x108FB-108FF / %x10916-1091B / %x109BC-109BD / %x109C0-109CF\n / %x109D2-109FF / %x10A40-10A48 / %x10A7D-10A7E / %x10A9D-10A9F\n / %x10AEB-10AEF / %x10B58-10B5F / %x10B78-10B7F / %x10BA9-10BAF\n / %x10CFA-10CFF / %x10E60-10E7E / %x10F1D-10F26 / %x10F51-10F54\n / %x11052-11065 / %x111E1-111F4 / %x1173A-1173B / %x118EA-118F2\n / %x11C5A-11C6C / %x16B5B-16B61 / %x16E80-16E96 / %x1D2E0-1D2F3\n / %x1D360-1D378 / %x1E8C7-1E8CF / %x1EC71-1ECAB / %x1ECAD-1ECAF\n / %x1ECB1-1ECB4 / %x1F100-1F10C\n" }
UTF-8
ABNF
27,312
jmitchell
17fef23fab73a6b98ec9a9828b68e828e209a97e
02a4a8ea98638ff0962c804a18f0643a56a8ca0a
/examples/abnf/generated/core_ALPHA.abnf
092abb4d700cd424df762e5980369f43f85e978a
jmitchell/abnf-to-tree-sitter
{ "content": "start = ALPHA\r\n" }
UTF-8
ABNF
15
LedanDark
b1c3c7a588e9a01b2f9eeaceefb75b42f8f3c899
7f2f8e5967afc2c23256b1c83480c2ed2f1beb5a
/1.0/social/resources/german_female.abnf
cdf28287a511d6ebcb5d97b46567230cdd228406
LedanDark/example-skills
{ "content": "#ABNF 1.0 ISO-8859-1;\n\nlanguage en-US;\nroot $name;\n\npublic $name =\nAlexandra\n| Alina\n| Amelie\n| Andrea\n| Angela\n| Angelika\n| Anja\n| Anke\n| Ann\n| Anna\n| Annika\n| Antonia\n| Astrid\n| Barbara\n| Beate\n| Bettina\n| Bianca\n| Birgit\n| Brigitte\n| Britta\n| Caroline\n| Celina\n| Celine\n| Chiara\n| Christa\n| Christiane\n| Christina\n| Christine\n| Claudia\n| Cornelia\n| Dagmar\n| Daniela\n| Doris\n| Elke\n| Emilie\n| Franziska\n| Gisela\n| Gudrun\n| Hannah\n| Hannelore\n| Heidemarie\n| Heidi\n| Heike\n| Helga\n| Ingrid\n| Isabel\n| Jacqueline\n| Jana\n| Janina\n| Janine\n| Jasmin\n| Jennifer\n| Jessica\n| Johanna\n| Jule\n| Julia\n| Jutta\n| Karin\n| Katharina\n| Katja\n| Katrin\n| Kerstin\n| Kim\n| Kirsten\n| Klara\n| Kristin\n| Lara\n| Laura\n| Lea\n| Lena\n| Leonie\n| Lilli\n| Lina\n| Lisa\n| Luisa\n| Maike\n| Maja\n| Manuela\n| Margret\n| Margrit\n| Maria\n| Marie\n| Marion\n| Marlies\n| Martina\n| Melanie\n| Melina\n| Merle\n| Mia\n| Michaela\n| Michelle\n| Monika\n| Nadine\n| Natalie\n| Nele\n| Nicole\n| Nina\n| Petra\n| Pia\n| Regina\n| Renate\n| Rita\n| Sabine\n| Sabrina\n| Sandra\n| Sarah\n| Saskia\n| Sigrid\n| Silke\n| Silvia\n| Simone\n| Sonja\n| Sophia\n| Sophie\n| Stefanie\n| Susanne\n| Svenja\n| Tanja\n| Ulrike\n| Ursula\n| Ute\n| Vanessa\n| Yvonne;" }
UTF-8
ABNF
1,170
mwherman2000
40ac9d49af487b71ea62c6f63e1805e37b96e03e
a9e7a38b55a864f632f9c9e172fefb223a338e26
/parse2-aparse/did-uri/0-did-uri-spec-2019-04-03.abnf
6c2dc5d0c4f0eec351b2cb4d6164a36250aeb7d2
mwherman2000/did-uri-spec
{ "content": "# https://github.com/mwherman2000/did-uri-spec/tree/master/abnf/did-uri-spec-2019-04-03.abnf\n\n# !syntax(\"abnf\")\ndid = did-method method-specific-idstring;\ndid-method = did-root method \":\";\ndid-root = \"did\" \":\";\n\nmethod = 1*methodchar;\nmethodchar = %x61-7A / DIGIT;\nmethod-specific-idstring = idstring *( \":\" idstring );\nidstring = 1*idchar;\nidchar = ALPHA / DIGIT / \".\" / \"-\";\n\ndid-uri = did-optional-transform\n / did-method-transform\n / did-root-transform;\n \ndid-optional-transform = did [ transform ] [ path-abempty ] [ \"?\" query ] [ \"#\" fragment ];\ndid-method-transform = did-method transform;\ndid-root-transform = did-root transform;\n\ntransform = TRANSFORM transformer *( \"&\" transformer );\ntransformer = \"$\" transformer-option [ transformer-namedvalue ];\ntransformer-namedvalue = \"=\" DQUOTE transformer-value DQUOTE;\ntransformer-option = transformer-options;\ntransformer-value = *transformer-char;\ntransformer-char = ALPHA / DIGIT / \".\" / \"-\";\n\nTRANSFORM = %x21; # !\n\ngeneric-option = ALPHA 1*transformer-char;\n\ntransformer-options = generic-option;\n\n#------------------------------------------------------------------------------\n# A. URI syntax [RFC3986]\n#------------------------------------------------------------------------------\n\nURI = scheme \":\" hier-part [ \"?\" query ] [ \"#\" fragment ];\nhier-part = \"//\" authority path-abempty\n / path-absolute\n / path-rootless;\n# / path-empty;\n#URI-reference = URI / relative-ref;\n#absolute-URI = scheme \":\" hier-part [ \"?\" query ];\n#relative-ref = relative-part [ \"?\" query ] [ \"#\" fragment ];\n#relative-part = \"//\" authority path-abempty\n# / path-absolute\n# / path-noscheme\n# / path-empty;\nscheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" );\nauthority = [ userinfo \"@\" ] host [ \":\" port ];\nuserinfo = *( unreserved / pct-encoded / sub-delims / \":\" );\nhost = IP-literal / IPv4address / reg-name;\nport = *DIGIT;\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\";\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" );\nIPv6address = 6( h16 \":\" ) ls32\n / \"::\" 5( h16 \":\" ) ls32\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\n / [ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\n / [ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\n / [ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\n / [ *4( h16 \":\" ) h16 ] \"::\" ls32\n / [ *5( h16 \":\" ) h16 ] \"::\" h16\n / [ *6( h16 \":\" ) h16 ] \"::\";\nh16 = 1*4HEXDIG;\nls32 = ( h16 \":\" h16 ) / IPv4address;\nIPv4address = dec-octet \".\" dec-octet \".\" dec-octet \".\" dec-octet;\ndec-octet = \"1\" 2DIGIT # 100-199\n / \"2\" %x30-34 DIGIT # 200-249\n / \"25\" %x30-35 # 250-255\n / %x31-39 DIGIT # 10-99\n / DIGIT; # 0-9\nreg-name = *( unreserved / pct-encoded / sub-delims );\n#path = path-abempty # begins with \"/\" or is empty\n# / path-absolute # begins with \"/\" but not \"//\"\n# / path-noscheme # begins with a non-colon segment\n# / path-rootless # begins with a segment\n# / path-empty; # zero characters\npath-abempty = *( \"/\" segment );\npath-absolute = \"/\" [ segment-nz *( \"/\" segment ) ];\n#path-noscheme = segment-nz-nc *( \"/\" segment );\npath-rootless = segment-nz *( \"/\" segment );\n#path-empty = \"\";\nsegment = *pchar;\nsegment-nz = 1*pchar;\n#segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / \"@\" ) # non-zero-length segment without any colon \":\";\npchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\";\nquery = *( pchar / \"/\" / \"?\" );\nfragment = *( pchar / \"/\" / \"?\" );\npct-encoded = \"%\" HEXDIG HEXDIG;\nunreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\";\n#reserved = gen-delims / sub-delims;\n#gen-delims = \":\" / \"/\" / \"?\" / \"#\" / \"[\" / \"]\" / \"@\";\n#sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\" / \"*\" / \"+\" / \",\" / \";\" / \"=\";\nsub-delims = \"$\" / \"&\" / \"'\" / \"=\" / other-delims;\nother-delims = \"!\" / \"(\" / \")\" / \"*\" / \"+\" / \",\" / \";\";\n\npchar-no-SQUOTE = unreserved / pct-encoded-no-SQUOTE / other-delims / \"$\" / \"&\" / \"=\" / \":\" / \"@\";\npct-encoded-no-SQUOTE = \"%\" ( \"0\" / \"1\" / \"3\" / \"4\" / \"5\" / \"6\" / \"8\" / \"9\" / A-to-F ) HEXDIG\n / \"%\" \"2\" ( \"0\" / \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"8\" / \"9\" / A-to-F );\n\nqchar-no-AMP = unreserved / pct-encoded / other-delims / \":\" / \"@\" / \"/\" / \"?\" / \"$\" / \"'\" / \"=\";\nqchar-no-AMP-EQ = unreserved / pct-encoded / other-delims / \":\" / \"@\" / \"/\" / \"?\" / \"$\" / \"'\";\nqchar-no-AMP-EQ-AT-DOLLAR = unreserved / pct-encoded / other-delims / \":\" / \"/\" / \"?\" / \"'\";\n\n##qchar-unescaped = unreserved / pct-encoded-unescaped / other-delims / \":\" / \"@\" / \"/\" / \"?\" / \"$\" / \"'\" / \"=\";\n##pct-encoded-unescaped = \"%\" ( \"0\" / \"1\" / \"3\" / \"4\" / \"6\" / \"7\" / \"8\" / \"9\" / A-to-F ) HEXDIG \n## / \"%\" \"2\" ( \"0\" / \"1\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\" / A-to-F ) \n## / \"%\" \"5\" ( DIGIT / \"A\" / \"B\" / \"D\" / \"E\" / \"F\" );\n\n##qchar-no-AMP-DQUOTE = qchar-unescaped \n## / escape ( escape / quotation-mark );\n \n \n#------------------------------------------------------------------------------\n# B. IRI syntax [RFC3987]\n#------------------------------------------------------------------------------\n# Note: these are over-generous stubs, for the actual patterns refer to RFC3987\n#------------------------------------------------------------------------------\n\n##IRI-in-header = 1*( VCHAR / obs-text );\n##IRI-in-query = 1*qchar-no-AMP;\n\n \n#------------------------------------------------------------------------------\n# C. ABNF core definitions [RFC5234]\n#------------------------------------------------------------------------------\n\nALPHA = %x41-5A / %x61-7A;\nDIGIT = %x30-39;\nHEXDIG = DIGIT / A-to-F;\nA-to-F = \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\";\nDQUOTE = %x22;\nSP = %x20;\nHTAB = %x09;\n#WSP = SP / HTAB;\n#LWSP = *(WSP / CRLF WSP);\nVCHAR = %x21-7E;\n#CHAR = %x01-7F;\n#LOCTET = %x00-FF;\n#CR = %x0D;\n#LF = %x0A;\n#CRLF = CR LF;\n#BIT = \"0\" / \"1\";\n" }
UTF-8
ABNF
6,846
teleyi
b88388be7350e36580f9b3d631fa24373d3234bf
4f31495641465d5f652edf66cafb4cbb04012d23
/demo/abnfofabnf.abnf
44a1fd1311b620608c409a0161abeed359de0e01
teleyi/abnf-parser-generator
{ "content": "rulelist=1*(rule/(*c-wsp c-nl))\r\nrule=rulename defined-as elements c-nl\r\nrulename=ALPHA *(ALPHA/DIGIT/\"-\")\r\ndefined-as=*c-wsp (\"=\"/\"=/\") *c-wsp\r\nelements=alternation *c-wsp\r\nc-wsp=WSP/(c-nl WSP)\r\nc-nl=comment/CRLF\r\ncomment=\";\" *(WSP/VCHAR) CRLF\r\nalternation=concatenation *(*c-wsp \"/\" *c-wsp concatenation)\r\nconcatenation=repetition *(1*c-wsp repetition)\r\nrepetition=[repeat] element\r\nrepeat=1*DIGIT/(*DIGIT \"*\" *DIGIT)\r\nelement=rulename/group/option/char-val/num-val/prose-val\r\ngroup=\"(\" *c-wsp alternation *c-wsp \")\"\r\noption=\"[\" *c-wsp alternation *c-wsp \"]\"\r\nchar-val=DQUOTE *(%x20-21/%x23-7E) DQUOTE\r\nnum-val=\"%\" (bin-val/dec-val/hex-val)\r\nbin-val=\"b\" 1*BIT [1*(\".\" 1*BIT)/(\"-\" 1*BIT)]\r\ndec-val=\"d\" 1*DIGIT [1*(\".\" 1*DIGIT)/(\"-\" 1*DIGIT)]\r\nhex-val=\"x\" 1*HEXDIG [1*(\".\" 1*HEXDIG)/(\"-\" 1*HEXDIG)]\r\nprose-val=\"<\" *(%x20-3D/%x3F-7E) \">\"\r\nALPHA=%x41-5A/%x61-7A\r\nBIT=\"0\"/\"1\"\r\nCHAR=%x01-7F\r\nCR=%x0D\r\nCRLF=CR LF\r\nCTL=%x00-1F/%x7F\r\nDIGIT=%x30-39\r\nDQUOTE=%x22\r\nHEXDIG=DIGIT/\"A\"/\"B\"/\"C\"/\"D\"/\"E\"/\"F\"\r\nHTAB=%x09\r\nLF=%x0A\r\nLWSP=*(WSP/CRLF WSP)\r\nOCTET=%x00-FF\r\nSP=%x20\r\nVCHAR=%x21-7E\r\nWSP=SP/HTAB\r\n" }
UTF-8
ABNF
1,087
sliekens
a24e855a82857ad3d33e9ce5720de0e3246e3af4
83156cce2cb74abdd7a8b75b25d310c4edecb823
/IPv6address.abnf
d6312e07dcd00a2843fe75f8c30ebd0998c6afe5
sliekens/Uri
{ "content": "; Rule : IPv6address\n; Replaces : IPv6address (RFC 3986)\n; Reason : the IPv6address rule in RFC 3986 requires more than 1 lookahead symbol\n; Example : \"1::\" matches ( h16 \":\" ), but it should instead match ( h16 \"::\" )\n; Rules used : h16 (RFC 3986), ls32 (RFC 3986)\n\nIPv6address = ( 6( h16 \":\" ) ls32 )\n / ( \"::\" 5( h16 \":\" ) ls32 )\n / ( [ h16 ] \"::\" 4( h16 \":\" ) ls32 )\n / ( [ h16-2 ] \"::\" 3( h16 \":\" ) ls32 )\n / ( [ h16-3 ] \"::\" 2( h16 \":\" ) ls32 )\n / ( [ h16-4 ] \"::\" h16 \":\" ls32 )\n / ( [ h16-5 ] \"::\" ls32 )\n / ( [ h16-6 ] \"::\" h16 )\n / ( [ h16-7 ] \"::\" )\n\nh16-7 = ( *6( h16 \":\" ) h16 ) / h16-6\n\nh16-6 = ( *5( h16 \":\" ) h16 ) / h16-5\n\nh16-5 = ( *4( h16 \":\" ) h16 ) / h16-4\n\nh16-4 = ( *3( h16 \":\" ) h16 ) / h16-3\n\nh16-3 = ( *2( h16 \":\" ) h16 ) / h16-2\n\nh16-2 = ( h16 \":\" h16 ) / h16" }
UTF-8
ABNF
1,008
dangxuanvuong98
b446241a135c1e755f0526faee402cf4b7c51165
fb9c963e301b8521d2bb60d7b13a6b2190cce693
/examples/abnf/examples/1star.abnf
06d578012f2d37aae24320fb2bde84f1f1773656
dangxuanvuong98/ebnf
{ "content": "suffix = 1*(\"I\" / \"V\" / \"X\")\n" }
UTF-8
ABNF
39
junwen12221
885e5174685c794591cfa9b5e4485f1b70d7c79e
762e0a23a6916055b6a2e7dd5d94907862adc5d4
/examples/input/email.abnf
6ff8ca34693a711c86fa965617817839414f8af4
junwen12221/apg-7.0
{ "content": "email-address = local \"@\" domain\nlocal = local-word *(\".\" local-word)\ndomain = 1*(sub-domain \".\") top-domain\nlocal-word = 1*local-char\nsub-domain = 1*sub-domain-char\ntop-domain = 2*6top-domain-char\nlocal-char = alpha / num / special\nsub-domain-char = alpha / num / \"-\"\ntop-domain-char = alpha\nalpha = %d65-90 / %d97-122\nnum = %d48-57\nspecial = %d33 / %d35 / %d36-39 / %d42-43 / %d45 / %d47 \n / %d61 / %d63 / %d94-96 / %d123-126\n\n" }
UTF-8
ABNF
515
LedanDark
751480a629b64863e6139b78454504ee358167ac
7f2f8e5967afc2c23256b1c83480c2ed2f1beb5a
/1.0/social/resources/english_female.abnf
c50c92402d80f26df8325999ee8a299626795e9b
LedanDark/example-skills
{ "content": "#ABNF 1.0 ISO-8859-1;\n\nlanguage en-US;\nroot $name;\n\npublic $name = Alicia\n| Allison\n| Amanda\n| Amber\n| Amy\n| Andrea\n| Angela\n| Ann\n| Anna\n| April\n| Barbara\n| Brandy\n| Brenda\n| Carrie\n| Catherine\n| Cheryl\n| Christina\n| Christine\n| Christy\n| Crystal\n| Cynthia\n| Dana\n| Danielle\n| Dawn\n| Deborah\n| Debra\n| Denise\n| Diana\n| Donna\n| Elizabeth\n| Emily\n| Erica\n| Erin\n| Gina\n| Heather\n| Heidi\n| Holly\n| Jacqueline\n| Jamie\n| Jennifer\n| Jessica\n| Jill\n| Julie\n| Karen\n| Katherine\n| Kathleen\n| Kathryn\n| Kelly\n| Kimberly\n| Kristen\n| Kristin\n| Kristina\n| Laura\n| Leslie\n| Linda\n| Lisa\n| Lori\n| Maria\n| Mary\n| Megan\n| Melanie\n| Melinda\n| Melissa\n| Michele\n| Michelle\n| Misty\n| Monica\n| Nancy\n| Nicole\n| Pamela\n| Patricia\n| Paula\n| Rachel\n| Rebecca\n| Renee\n| Rhonda\n| Robin\n| Sandra\n| Sara\n| Sarah\n| Shannon\n| Sharon\n| Sherry\n| Stacey\n| Stacy\n| Stephanie\n| Susan\n| Tamara\n| Tammy\n| Tanya\n| Tara\n| Teresa\n| Theresa\n| Tiffany\n| Tina\n| Tonya\n| Tracy\n| Valerie\n| Veronica\n| Wendy;" }
UTF-8
ABNF
963
sliekens
fc05dfb620578d2e5e476d40646c50c94ab1ed70
35f97a9047ef5c6bf493c0331d715b328609feab
/sample/Calculator/Grammar.abnf
f4d173645b599ae4e5f7b7fa215b1b75d3eca9a7
sliekens/Txt
{ "content": "expression = term *((\"+\" / \"-\") term)\nterm = factor *((\"*\" / \"/\") factor)\nfactor = [\"-\"] (number / \"(\" expression \")\")\nnumber = (\".\" 1*DIGIT) / (1*DIGIT [\".\" 1*DIGIT])" }
UTF-8
ABNF
184
raml-org
5ec14763d2ffb2c737d67c2042555c57a2bb8d7c
bcfef48dd388d9debb396129ca30ea68b606afc8
/src/parser/test/data/gram/prop-type-exp.abnf
a24b08838c8ce74a554a275f8571c9e849b0cf0d
raml-org/raml-js-parser-2
{ "content": "expr = term 0*1(\"|\" term)\n\n; exclude arrays for a while...\n; term = type / type \"[]\" / \"(\" expr \")\"\nterm = type / \"(\" expr \")\"\n\ntype = basic / custom\nbasic = \"string\" / \"number\" / \"boolean\"\ncustom = \"Type\"" }
UTF-8
ABNF
220
jbenner-radham
cabe0932478a7a0bb3fb69a444dee54a59ea76ae
1ce623e501a9ca87afb4166aa58b0fa9e1ca745e
/data/abnf/xml.abnf
2c6ef0e4ee2f431e42adae4c5ba37c03998b17f7
jbenner-radham/jcard-to-vcard
{ "content": "XML-param = \"VALUE=text\" / altid-param\nXML-value = text\n" }
UTF-8
ABNF
56
sainteos
e6bda1050225ec679f39942dd6c30ac591a4617a
2d6428cca481f832b816bfe97db650bbaa4e04c0
/test/resources/RFC3986.abnf
51ef63f35912657838c1e064464ce0a97d5bf4f3
sainteos/ex_abnf
{ "content": "URI = scheme \":\" hier-part [ \"?\" query ] [ \"#\" fragment ]\r\n\r\nhier-part = \"//\" authority path-abempty\r\n / path-absolute\r\n / path-rootless\r\n / path-empty\r\n\r\nURI-reference = URI / relative-ref\r\n\r\nabsolute-URI = scheme \":\" hier-part [ \"?\" query ]\r\n\r\nrelative-ref = relative-part [ \"?\" query ] [ \"#\" fragment ]\r\n\r\nrelative-part = \"//\" authority path-abempty\r\n / path-absolute\r\n / path-noscheme\r\n / path-empty\r\n\r\nscheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" ) !!!\r\n state = Map.put state, :scheme, rule\r\n {:ok, state}\r\n!!!\r\n\r\nauthority = [ userinfo \"@\" ] host [ \":\" port ]\r\nuserinfo = *( unreserved / pct-encoded / sub-delims / \":\" ) !!!\r\n state = Map.put state, :userinfo, rule\r\n {:ok, state}\r\n!!!\r\n\r\nhost = IP-literal / IPv4address / reg-name !!!\r\n state = Map.put state, :host, rule\r\n {:ok, state}\r\n!!!\r\nport = *DIGIT !!!\r\n state = Map.put state, :port, rule\r\n {:ok, state}\r\n!!!\r\n\r\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\"\r\n\r\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" ) !!!\r\n state = Map.put state, :host_type, :ipvfuture\r\n {:ok, state}\r\n!!!\r\n\r\nIPv6address = 6( h16 \":\" ) ls32\r\n / \"::\" 5( h16 \":\" ) ls32\r\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\r\n / [ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\r\n / [ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\r\n / [ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\r\n / [ *4( h16 \":\" ) h16 ] \"::\" ls32\r\n / [ *5( h16 \":\" ) h16 ] \"::\" h16\r\n / [ *6( h16 \":\" ) h16 ] \"::\" !!!\r\n state = Map.put state, :host_type, :ipv6\r\n {:ok, state}\r\n!!!\r\n\r\nh16 = 1*4HEXDIG\r\nls32 = ( h16 \":\" h16 ) / IPv4address\r\nIPv4address =\r\n dec-octet \".\"\r\n dec-octet \".\"\r\n dec-octet \".\"\r\n dec-octet !!!\r\n state = Map.put state, :host_type, :ipv4\r\n {:ok, state}\r\n!!!\r\n\r\ndec-octet = DIGIT ; 0-9\r\n / %x31-39 DIGIT ; 10-99\r\n / \"1\" 2DIGIT ; 100-199\r\n / \"2\" %x30-34 DIGIT ; 200-249\r\n / \"25\" %x30-35 ; 250-255\r\n\r\nreg-name = *( unreserved / pct-encoded / sub-delims ) !!!\r\n state = Map.put state, :host_type, :reg_name\r\n {:ok, state}\r\n!!!\r\n\r\npath = path-abempty ; begins with \"/\" or is empty\r\n / path-absolute ; begins with \"/\" but not \"//\"\r\n / path-noscheme ; begins with a non-colon segment\r\n / path-rootless ; begins with a segment\r\n / path-empty ; zero characters\r\n\r\npath-abempty = *( \"/\" segment ) !!!\r\n state = Map.put state, :type, :abempty\r\n {:ok, state}\r\n!!!\r\n\r\npath-absolute = \"/\" [ segment-nz *( \"/\" segment ) ] !!!\r\n state = Map.put state, :type, :absolute\r\n {:ok, state}\r\n!!!\r\n\r\npath-noscheme = segment-nz-nc *( \"/\" segment ) !!!\r\n state = Map.put state, :type, :noscheme\r\n {:ok, state}\r\n!!!\r\n\r\npath-rootless = segment-nz *( \"/\" segment ) !!!\r\n state = Map.put state, :type, :rootless\r\n {:ok, state}\r\n!!!\r\n\r\npath-empty = 0<pchar> !!!\r\n state = Map.put state, :type, :empty\r\n {:ok, state}\r\n!!!\r\n\r\nsegment = *pchar !!!\r\n segments = state.segments\r\n state = Map.put state, :segments, Enum.reverse([rule|segments])\r\n {:ok, state}\r\n!!!\r\nsegment-nz = 1*pchar !!!\r\n segments = state.segments\r\n state = Map.put state, :segments, Enum.reverse([rule|segments])\r\n {:ok, state}\r\n!!!\r\nsegment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / \"@\" ) !!!\r\n segments = state.segments\r\n state = Map.put state, :segments, Enum.reverse([rule|segments])\r\n {:ok, state}\r\n!!!\r\n ; non-zero-length segment without any colon \":\"\r\n\r\npchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\r\n\r\nquery = *( pchar / \"/\" / \"?\" ) !!!\r\n state = Map.put state, :query, rule\r\n {:ok, state}\r\n!!!\r\n\r\nfragment = *( pchar / \"/\" / \"?\" ) !!!\r\n state = Map.put state, :fragment, rule\r\n {:ok, state}\r\n!!!\r\n\r\npct-encoded = \"%\" HEXDIG HEXDIG\r\n\r\nunreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\r\nreserved = gen-delims / sub-delims\r\ngen-delims = \":\" / \"/\" / \"?\" / \"#\" / \"[\" / \"]\" / \"@\"\r\nsub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\r\n / \"*\" / \"+\" / \",\" / \";\" / \"=\"\r\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\r\n\r\nBIT = \"0\" / \"1\"\r\n\r\nCHAR = %x01-7F\r\n ; any 7-bit US-ASCII character,\r\n ; excluding NUL\r\n\r\nCR = %x0D\r\n ; carriage return\r\n\r\nCRLF = CR LF\r\n ; Internet standard newline\r\n\r\nCTL = %x00-1F / %x7F\r\n ; controls\r\n\r\nDIGIT = %x30-39\r\n ; 0-9\r\n\r\nDQUOTE = %x22\r\n ; \" (Double Quote)\r\n\r\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\r\n\r\nHTAB = %x09\r\n ; horizontal tab\r\n\r\nLF = %x0A\r\n ; linefeed\r\n\r\nLWSP = *(WSP / CRLF WSP)\r\n ; linear white space (past newline)\r\n\r\nOCTET = %x00-FF\r\n ; 8 bits of data\r\n\r\nSP = %x20\r\n\r\nVCHAR = %x21-7E\r\n ; visible (printing) characters\r\n\r\nWSP = SP / HTAB\r\n ; white space\r\n" }
UTF-8
ABNF
5,436
ChernayaKoshka
a61bacbf3102833f8a2bed95be41adcd99caa020
8c32a37b5ae1261cf311033f4dcc2117dfc54ea5
/Fab/ABNFRegexProvider/Example/irc.abnf
9fbfba6d1907223dfd5ff8de2e3c380dac2f5769
ChernayaKoshka/Fab
{ "content": "; Pulled from https://tools.ietf.org/html/rfc2812#section-3\n; With some Errata applied:\n; * https://www.rfc-editor.org/errata/eid4289\n; * https://www.rfc-editor.org/errata/eid3783\n; * https://www.rfc-editor.org/errata/eid4836\n\n; The extracted message is parsed into the components <prefix>,\n; <command> and list of parameters (<params>).\n;\n; The Augmented BNF representation for this is:\n\nmessage = [ \":\" prefix SPACE ] command [ params ] crlf\nprefix = servername / ( nickname [ [ \"!\" user ] \"@\" host ] )\ncommand = 1*letter / 3digit\nparams = *14( SPACE middle ) [ SPACE \":\" trailing ]\nparams =/ 14( SPACE middle ) [ SPACE [ \":\" ] trailing ]\n\nnospcrlfcl = %x01-09 / %x0B-0C / %x0E-1F / %x21-39 / %x3B-FF\n ; any octet except NUL, CR, LF, \" \" and \":\"\nmiddle = nospcrlfcl *( \":\" / nospcrlfcl )\ntrailing = *( \":\" / \" \" / nospcrlfcl )\n\nSPACE = %x20 ; space character\ncrlf = %x0D %x0A ; \"carriage return\" \"linefeed\"\n\n\n; Most protocol messages specify additional semantics and syntax for\n; the extracted parameter strings dictated by their position in the\n; list. For example, many server commands will assume that the first\n; parameter after the command is the list of targets, which can be\n; described with:\ntarget = nickname / servername\nmsgtarget = msgto *( \",\" msgto )\nmsgto = channel / ( user [ \"%\" host ] \"@\" servername )\nmsgto =/ ( user \"%\" host ) / targetmask\nmsgto =/ nickname / ( nickname \"!\" user \"@\" host )\nchannel = ( \"#\" / \"+\" / ( \"!\" channelid ) / \"&\" ) chanstring [ \":\" chanstring ]\nservername = hostname\nhost = hostname / hostaddr\nhostname = shortname *( \".\" shortname )\nshortname = ( letter / digit ) *( letter / digit / \"-\" ) *( letter / digit )\n ; as specified in RFC 1123 [HNAME]\nhostaddr = ip4addr / ip6addr\nip4addr = 1*3digit \".\" 1*3digit \".\" 1*3digit \".\" 1*3digit\nip6addr = 1*hexdigit 7( \":\" 1*hexdigit )\nip6addr =/ \"0:0:0:0:0:\" ( \"0\" / \"FFFF\" ) \":\" ip4addr\nnickname = ( letter / special ) *8( letter / digit / special / \"-\" )\ntargetmask = ( \"$\" / \"#\" ) mask\n ; see details on allowed masks in section 3.3.1\nchanstring = *49(%x01-06 / %x08-09 / %x0B-0C / %x0E-1F / %x21-2B / %x2D-39 / %x3B-FF)\n ; any octet except NUL, BELL, CR, LF, \" \", \",\" and \":\"\nchannelid = 5( %x41-5A / digit ) ; 5( A-Z / 0-9 )\n\n; Other parameter syntaxes are:\nuser = 1*( %x01-09 / %x0B-0C / %x0E-1F / %x21-3F / %x41-FF )\n ; any octet except NUL, CR, LF, \" \" and \"@\"\nkey = 1*23( %x01-08 / %x0E-1F / %x21-7F )\n ; any 7-bit US_ASCII character,\n ; except NUL, CR, LF, FF, h/v TABs, and \" \"\nletter = %x41-5A / %x61-7A ; A-Z / a-z\ndigit = %x30-39 ; 0-9\nhexdigit = digit / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\nspecial = %x5B-60 / %x7B-7D\n ; \"[\", \"]\", \"\\\", \"`\", \"_\", \"^\", \"{\", \"|\", \"}\"\n\n\n; 2.5 Wildcard expressions\n;\n; When wildcards are allowed in a string, it is referred as a \"mask\".\n;\n; For string matching purposes, the protocol allows the use of two\n; special characters: '?' (%x3F) to match one and only one character,\n; and '*' (%x2A) to match any number of any characters. These two\n; characters can be escaped using the character '\\' (%x5C).\n;\n; The Augmented BNF syntax for this is:\nmask = *( nowild / noesc wildone / noesc wildmany )\nwildone = %x3F\nwildmany = %x2A\nnowild = %x01-29 / %x2B-3E / %x40-FF\n ; any octet except NUL, \"*\", \"?\"\nnoesc = %x01-5B / %x5D-FF\n ; any octet except NUL and \"\\\"\nmatchone = %x01-FF\n ; matches wildone\nmatchmany = *matchone\n ; matches wildmany" }
UTF-8
ABNF
3,778
duesee
b5152c72852dc1fc2f277bde92e382e291a4ecc5
22daeebfe28a0c1952620165fef3e80375a7ef13
/examples/assets/imap.abnf
ed952ec52e416c7d64f44345b59449090e5e7570
duesee/abnf
{ "content": "address = \"(\" addr-name SP addr-adl SP addr-mailbox SP addr-host \")\"\n\naddr-adl = nstring\n ; Holds route from [RFC-2822] route-addr if\n ; non-NIL\n\naddr-host = nstring\n ; NIL indicates [RFC-2822] group syntax.\n ; Otherwise, holds [RFC-2822] domain name\n\naddr-mailbox = nstring\n ; NIL indicates end of [RFC-2822] group; if\n ; non-NIL and addr-host is NIL, holds\n ; [RFC-2822] group name.\n ; Otherwise, holds [RFC-2822] local-part\n ; after removing [RFC-2822] quoting\n\naddr-name = nstring\n ; If non-NIL, holds phrase from [RFC-2822]\n ; mailbox after removing [RFC-2822] quoting\n\nappend = \"APPEND\" SP mailbox [SP flag-list] [SP date-time] SP literal\n\nastring = 1*ASTRING-CHAR / string\n\nASTRING-CHAR = ATOM-CHAR / resp-specials\n\natom = 1*ATOM-CHAR\n\nATOM-CHAR = %x21 / %x23-24 / %x26-27 / %x2B-5B / %x5E-7A / %x7C-7E\n ; mod: was <any CHAR except atom-specials>\n\natom-specials = \"(\" / \")\" / \"{\" / SP / CTL / list-wildcards / quoted-specials / resp-specials\n\nauthenticate = \"AUTHENTICATE\" SP auth-type *(CRLF base64)\n\nauth-type = atom\n ; Defined by [SASL]\n\nbase64 = *(4base64-char) [base64-terminal]\n\nbase64-char = ALPHA / DIGIT / \"+\" / \"/\"\n ; Case-sensitive\n\nbase64-terminal = (2base64-char \"==\") / (3base64-char \"=\")\n\nbody = \"(\" (body-type-1part / body-type-mpart) \")\"\n\nbody-extension = nstring / number / \"(\" body-extension *(SP body-extension) \")\"\n ; Future expansion. Client implementations\n ; MUST accept body-extension fields. Server\n ; implementations MUST NOT generate\n ; body-extension fields except as defined by\n ; future standard or standards-track\n ; revisions of this specification.\n\nbody-ext-1part = body-fld-md5 [SP body-fld-dsp [SP body-fld-lang [SP body-fld-loc *(SP body-extension)]]]\n ; MUST NOT be returned on non-extensible\n ; \"BODY\" fetch\n\nbody-ext-mpart = body-fld-param [SP body-fld-dsp [SP body-fld-lang [SP body-fld-loc *(SP body-extension)]]]\n ; MUST NOT be returned on non-extensible\n ; \"BODY\" fetch\n\nbody-fields = body-fld-param SP body-fld-id SP body-fld-desc SP body-fld-enc SP body-fld-octets\n\nbody-fld-desc = nstring\n\nbody-fld-dsp = \"(\" string SP body-fld-param \")\" / nil\n\nbody-fld-enc = (DQUOTE (\"7BIT\" / \"8BIT\" / \"BINARY\" / \"BASE64\"/ \"QUOTED-PRINTABLE\") DQUOTE) / string\n\nbody-fld-id = nstring\n\nbody-fld-lang = nstring / \"(\" string *(SP string) \")\"\n\nbody-fld-loc = nstring\n\nbody-fld-lines = number\n\nbody-fld-md5 = nstring\n\nbody-fld-octets = number\n\nbody-fld-param = \"(\" string SP string *(SP string SP string) \")\" / nil\n\nbody-type-1part = (body-type-basic / body-type-msg / body-type-text) [SP body-ext-1part]\n\nbody-type-basic = media-basic SP body-fields\n ; MESSAGE subtype MUST NOT be \"RFC822\"\n\nbody-type-mpart = 1*body SP media-subtype [SP body-ext-mpart]\n\nbody-type-msg = media-message SP body-fields SP envelope SP body SP body-fld-lines\n\nbody-type-text = media-text SP body-fields SP body-fld-lines\n\ncapability = (\"AUTH=\" auth-type) / atom\n ; New capabilities MUST begin with \"X\" or be\n ; registered with IANA as standard or\n ; standards-track\n\ncapability-data = \"CAPABILITY\" *(SP capability) SP \"IMAP4rev1\" *(SP capability)\n ; Servers MUST implement the STARTTLS, AUTH=PLAIN,\n ; and LOGINDISABLED capabilities\n ; Servers which offer RFC 1730 compatibility MUST\n ; list \"IMAP4\" as the first capability.\n\nCHAR8 = %x01-ff\n ; any OCTET except NUL, %x00\n\n; errata id: 261\ncharset = atom / quoted\n\ncommand = tag SP (command-any / command-auth / command-nonauth / command-select) CRLF\n ; Modal based on state\n\ncommand-any = \"CAPABILITY\" / \"LOGOUT\" / \"NOOP\" / x-command\n ; Valid in all states\n\ncommand-auth = append / create / delete / examine / list / lsub / rename / select / status / subscribe / unsubscribe\n ; Valid only in Authenticated or Selected state\n\ncommand-nonauth = login / authenticate / \"STARTTLS\"\n ; Valid only when in Not Authenticated state\n\ncommand-select = \"CHECK\" / \"CLOSE\" / \"EXPUNGE\" / copy / fetch / store / uid / search\n ; Valid only when in Selected state\n\ncontinue-req = \"+\" SP (resp-text / base64) CRLF\n\ncopy = \"COPY\" SP sequence-set SP mailbox\n\ncreate = \"CREATE\" SP mailbox\n ; Use of INBOX gives a NO error\n\ndate = date-text / DQUOTE date-text DQUOTE\n\ndate-day = 1*2DIGIT\n ; Day of month\n\ndate-day-fixed = (SP DIGIT) / 2DIGIT\n ; Fixed-format version of date-day\n\ndate-month = \"Jan\" / \"Feb\" / \"Mar\" / \"Apr\" / \"May\" / \"Jun\" / \"Jul\" / \"Aug\" / \"Sep\" / \"Oct\" / \"Nov\" / \"Dec\"\n\ndate-text = date-day \"-\" date-month \"-\" date-year\n\ndate-year = 4DIGIT\n\ndate-time = DQUOTE date-day-fixed \"-\" date-month \"-\" date-year SP time SP zone DQUOTE\n\ndelete = \"DELETE\" SP mailbox\n ; Use of INBOX gives a NO error\n\ndigit-nz = %x31-39\n ; 1-9\n\nenvelope = \"(\" env-date SP env-subject SP env-from SP\n env-sender SP env-reply-to SP env-to SP env-cc SP\n env-bcc SP env-in-reply-to SP env-message-id \")\"\n\nenv-bcc = \"(\" 1*address \")\" / nil\n\nenv-cc = \"(\" 1*address \")\" / nil\n\nenv-date = nstring\n\nenv-from = \"(\" 1*address \")\" / nil\n\nenv-in-reply-to = nstring\n\nenv-message-id = nstring\n\nenv-reply-to = \"(\" 1*address \")\" / nil\n\nenv-sender = \"(\" 1*address \")\" / nil\n\nenv-subject = nstring\n\nenv-to = \"(\" 1*address \")\" / nil\n\nexamine = \"EXAMINE\" SP mailbox\n\nfetch = \"FETCH\" SP sequence-set SP (\"ALL\" / \"FULL\" / \"FAST\" / fetch-att / \"(\" fetch-att *(SP fetch-att) \")\")\n\nfetch-att = \"ENVELOPE\" / \"FLAGS\" / \"INTERNALDATE\" /\n \"RFC822\" [\".HEADER\" / \".SIZE\" / \".TEXT\"] /\n \"BODY\" [\"STRUCTURE\"] / \"UID\" /\n \"BODY\" section [\"<\" number \".\" nz-number \">\"] /\n \"BODY.PEEK\" section [\"<\" number \".\" nz-number \">\"]\n\nflag = \"\\Answered\" / \"\\Flagged\" / \"\\Deleted\" / \"\\Seen\" / \"\\Draft\" / flag-keyword / flag-extension\n ; Does not include \"\\Recent\"\n\nflag-extension = \"\\\" atom\n ; Future expansion. Client implementations\n ; MUST accept flag-extension flags. Server\n ; implementations MUST NOT generate\n ; flag-extension flags except as defined by\n ; future standard or standards-track\n ; revisions of this specification.\n\nflag-fetch = flag / \"\\Recent\"\n\nflag-keyword = atom\n\nflag-list = \"(\" [flag *(SP flag)] \")\"\n\nflag-perm = flag / \"\\*\"\n\ngreeting = \"*\" SP (resp-cond-auth / resp-cond-bye) CRLF\n\nheader-fld-name = astring\n\nheader-list = \"(\" header-fld-name *(SP header-fld-name) \")\"\n\nlist = \"LIST\" SP mailbox SP list-mailbox\n\nlist-mailbox = 1*list-char / string\n\nlist-char = ATOM-CHAR / list-wildcards / resp-specials\n\nlist-wildcards = \"%\" / \"*\"\n\nliteral = \"{\" number \"}\" CRLF *CHAR8\n ; Number represents the number of CHAR8s\n\nlogin = \"LOGIN\" SP userid SP password\n\nlsub = \"LSUB\" SP mailbox SP list-mailbox\n\nmailbox = \"INBOX\" / astring\n ; INBOX is case-insensitive. All case variants of\n ; INBOX (e.g., \"iNbOx\") MUST be interpreted as INBOX\n ; not as an astring. An astring which consists of\n ; the case-insensitive sequence \"I\" \"N\" \"B\" \"O\" \"X\"\n ; is considered to be INBOX and not an astring.\n ; Refer to section 5.1 for further\n ; semantic details of mailbox names.\n\nmailbox-data = \"FLAGS\" SP flag-list / \"LIST\" SP mailbox-list /\n \"LSUB\" SP mailbox-list / \"SEARCH\" *(SP nz-number) /\n \"STATUS\" SP mailbox SP \"(\" [status-att-list] \")\" /\n number SP \"EXISTS\" / number SP \"RECENT\"\n\nmailbox-list = \"(\" [mbx-list-flags] \")\" SP (DQUOTE QUOTED-CHAR DQUOTE / nil) SP mailbox\n\nmbx-list-flags = *(mbx-list-oflag SP) mbx-list-sflag *(SP mbx-list-oflag) / mbx-list-oflag *(SP mbx-list-oflag)\n\nmbx-list-oflag = \"\\Noinferiors\" / flag-extension\n ; Other flags; multiple possible per LIST response\n\nmbx-list-sflag = \"\\Noselect\" / \"\\Marked\" / \"\\Unmarked\"\n ; Selectability flags; only one per LIST response\n\nmedia-basic = ((DQUOTE (\"APPLICATION\" / \"AUDIO\" / \"IMAGE\" / \"MESSAGE\" / \"VIDEO\") DQUOTE) / string) SP media-subtype\n ; Defined in [MIME-IMT]\n\nmedia-message = DQUOTE \"MESSAGE\" DQUOTE SP DQUOTE \"RFC822\" DQUOTE\n ; Defined in [MIME-IMT]\n\nmedia-subtype = string\n ; Defined in [MIME-IMT]\n\nmedia-text = DQUOTE \"TEXT\" DQUOTE SP media-subtype\n ; Defined in [MIME-IMT]\n\nmessage-data = nz-number SP (\"EXPUNGE\" / (\"FETCH\" SP msg-att))\n\nmsg-att = \"(\" (msg-att-dynamic / msg-att-static) *(SP (msg-att-dynamic / msg-att-static)) \")\"\n\nmsg-att-dynamic = \"FLAGS\" SP \"(\" [flag-fetch *(SP flag-fetch)] \")\"\n ; MAY change for a message\n\nmsg-att-static = \"ENVELOPE\" SP envelope / \"INTERNALDATE\" SP date-time /\n \"RFC822\" [\".HEADER\" / \".TEXT\"] SP nstring /\n \"RFC822.SIZE\" SP number /\n \"BODY\" [\"STRUCTURE\"] SP body /\n \"BODY\" section [\"<\" number \">\"] SP nstring /\n \"UID\" SP uniqueid\n ; MUST NOT change for a message\n\nnil = \"NIL\"\n\nnstring = string / nil\n\nnumber = 1*DIGIT\n ; Unsigned 32-bit integer\n ; (0 <= n < 4,294,967,296)\n\nnz-number = digit-nz *DIGIT\n ; Non-zero unsigned 32-bit integer\n ; (0 < n < 4,294,967,296)\n\npassword = astring\n\nquoted = DQUOTE *QUOTED-CHAR DQUOTE\n\nQUOTED-CHAR = (%x01-09 / %x0B-0C / %x0E-21 / %x23-5B / %x5D-7F) / \"\\\" quoted-specials\n ; mod: was <any TEXT-CHAR except quoted-specials> / \"\\\" quoted-specials\n\nquoted-specials = DQUOTE / \"\\\"\n\nrename = \"RENAME\" SP mailbox SP mailbox\n ; Use of INBOX as a destination gives a NO error\n\nresponse = *(continue-req / response-data) response-done\n\nresponse-data = \"*\" SP (resp-cond-state / resp-cond-bye /\n mailbox-data / message-data / capability-data) CRLF\n\nresponse-done = response-tagged / response-fatal\n\nresponse-fatal = \"*\" SP resp-cond-bye CRLF\n ; Server closes connection immediately\n\nresponse-tagged = tag SP resp-cond-state CRLF\n\nresp-cond-auth = (\"OK\" / \"PREAUTH\") SP resp-text\n ; Authentication condition\n\nresp-cond-bye = \"BYE\" SP resp-text\n\nresp-cond-state = (\"OK\" / \"NO\" / \"BAD\") SP resp-text\n ; Status condition\n\nresp-specials = \"]\"\n\nresp-text = [\"[\" resp-text-code \"]\" SP] text\n\n; errata id: 261\nresp-text-code = \"ALERT\" /\n \"BADCHARSET\" [SP \"(\" charset *(SP charset) \")\" ] /\n capability-data / \"PARSE\" /\n \"PERMANENTFLAGS\" SP \"(\"\n [flag-perm *(SP flag-perm)] \")\" /\n \"READ-ONLY\" / \"READ-WRITE\" / \"TRYCREATE\" /\n \"UIDNEXT\" SP nz-number / \"UIDVALIDITY\" SP nz-number /\n \"UNSEEN\" SP nz-number /\n atom [SP 1*(%x01-09 / %x0B-0C / %x0E-5C / %x5E-7F)]\n ; mod: was atom [SP 1*<any TEXT-CHAR except \"]\">]\n\n; errata id: 261\nsearch = \"SEARCH\" [SP \"CHARSET\" SP charset] 1*(SP search-key)\n ; CHARSET argument to MUST be registered with IANA\n\nsearch-key = \"ALL\" / \"ANSWERED\" / \"BCC\" SP astring /\n \"BEFORE\" SP date / \"BODY\" SP astring /\n \"CC\" SP astring / \"DELETED\" / \"FLAGGED\" /\n \"FROM\" SP astring / \"KEYWORD\" SP flag-keyword /\n \"NEW\" / \"OLD\" / \"ON\" SP date / \"RECENT\" / \"SEEN\" /\n \"SINCE\" SP date / \"SUBJECT\" SP astring /\n \"TEXT\" SP astring / \"TO\" SP astring /\n \"UNANSWERED\" / \"UNDELETED\" / \"UNFLAGGED\" /\n \"UNKEYWORD\" SP flag-keyword / \"UNSEEN\" /\n ; Above this line were in [IMAP2]\n \"DRAFT\" / \"HEADER\" SP header-fld-name SP astring /\n \"LARGER\" SP number / \"NOT\" SP search-key /\n \"OR\" SP search-key SP search-key /\n \"SENTBEFORE\" SP date / \"SENTON\" SP date /\n \"SENTSINCE\" SP date / \"SMALLER\" SP number /\n \"UID\" SP sequence-set / \"UNDRAFT\" / sequence-set /\n \"(\" search-key *(SP search-key) \")\"\n\nsection = \"[\" [section-spec] \"]\"\n\nsection-msgtext = \"HEADER\" / \"HEADER.FIELDS\" [\".NOT\"] SP header-list / \"TEXT\"\n ; top-level or MESSAGE/RFC822 part\n\nsection-part = nz-number *(\".\" nz-number)\n ; body part nesting\n\nsection-spec = section-msgtext / (section-part [\".\" section-text])\n\nsection-text = section-msgtext / \"MIME\"\n ; text other than actual body part (headers, etc.)\n\nselect = \"SELECT\" SP mailbox\n\nseq-number = nz-number / \"*\"\n ; message sequence number (COPY, FETCH, STORE\n ; commands) or unique identifier (UID COPY,\n ; UID FETCH, UID STORE commands).\n ; * represents the largest number in use. In\n ; the case of message sequence numbers, it is\n ; the number of messages in a non-empty mailbox.\n ; In the case of unique identifiers, it is the\n ; unique identifier of the last message in the\n ; mailbox or, if the mailbox is empty, the\n ; mailbox's current UIDNEXT value.\n ; The server should respond with a tagged BAD\n ; response to a command that uses a message\n ; sequence number greater than the number of\n ; messages in the selected mailbox. This\n ; includes \"*\" if the selected mailbox is empty.\n\nseq-range = seq-number \":\" seq-number\n ; two seq-number values and all values between\n ; these two regardless of order.\n ; Example: 2:4 and 4:2 are equivalent and indicate\n ; values 2, 3, and 4.\n ; Example: a unique identifier sequence range of\n ; 3291:* includes the UID of the last message in\n ; the mailbox, even if that value is less than 3291.\n\n; errata id: 261\nsequence-set = (seq-number / seq-range) [\",\" sequence-set]\n ; set of seq-number values, regardless of order.\n ; Servers MAY coalesce overlaps and/or execute the\n ; sequence in any order.\n ; Example: a message sequence number set of\n ; 2,4:7,9,12:* for a mailbox with 15 messages is\n ; equivalent to 2,4,5,6,7,9,12,13,14,15\n ; Example: a message sequence number set of *:4,5:7\n ; for a mailbox with 10 messages is equivalent to\n ; 10,9,8,7,6,5,4,5,6,7 and MAY be reordered and\n ; overlap coalesced to be 4,5,6,7,8,9,10.\n\nstatus = \"STATUS\" SP mailbox SP \"(\" status-att *(SP status-att) \")\"\n\nstatus-att = \"MESSAGES\" / \"RECENT\" / \"UIDNEXT\" / \"UIDVALIDITY\" / \"UNSEEN\"\n\n; errata id: 261\nstatus-att-val = (\"MESSAGES\" SP number) / (\"RECENT\" SP number) /\n (\"UIDNEXT\" SP nz-number) / (\"UIDVALIDITY\" SP nz-number) /\n (\"UNSEEN\" SP number)\n\n; errata id: 261\nstatus-att-list = status-att-val *(SP status-att-val)\n\nstore = \"STORE\" SP sequence-set SP store-att-flags\n\nstore-att-flags = ([\"+\" / \"-\"] \"FLAGS\" [\".SILENT\"]) SP (flag-list / (flag *(SP flag)))\n\nstring = quoted / literal\n\nsubscribe = \"SUBSCRIBE\" SP mailbox\n\ntag = 1*(%x21 / %x23-24 / %x26-27 / %x2C-5B / %x5D-7A / %x7C-7E)\n ; mod: was 1*<any ASTRING-CHAR except \"+\">\n\ntext = 1*TEXT-CHAR\n\nTEXT-CHAR = %x01-09 / %x0B-0C / %x0E-7F\n ; mod: was <any CHAR except CR and LF>\n\ntime = 2DIGIT \":\" 2DIGIT \":\" 2DIGIT\n ; Hours minutes seconds\n\nuid = \"UID\" SP (copy / fetch / search / store)\n ; Unique identifiers used instead of message\n ; sequence numbers\n\nuniqueid = nz-number\n ; Strictly ascending\n\nunsubscribe = \"UNSUBSCRIBE\" SP mailbox\n\nuserid = astring\n\nx-command = \"X\" atom <experimental command arguments>\n\nzone = (\"+\" / \"-\") 4DIGIT\n ; Signed four-digit value of hhmm representing\n ; hours and minutes east of Greenwich (that is,\n ; the amount that the given time differs from\n ; Universal Time). Subtracting the timezone\n ; from the given time will give the UT form.\n ; The Universal Time zone is \"+0000\".\n" }
UTF-8
ABNF
17,954
gnoliyil
7a5520a33a0f66cb3430f58636a5f81f39136505
2b1b459706bbac83dad951426927b5798e1786fc
/third_party/rust_crates/vendor/toml_edit-0.2.1/src/parser/toml.abnf
50d88f9d81032d867b8468ade3207834a149843a
gnoliyil/fuchsia
{ "content": ";; see https://github.com/toml-lang/toml/blob/master/toml.abnf" }
UTF-8
ABNF
62
quantum6
ac7f258b4e9c6766cd6fd2eb323dfe45697256a9
5abe089d154ae01779dcbde0fa6d4f84f2ceb059
/tinySDP/abnf/sdp.abnf
b92992bac44e1b4f9d322e5606436f33577ab609
quantum6/doubango-quantum6
{ "content": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;\n; RFC 5234 - ABNF CORE RULES\n;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\nOCTET= %x00-FF ; 8 bits of data\nCHAR= %x01-7F ; any 7-bit US-ASCII character, excluding NUL\nVCHAR= %x21-7E ; visible (printing) characters\nALPHA= %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT= %x30-39 ; 0-9\n \nCTL= %x00-1F / %x7F ; any US-ASCII control character: ; (octets 0 - 31) and DEL (127)\n \nHTAB= %x09 ; horizontal tab\nLF= %x0A ; linefeed\nCR= %x0D ; carriage return\nSP= %x20 ; space\nDQUOTE= %x22 ; \" (Double Quote)\nBIT= \"0\" / \"1\" \n \nHEXDIG= DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n \nCRLF= CR LF ; Internet standard newline\nWSP= SP / HTAB ; white space\nLWSP= *(WSP / CRLF WSP) ; linear white space (past newline)\n;---------------------------------------------------------------------------------------------------------\n\n\n\n\n\n\n\n\n\n\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;\n; RFC 4566 - SDP ABNF\n;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n" }
UTF-8
ABNF
1,198
wangjianjun0707
52ffae71f675eb8af68ad74a8b6b93ac4ba322df
5aeabf572a0c5a3831ad10a714c532c19f577b02
/demo/abnfofabnf.abnf
a98bac63dfd14d30ea36614181b10d781b20cde6
wangjianjun0707/abnf-parser-generator
{ "content": "rulelist=1*(rule/(*c-wsp c-nl))\nrule=rulename defined-as elements c-nl\nrulename=ALPHA *(ALPHA/DIGIT/\"-\")\ndefined-as=*c-wsp (\"=\"/\"=/\") *c-wsp\nelements=alternation *c-wsp\nc-wsp=WSP/(c-nl WSP)\nc-nl=comment/CRLF\ncomment=\";\" *(WSP/VCHAR) CRLF\nalternation=concatenation *(*c-wsp \"/\" *c-wsp concatenation)\nconcatenation=repetition *(1*c-wsp repetition)\nrepetition=[repeat] element\nrepeat=1*DIGIT/(*DIGIT \"*\" *DIGIT)\nelement=rulename/group/option/char-val/num-val/prose-val\ngroup=\"(\" *c-wsp alternation *c-wsp \")\"\noption=\"[\" *c-wsp alternation *c-wsp \"]\"\nchar-val=DQUOTE *(%x20-21/%x23-7E) DQUOTE\nnum-val=\"%\" (bin-val/dec-val/hex-val)\nbin-val=\"b\" 1*BIT [1*(\".\" 1*BIT)/(\"-\" 1*BIT)]\ndec-val=\"d\" 1*DIGIT [1*(\".\" 1*DIGIT)/(\"-\" 1*DIGIT)]\nhex-val=\"x\" 1*HEXDIG [1*(\".\" 1*HEXDIG)/(\"-\" 1*HEXDIG)]\nprose-val=\"<\" *(%x20-3D/%x3F-7E) \">\"\nALPHA=%x41-5A/%x61-7A\nBIT=\"0\"/\"1\"\nCHAR=%x01-7F\nCR=%x0D\nCRLF=CR LF\nCTL=%x00-1F/%x7F\nDIGIT=%x30-39\nDQUOTE=%x22\nHEXDIG=DIGIT/\"A\"/\"B\"/\"C\"/\"D\"/\"E\"/\"F\"\nHTAB=%x09\nLF=%x0A\nLWSP=*(WSP/CRLF WSP)\nOCTET=%x00-FF\nSP=%x20\nVCHAR=%x21-7E\nWSP=SP/HTAB\n" }
UTF-8
ABNF
1,050
asmwarrior
5b827f0f081cc3654cfcade7235a5d36ba899e36
ae97ae80061f2cef8bc626f038a0d8c19f3ced21
/tests/abnf/rfc7235.abnf
e37a5b1c66064b32e28d94e2569f5d1863a48664
asmwarrior/PeppaPEG
{ "content": "; Collected rules from RFC 7235\n; https://tools.ietf.org/html/rfc7235\n\nAuthorization = credentials\n\nProxy-Authenticate = *( \",\" OWS ) challenge *( OWS (\",\" / challenge) )\n\nProxy-Authorization = credentials\n\nWWW-Authenticate = *( \",\" OWS ) challenge *( OWS (\",\" / challenge) )\n\nauth-param = token BWS \"=\" BWS ( token / quoted-string )\n\nauth-scheme = token\n\nchallenge = auth-scheme [ 1*SP ( token68 / [ ( \",\" / auth-param ) *(OWS \",\" [ OWS auth-param ] ) ] ) ]\n\ncredentials = auth-scheme [ 1*SP ( token68 / [ ( \",\" / auth-param ) *( OWS \",\" [ OWS auth-param ] ) ] ) ]\n\ntoken68 = 1*( ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\" / \"+\" / \"/\" ) *\"=\"\n" }
UTF-8
ABNF
638
smudgelang
b475e41ba2d1836752c9585f5a3fb77acc036be4
a5709769103d38d94838a23069b96a8da606e679
/docs/definition/syntax.abnf
c619bee9eb14a36d89c0e7f5094030aa43a6a105
smudgelang/smudge
{ "content": ";;;;;;;;;;;;\n;; Parser ;;\n;;;;;;;;;;;;\n\n;; Module\nsmudgle = *state-machine-def\n\n;; Machine\nstate-machine-def = state-machine-name state-machine\nstate-machine-name = identifier\nstate-machine = state-machine-begin state-machine-body state-machine-end\nstate-machine-body = state-or-machine-def *(comma state-or-machine-def) [comma]\nstate-or-machine-def = state-def / state-machine-def\n\n;; State\nstate-def = [start-sigil] state-name (arrow / become / state)\nstate-name = identifier\nstate = [enter-exit] state-begin state-body state-end [enter-exit]\nenter-exit = enter-exit-begin [side-effect-list] enter-exit-end\nstate-body = event-or-machine-def *(comma event-or-machine-def) [comma]\nevent-or-machine-def = event-handler / state-machine-def\n\n;; Handler\nevent-handler = event-name (arrow / dash / become)\nevent-name = identifier\n\n;; Transitions\ndash = dash-empty / dash-begin [side-effect-list] dash-end\narrow = (arrow-empty / dash-begin [side-effect-list] arrow-end) state-name\nbecome = (become-empty / become-begin [side-effect-list] become-end)\n [(state-machine / state-machine-name) (dash / arrow)]\n\n;; Side effects\nside-effect-list = side-effect *(comma side-effect) [comma]\nside-effect = function-call / qualified-event\nfunction-call = foreign-identifier\nqualified-event = [state-machine-name dot] event-name\n" }
UTF-8
ABNF
1,324
rynxr
15d89aace23083782b04a00d3a72240f381078ad
919f12aa8d214419cedc932ab622ab19dd092441
/abnf/scadl.abnf
56838c772f3a14dc6fb5b39765b8994d341f0ee6
rynxr/SCADL
{ "content": "program = 1*(comment/def/evaluate)\ncomment = \"//\" *VCHAR \"\\n\"\ndef = %s\"let\" SVID \"=\" sv-expr \";\" / %s\"let\" CVID \"=\" cv-expr \";\" / %s\"$input\" \"(\" vid \")\" \";\" / %s\"let\" fid \"(\" fargs \")=\" block-st\nevaluate = %s\"eval\" output-st \";\"\nv-expr = sv-expr / cv-expr\nsv-expr = const-v / \"(\" sv-expr \")\" / SVID / SFID \"(\" rargs \")\" / sitem / (sv-uops sv-expr) / (sv-expr sv-bops sv-expr)\nsv-bops = \"*^\" / \"*\" / \"/\" / \"%\" / \"+\" / \"-\" / \"==\" / \"!=\" / \"<\"/\"<=\"/\">\"/\">=\" / \"&\" / \"|\" / \"^\" / \"&&\" / \"||\" sv-uops = \"~\" / \"!\"\ncv-expr = CVID / citems / CFID \"(\" rargs \")\" / cv-init / \"(\" cv-expr \")\" / (cv-uops cv-expr) / (cv-expr cv-bops cv-expr)\ncv-bops = \"*@^\"/\"*@\"/\"+\"/\"-\"/\"*\"/\"/\"/\"%\" /\"&\"/\"|\"/\"^\"/\"@>\"/\"@<\"/\"@-\"/\"@|\"\ncv-uops = \"@-|\" / \"@~\"\ncitems = CVID \"[\" cr 2(\",\" cr) \"]\"\nlitems = CVID \"[\" 2(lr \",\") cr \"]\"\nsitem = CVID \"[\" 2(sv-expr \",\")crbr \"]\"\ncvinit = \"C\" \"[\" 2(sv-expr \",\") cr \"]\" \".\" \"[\" 1*(sv-expr/litems) \"]\"\ncr = sv-expr \":\" sv-expr ;clipping range\nlr = sv-expr \"..\" sv-expr ;listing range\nfargs = [vid *(\",\" vid)]\nrargs = [v-expr *(\",\" v-expr)]\nblock-st = %s\"begin\" 1*(stmt) %s\"end\"\nstmt = def / output-st / if-st / loop-st / v-expr / block-st /\";\"\noutput-st = %s\"$output\" \"(\" vid \");\"\nif-st = %s\"if\" sv-expr block-st *(%s\"else\" block-st)\nloop-st = %s(\"loopup\"/\"loopdown\") block-st\nconst-v = (\"0x\" 1*(HEXDIG)) / %x30 / (%x31-39 *%x30-39) ;consts\nvid = SVID / CVID ;var id\nfid = SFID / CFID ;func id\nSVID = %s\"v\" (ALPHA/\"_\") *(ALPHA/DIGIT/\"_\")\nCVID = %s\"V\" (ALPHA/\"_\") *(ALPHA/DIGIT/\"_\")\nSFID = %s\"f\" (ALPHA/\"_\") *(ALPHA/DIGIT/\"_\")\nCFID = %s\"F\" (ALPHA/\"_\") *(ALPHA/DIGIT/\"_\") \nHEXDIG = DIGIT / %x41-46 / %x61-66 ;[A-Fa-f]\nALPHA = %x41-5A / %x61-7A ;[A-Za-z]\nDIGIT = %x30-39 ;[0,9]\nVCHAR = %x20-7E / %x09 ;visible characters\n" }
UTF-8
ABNF
2,012
DanStevens
939adff1b8df91b5e0d27f226328c4449eb0f1d0
9e4b2983b00e44a55f484aa4a1db8dab5f19a344
/date.abnf
c64ccace32e47f4d35fe1588d4df0b764c019262
DanStevens/learn-apg-exp
{ "content": "date = year sep month sep day\nyear = 4digit ; 4 digit year\nmonth = 2digit ; 2 digit month\nday = \"0\" digit1-9 ; 01-09\n / (\"1\"/\"2\") digit1-9 ; 10-29\n / \"3\" %d48-49 ; 30-31\n / digit1-9 ; 1-9\ndigit = %d48-57 ; digits 0-9\ndigit1-9 = %d49-57 ; digits 1-9\nsep = \"-\" / \"/\" \"/\" ; date component seperator" }
UTF-8
ABNF
624
mavidser
a613b7b6555e79c4b6796d684462efdbdcffb984
6d1da04af86e1a8ac43d7d0449d2d2e677728129
/oline.abnf
84e5dd7c4598f1f186be813b8ff35899c4b5f6ec
mavidser/oline-spec
{ "content": "; Add support for proper strings in value?\n\nmain = [oline] *wse\n\noline = oline-first *oline-else\n\noline-first = attributes-nonl text [nested-oline]\noline-else = attributes text [nested-oline]\n\nnested-oline = begin-suboline *oline-else end-suboline\n\nbegin-suboline = wse %x7B ; { Left curly bracket\nend-suboline = wse %x7D ; } Right curly bracket\n\n;; Text\n\ntext = single-letter-text / multiple-letter-text\n\nsingle-letter-text = unescaped-text-char / escaped-text-char\nmultiple-letter-text = 1*(single-letter-text) *(wse-char / single-letter-text) 1*(single-letter-text)\n\nunescaped-text-char = %x21-5A\nunescaped-text-char =/ %x5E-7A\nunescaped-text-char =/ %x7C\nunescaped-text-char =/ %x7E\nunescaped-text-char =/ non-ascii\n\nnon-ascii = %x80-D7FF / %xE000-10FFFF\n\nescaped-text-char = escape escape-text-seq-char\nescape = %x5C ; \\ Reverse solidus\nescape-text-seq-char = %x5B ; [ Left square bracket\nescape-text-seq-char =/ %x5C ; \\ Reverse solidus\nescape-text-seq-char =/ %x5D ; ] Right square bracket\nescape-text-seq-char =/ %x7B ; { Left curly bracket\nescape-text-seq-char =/ %x7D ; } Right curly bracket\n\n;; Attributes\n\nattributes = begin-attr [ attr *( attr-separator attr )] end-attr\nattributes-nonl = begin-attr-nonl [ attr *( attr-separator attr )] end-attr\n\nattr = key [ kv-separator value ]\nkey = ALPHA *(ALPHA / DIGIT / underscore)\nvalue = *(ALPHA / DIGIT / underscore / hyphen / ws)\n\nbegin-attr = wse %x5B ws ; [ Left square bracket\nbegin-attr-nonl = wse %x5B ws ; [ Left square bracket\nend-attr = ws %x5D wse ; ] Right square bracket\nattr-separator = ws %x2C ws ; , Comma\nkv-separator = ws %x3D ws ; = Equal\nunderscore = %x5F ; _ Underscore\nhyphen = %x2D ; _ Hyphen\n\n;; Whitespaces and Newlines\n\nws = *ws-char\nnl = *nl-char\nwse = *wse-char\n\nws-char = %x20 ; Space\nws-char =/ %x09 ; Horizontal tab\n\nnl-char = %x0A ; Line feed or New line\nnl-char =/ %x0D ; Carriage return\n\nwse-char = ws-char / nl-char\n\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9" }
UTF-8
ABNF
2,133
raml-org
c981f81adc0591b3246f03db36db395e17601d3e
bcfef48dd388d9debb396129ca30ea68b606afc8
/src/parser/test/data/gram/calc.abnf
87114b9700e70fb12bdfc3b83c722b621b86fbb4
raml-org/raml-js-parser-2
{ "content": "expr = fact 0*1(\"+\" fact)\nfact = term 0*1(\"*\" term)\nterm = number / (\"(\" expr \")\") / \"000\"\nnumber = (\"0\" / \"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\")" }
UTF-8
ABNF
169
GOKUPANG
9f8e87ab2c2a1a41d47f2d1a0491c43d95b08df3
629d6a58b8bf580080d0a6344e15a3fdca5567da
/huarui/Utilities/Voice/grammar.abnf
70d24f0bb021839ff61a5bc79771e4285bfb17f5
GOKUPANG/HuaRuiCloud
{ "content": "#ABNF 1.0 UTF-8;\r\nmode voice;\r\nlanguage zh-cn;\r\ntag-format <semantics/1.0>;\r\nmeta \"temp\" is \"digit\";\r\n\r\nroot $main;\r\npublic $main = $motor_ctrl \t\t\t//电机控制\r\n\t\t\t\t| $relay_ctrl \t\t//继电器设备控制\r\n\t\t\t\t| $air_ctrl \t\t//空调控制\r\n\t\t\t\t| $scene_ctrl;\t\t//情景模式\r\n\r\n/*******************************************↓↓窗帘控制↓↓********************************************************/\t\r\n\t\r\n$motor_ctrl = ([把]{out.device_type=\"电机\"}$room{out.room=rules.room; out.device_type=\"电机\";} [的]\r\n\t\t\t\t$curtain{out.device=rules.curtain} \r\n\t\t\t\t$motor_act{out.action=rules.motor_act} )\r\n\t\t\t\t | \r\n\t\t\t\t({out.device_type=\"电机\";}$motor_act{out.action=rules.motor_act;} \r\n\t\t\t\t$room{out.room=rules.room;} [的]\r\n\t\t\t\t$curtain{out.device=rules.curtain} )\r\n\t\t\t\t|\r\n\t\t\t\t([把]{out.device_type=\"电机\"}\r\n\t\t\t\t$curtain{out.device=rules.curtain} \r\n\t\t\t\t$motor_act{out.action=rules.motor_act} );\r\n\r\n\r\n$motor_device = $curtain{out=\"窗帘\";} ;\r\n\r\n\t\r\n$motor_act = $motor_act_off{out=\"关\";} | $motor_act_on{out=\"开\";} | $motor_act_stop{out=\"停\";};\r\n\r\n$motor_act_on = 拉开 | 打开 | 开 | 开启 | 拉下来 | 拉下;\r\n\r\n$motor_act_off = 闭合 | 拉上 | 拉上去 | 合上 | 合拢 | 靠上 | 关 | 关闭 | 关了;\r\n\r\n$motor_act_stop = 停 | 停止 | 停了 | 暂停 | 停下;\r\n\r\n/********************************↓↓空调控制↓↓**********************************/\r\n\r\n$air_ctrl = $only_airdevice | $room_airdevice | $floor_room_airdevice ;\r\n\r\n$only_airdevice = [把]$air_device{out.device_type=\"空调\"} $air_action ;\t\r\n\r\n$room_airdevice = [把] $room{out.room=rules.room} [的] $air_device{out.device_type=\"空调\"} $air_action ;\t\t\r\n\r\n$floor_room_airdevice= [把] $floor{out.floor=rules.floor} $room{out.room=rules.room} [的] $air_device{out.device_type=\"空调\"} $air_action ;\t\r\n\r\n$air_action = $action_temp | $action_speed | $action_mode ;\r\n\r\n$action_temp = [调到 | 设为] $temp{out.temp=rules.temp;}度 ;\r\n\r\n$action_speed = [风速调到 | 风速设为 | 风速调为] $air_speed{out.speed=rules.air_speed} [风速] ; \r\n\r\n$action_mode = [模式 | 模式设为 | 调为 | 调到] $air_mode{out.mode=rules.air_mode} [模式] ;\r\n\r\n$air_speed = 自动{out=\"0\"} |\r\n \t\t\t一级{out=\"1\"} | \r\n \t\t\t一档{out=\"1\"} | \r\n\t\t\t低{out=\"1\"} | \r\n\t\t\t低速{out=\"1\"} | \r\n\t\t\t二级{out=\"2\"} | \r\n\t\t\t二档{out=\"2\"} | \r\n\t\t\t中{out=\"2\"} | \r\n\t\t\t中速{out=\"2\"} | \r\n\t\t\t三级{out=\"3\"} |\r\n\t\t\t三档{out=\"3\"} |\r\n\t\t\t高{out=\"2\"} |\r\n\t\t\t高速{out=\"2\"} ; \r\n\r\n$air_mode = 自动 | 制冷 | 制热 | 除湿 | 通风 | 强力 ;\r\n\r\n$air_device = 空调{out=\"空调\";} | \r\n\t\t\t制冷{out=\"空调\";} | \r\n\t\t\t空调机{out=\"空调\";} | \r\n\t\t\t中央空调{out=\"空调\";} | \r\n\t\t\t温度{out=\"空调\";} ;\r\n\r\n$temp = 十六{out=\"16\"} | 十七{out=\"17\"} | \r\n\t\t十八{out=\"18\"} | 十九{out=\"19\"} | \r\n\t\t二十{out=\"20\"} | 二十一{out=\"21\"} | \r\n\t\t二十二{out=\"22\"} | 二十三{out=\"23\"} | \r\n\t\t二十四{out=\"24\"} | 二十五{out=\"25\"} | \r\n\t\t二十六{out=\"26\"} | 二十七{out=\"27\"} | \r\n\t\t二十八{out=\"28\"} | 二十九{out=\"29\"} | \r\n\t\t三十{out=\"30\"} | 三十一{out=\"31\"} | \r\n\t\t三十二{out=\"32\"};\r\n\r\n/*****************************↓↓继电器控制↓↓***********************************/\r\n\t\r\n$relay_ctrl = $device_action | $action_device ;\t\r\n$action_device = {out.device_type=\"继电器\";}$action{out.action=rules.action} $device{out.device=rules.device} ;\r\n$device_action = [把|帮我把|请帮我把]{out.device_type=\"继电器\";}$device{out.device=rules.device} $action{out.action=rules.action} ;\r\n\r\n$action = $on{out=\"开\";} | $off{out=\"关\";} ;\r\n\r\n\r\n$on = 开|开启 | 打开 | 通电 | 通 | 亮 | 点亮 | \r\n\topen!en-us | on!en-us | \"turn on\"!en-us ;\r\n\r\n$off = 关 | 关了 | 关闭 |熄灭 |熄了| 熄灯| 灭 |灭了|断电| 断| 切断| \r\n\t\"turn off\"!en-us | off!en-us |close!en-us ;\r\n\t\t\r\n/****************************↓↓情景模式↓↓************************************/\r\n\t\t\r\n$scene_ctrl = [启动|打开]{out.device_type=\"情景\"}$scene{out.scene=rules.scene}[模式];\r\n\r\n//$device 设备列表 \r\n//$curtain 窗帘/电机列表\r\n//$scene 情景列表\r\n//$room 房间列表\r\n//$floor 楼层列表" }
UTF-8
ABNF
4,111
ohayoubaka
f6a290f581a91193dde76d396266ecb1d5420148
1472406cf63193a7f98327957b0566a88d8718fa
/system/product/usr/srec/en-US/commands.abnf
1d3e51aa0f2f6436d1fc103becfadad0452d4b5b
ohayoubaka/MARS_SOM
{ "content": "// Copyright 2012 Google Inc. All Rights Reserved.\n//\n// Grammar used for disambiguation of results and for confirming or\n// canceling a call.\n\ntag-semantics <literal>;\n\n$root = /0.15/ $COMMAND | /0.85/ $OTHER;\n\n$COMMAND = cancel {_cancel} | okay {_okay} | $DISAMBIG;\n\n$DISAMBIG = select $digit;\n$digit = $digit1 | $digit2 | $digit3;\n$digit1 = 1 {_select_1};\n$digit2 = 2 {_select_2};\n$digit3 = 3 {_select_3};\n\n$OTHER = ($OTHER_WORDS<1->) {_other};\n$OTHER_WORDS =\n the |\n be |\n to |\n of |\n and |\n a |\n in |\n that |\n have |\n i |\n it |\n for |\n not |\n on |\n with |\n he |\n as |\n you |\n do |\n at |\n this |\n but |\n his |\n by |\n from |\n they |\n we |\n say |\n her |\n she |\n or |\n an |\n will |\n my |\n all |\n would |\n there |\n their |\n what |\n so |\n up |\n out |\n if |\n about |\n who |\n get |\n which |\n go |\n me |\n when |\n make |\n can |\n like |\n time |\n no |\n just |\n him |\n know |\n take |\n person |\n into |\n year |\n your |\n good |\n some |\n could |\n them |\n see |\n other |\n than |\n then |\n now |\n look |\n only |\n come |\n its |\n over |\n think |\n also |\n back |\n after |\n use |\n how |\n our |\n work |\n first |\n well |\n way |\n even |\n new |\n want |\n because |\n any |\n these |\n give |\n day |\n most |\n us\n ;\n" }
UTF-8
ABNF
1,881
bver
ce97c3ae97af22f22c870aab67390f5386736fe5
6d0832b3aae9e1efe02476217a3b391990ddd0fb
/sample/pid/grammar.abnf
f57b0c0507eceaaad5d08fd58709864d950e042b
bver/GERET
{ "content": "\nprogram = [ \" v1 = \" expr \";\" ]\n [ \" v2 = \" expr \";\" ]\n [ \" v3 = \" expr \";\" ] \n [ \" v4 = \" expr \";\" ]\n [ \" v5 = \" expr \";\" ]\n \" y = \" expr \";\"\n\nexpr = expr op expr / \n \"(\" expr op expr \")\" /\n var\n\nop = \"+\" / \"-\" / \"/\" / \"*\"\n\nvar = constant / \"x[1]\" / \"x[2]\" / \"v1\" / \"v2\" / \"v3\" / \"v4\" / \"v5\"\n \nconstant = \"1.0\" / \"0.5\" / \"0.2\" / \"0.1\"\n\n" }
UTF-8
ABNF
403
fullstackwiki
d3df1dc0a3ebb798f6bf9cea9c61104562fc267b
4b6d507f862cde4d850ec01625bae7e36183402f
/lib/nearley-abnf/test/fixtures/test.abnf
b4134737dcb17ad5365c20d62f16d390471015b3
fullstackwiki/fullstackwiki
{ "content": "\na = \"a\"\n\nb = *a\n\nc = 1*a\n\nd = 0*1a\n\ne = [ a ] 1*a\n\nf = \"<\" a \">\"\n\ng = 1*f\n" }
UTF-8
ABNF
75
matteobilardi
bbfcc1fe5e1bf1b0030fd9ee3808ebd4a094efba
dd2e5368b1af3d1089b6a4b33e6e9e929eebb71b
/server/grammar_lsp.abnf
ee87160835bcc62eb4aedb43e5da92dad7be532d
matteobilardi/flint-language-server
{ "content": "; FLINT GRAMMAR (RFC 7405)\n\n; TOP LEVEL\ntopLevelModule = 1*(topLevelDeclaration CRLF);\n\ntopLevelDeclaration = contractDeclaration\n\n; CONTRACTS\n; [identifierGroup] is a list of type states \ncontractDeclaration = %s\"contract\" SP identifier SP [identifierGroup] SP \"{\" *(WSP variableDeclaration CRLF) \"}\";\n\n; VARIABLES\nvariableDeclaration = [*(modifier SP)] WSP (%s\"var\" / %s\"let\") SP identifier typeAnnotation [WSP \"=\" WSP expression];\n\n; TYPES\ntypeAnnotation = \":\" WSP type;\n\n; what is the first type?\ntype = identifier [\"<\" type *(\",\" WSP type) \">\"]\n / basicType\n / arrayType\n / fixedArrayType\n / dictType;\n\nbasicType = %s\"Bool\"\n / %s\"Int\"\n / %s\"String\"\n / %s\"Address\";\n\narrayType = \"[\" type \"]\";\nfixedArrayType = type \"[\" numericLiteral \"]\";\ndictType = \"[\" type \":\" WSP type \"]\";\n\n\n; EVENTS ; events are not in da declaration??\neventDeclaration = %s\"event\" identifer \"{\" *(variableDeclaration) \"}\"\n\n; ACCESS GROUPS\nidentifierGroup = \"(\" identifierList \")\";\nidentifierList = identifier *(\",\" WSP identifier)\n\nmodifier = %s\"public\"\n / %s\"mutating\"\n / %s\"visible\";\n\n; EXPRESSIONS\nexpression = identifier\n / inOutExpression\n / binaryExpression\n / literal\n / arrayLiteral\n / dictionaryLiteral\n / self\n / variableDeclaration\n / bracketedExpression\n / subscriptExpression\n\ninOutExpression = \"&\" expression;\n\nbinaryOp = \"+\" / \"-\" / \"*\" / \"/\" / \"**\"\n / \"&+\" / \"&-\" / \"&*\"\n / \"=\"\n / \"==\" / \"!=\"\n / \"+=\" / \"-=\" / \"*=\" / \"/=\"\n / \"||\" / \"&&\"\n / \">\" / \"<\" / \"<=\" / \">=\"\n / \".\";\n\nbinaryExpression = expression WSP binaryOp WSP expression;\n\nself = %s\"self\"\n\nbracketedExpression = \"(\" expression \")\";\n\nsubscriptExpression = subscriptExpression \"[\" expression \"]\";\n / identifier \"[\" expression \"]\";\n\n; LITERALS\nidentifier = ( ALPHA / \"_\" ) *( ALPHA / DIGIT / \"$\" / \"_\" );\nliteral = numericLiteral\n / stringLiteral\n / booleanLiteral\n / addressLiteral;\n\nnumber = 1*DIGIT;\nnumericLiteral = decimalLiteral;\ndecimalLiteral = number\n / number \".\" number;\n\naddressLiteral = %s\"0x\" 40HEXDIG;\n\narrayLiteral = \"[]\";\ndictionaryLiteral = \"[:]\";\n\nbooleanLiteral = %s\"true\" / %s\"false\";\nstringLiteral = \"\"\" identifier \"\"\";\n" }
UTF-8
ABNF
2,404
netconf-wg
f1d1b51f091b6764947fa58d1b5ce4c682bcc507
c9f645ae609b69dc0717a0b24c00d5c71b7a0ff7
/api-path.abnf
6ea8792c15058a4e01161572b16db317a810e1fc
netconf-wg/restconf
{ "content": "api-path = root *(\"/\" (api-identifier / list-instance))\n\nroot = string ;; replacement string for {+restconf}\n\napi-identifier = [module-name \":\"] identifier\n\nmodule-name = identifier\n\nlist-instance = api-identifier \"=\" key-value *(\",\" key-value)\n\nkey-value = string ;; constrained chars are percent-encoded\n\nstring = <an unquoted string>\n\nidentifier = (ALPHA / \"_\")\n *(ALPHA / DIGIT / \"_\" / \"-\" / \".\")\n\n" }
UTF-8
ABNF
418
triflicacid
5c890c1990d85780f55045a0f479762833b426b6
5ac907275f3fdac9f9c9ff1857cdb84f37c9823c
/ABNF/tests/eval/num.abnf
5feb1b30317fe3c166db1806fdabab39bd3d0de3
triflicacid/cpp-abnf
{ "content": "var = %d82 %d117.98.101.110\n!test var, Ruben" }
UTF-8
ABNF
44
jbenner-radham
f1dea660da9ba9c219d9fb7fa79e6811a7affcbf
1ce623e501a9ca87afb4166aa58b0fa9e1ca745e
/data/abnf/org.abnf
c0268135bec7d1815bd9f61a404d749dd0b639e1
jbenner-radham/jcard-to-vcard
{ "content": "ORG-param = \"VALUE=text\" / sort-as-param / language-param\n / pid-param / pref-param / altid-param / type-param\n / any-param\nORG-value = component *(\";\" component)\n" }
UTF-8
ABNF
181
pydanny
89e92b03ea94a96bed37b6b1523f8837c5861419
42ac672183d9c61794c6c07440ee0fa791296189
/tests/examplefiles/abnf_example1.abnf
5cd9cd2573bf126f2ee06ddf972857f0ea2f003d
pydanny/pygments-custom
{ "content": "; This examples from WikiPedia <https://en.wikipedia.org/wiki/Augmented_Backus%E2%80%93Naur_Form>.\n\n postal-address = name-part street zip-part\n\n name-part = *(personal-part SP) last-name [SP suffix] CRLF\n name-part =/ personal-part CRLF\n\n personal-part = first-name / (initial \".\")\n first-name = *ALPHA\n initial = ALPHA\n last-name = *ALPHA\n suffix = (\"Jr.\" / \"Sr.\" / 1*(\"I\" / \"V\" / \"X\"))\n\n street = [apt SP] house-num SP street-name CRLF\n apt = 1*4DIGIT\n house-num = 1*8(DIGIT / ALPHA)\n street-name = 1*VCHAR\n\n zip-part = town-name \",\" SP state 1*2SP zip-code CRLF\n town-name = 1*(ALPHA / SP)\n state = 2ALPHA\n zip-code = 5DIGIT [\"-\" 4DIGIT]\n" }
UTF-8
ABNF
810
jmitchell
c0b34b6446c50919b1a4339798567567d2fc8637
02a4a8ea98638ff0962c804a18f0643a56a8ca0a
/examples/abnf/generated/core_WSP.abnf
eb2cf2fa64bd92cdfcb5ee6ec77b1a7b092d1397
jmitchell/abnf-to-tree-sitter
{ "content": "start = WSP\r\n" }
UTF-8
ABNF
13
vipinsingh211
17a47862101f6de540221608246f8a45d00b94a6
6d52688cc9fd01a90c4e59cf928f43aac2163d26
/src/rfc4234_core.abnf
b8910f0313fa7c012b0823ce47e7e3cc7525da3b
vipinsingh211/pran
{ "content": "ALPHA = %x41-5A/ %x61-7A\n\nBIT = \"0\"/ \"1\"\n\nCHAR = %x01-7F\n\nCR = %x0D\n\nCRLF = LF/ (CR LF)\n\nCTL = %x00-1F/ %x7F\n\nDIGIT = %x30-39\n\nDQUOTE = %x22\n\nHEXDIG = DIGIT/ \"A\"/ \"B\"/ \"C\"/ \"D\"/ \"E\"/ \"F\"\n\nHTAB = %x09\n\nLF = %x0A\n\nLWSP = *(WSP/ CRLF WSP)\n\nOCTET = %x00-FF\n\nSP = %x20\n\nVCHAR = %x21-7E\n\nWSP = SP/ HTAB\n\n" }
UTF-8
ABNF
475
massemanet
b0a040f5bfb6b674255afd7dd7a05272fa86d246
dd3c0e2d76a62cae99913514f7b3484344fbe3b2
/samples/rfc3325/rfc3325.abnf
1051d5403bc7a9e79be4f058556dc60b7b721338
massemanet/abnfc
{ "content": "PAssertedID = \"P-Asserted-Identity\" HCOLON PAssertedID-value\n *(COMMA PAssertedID-value)\n\nPAssertedID-value = name-addr / addr-spec\n\nPPreferredID = \"P-Preferred-Identity\" HCOLON PPreferredID-value\n *(COMMA PPreferredID-value)\n\nPPreferredID-value = name-addr / addr-spec\n" }
UTF-8
ABNF
314
jbenner-radham
3f11923947953c16e9442e9a445f96b6c9b856a5
1ce623e501a9ca87afb4166aa58b0fa9e1ca745e
/data/abnf/nickname.abnf
53b1bba63ec4362ef0fd5baac23865845703f529
jbenner-radham/jcard-to-vcard
{ "content": "NICKNAME-param = \"VALUE=text\" / type-param / language-param\n / altid-param / pid-param / pref-param / any-param\nNICKNAME-value = text-list\n" }
UTF-8
ABNF
153
dingxiangfei2009
a0bc8ee2db251a425fe3e66f8fbdf16011166393
36a4291ecfa154bcbedbe222ce883c987a374c49
/nix-parser/grammar.abnf
b81a6b8351706288198653b91a6f2b6825846139
dingxiangfei2009/nix-language-server
{ "content": "; ABNF (RFC5234) syntax for Nix\n; Use UTF-8 encoding\n;\nend-of-line = %x0A / %x0D.0A\ncomment-line = %x23 chars end-of-line\nsingle-quote = %x27 ; '\ndouble-quote = %x22 ; \"\nbackslash = %x5C ; \\\ndollar = %x24 ; $\nleft-curly-bracket = %x7B ; {\nright-curly-bracket = %x7D ; }\nleft-square-bracket = %x5B ; [\nright-square-bracket = %x5D ; ]\nleft-round-bracket = %x28 ; (\nright-round-bracket = %x29 ; )\nat = %x40 ; @\nlet = %x6C.65.74 ; let\nin = %x69.6E ; in\nquestion = %x3F ; ?\nif = %x69.66 ; if\nthen = %x74.68.65.6E ; then\nelse = %x65.6C.73.65 ; else\nsemicolon = %x3B ; ;\ncolon = %x3A ; :\ncomma = %x2C ; ,\nwith = %x77.69.74.68; with\nassert = %x61.73.73.65.72.74 ; assert\nor = %x6F.72 ; or\nrec = %x72.65.63 ; rec\ninherit = %x69.6E.68.65.72.69.74 ; inherit\nplus = %x2B; +\nminus = %x2D ; -\nhyphen = minus ; -\nmultiply = %x2A ; *\ndivide = %x2F ; /\ndot = %x2E ; .\nnot = %x21 ; !\nless = %x3C ; <\nless-equal = %x3C.3D ; <=\nequal = %x3D ; =\ngreater = %x3E ; >\ngreater-equal = %x3E.3D ; >=\nset-update = %x2F.2F ; //\nlogic-imply = %x2D.3E ; ->\nlogic-equal = %x3D.3D ; ==\nlogic-not-equal = %x21.3D ; !=\nlogic-and = %x26.26 ; &&\nlogic-or = %x7C.7C ; ||\nantiquote-start = %x24.7B ; ${\nantiquote-end = right-curly-bracket ; }\n\ndouble-quote-string = double-quote double-quote-string-continue ; no backtracking on second non-terminal\n\ndouble-quote-escapable = backslash / double-quote / dollar / \"n\" / \"t\" / \"r\"\n\n; tokenizer: there is no token separator for this non-terminal and preserve new lines and tabs\n; folding non-terminal\ndouble-quote-string-continue =\n double-quote\n / backslash double-quote-escapable double-quote-string-continue ; no backtracking on second non-terminal\n / dollar left-curly-bracket expr right-curly-bracket double-quote-string-continue ; no backtracking on second non-terminal\n\nsingle-quote-string = 2*2(single-quote) single-quote-string-continue ; no backtracking on second non-terminal\n\n; tokenizer: there is no token separator for this non-terminal and preserve new lines and tabs\n; folding non-terminal\nsingle-quote-string-continue =\n 3*3(single-quote) single-quote-string-continue ; backtrack\n / 2*2(single-quote) dollar single-quote-string-continue ; backtrack\n / 2*2(single-quote) backslash single-quote-string-continue ; backtrack\n / dollar left-curly-bracket expr right-curly-bracket single-quote-string-continue ; no backtracking on third non-terminal\n / 2*2(single-quote) ; backtrack, terminated\n / anychar single-quote-string-continue\n\nexpr =\n with expr semicolon ; backtrack\n / assert expr semicolon ; backtrack\n / let set-bindings in expr ; backtrack\n ; function\n / left-curly-bracket formal-args right-curly-bracket [ at ident ] colon expr ; backtrack\n / ident at left-curly-bracket formal-args right-curly-bracket colon expr ; backtrack\n / logic-imply-expr\n / sum-expr\n\nlogic-imply-expr = logic-expr logic-imply (logic-imply-expr / logic-expr)\n\nlogic-or-expr = logic-and-expr [ logic-or logic-or-expr ]\n\nlogic-and-expr = cmp-expr [ logic-and logic-and-expr ]\n\ncmp-expr = sum-expr [ ( less / greater / less-equal / greater-equal / logic-equal / logic-not-equal ) sum-expr ]\n\n; left-associative non-terminal\nsum-expr = prod-expr plus sum-expr / prod-expr minus sum-expr / prod-expr\n\n; left-associative non-terminal\nprod-expr = unary-expr multiply prod-expr / unary-expr divide prod-expr / unary-expr\n\nunary-expr = not membership-expr / minus membership-expr / membership-expr\n\n; try non-terminal\nmembership-expr =\n app-expr [\n question ident\n / question antiquote-start expr antiquote-end\n / question string\n ]\n\nunary-expr-in-list = not membership-expr-in-list / minus membership-expr-in-list / membership-expr-in-list\n\n; try non-terminal\nmembership-expr-in-list =\n atomic-expr [\n question ident\n / question antiquote-start expr antiquote-end\n / question string\n ]\n\n; left-associative non-terminal\napp-expr = atomic-expr app-expr / atomic-expr\n\natomic-expr =\n single-quote-string\n / double-quote-string\n ; set family\n / [rec / let] left-curly-bracket set-bindings right-curly-bracket ; no backtracking on second non-terminal, soft-bail on second non-terminal terminating on third non-terminal\n\n ; sub expr\n / left-round-bracket expr right-round-bracket ; no backtracking on second non-terminal, soft-bail on second non-terminal terminating on third non-terminal\n\n ; list\n / left-square-bracket list-elements right-square-bracket ; no backtracking on second non-terminal, soft-bail on second non-terminal terminating on third non-terminal\n\n ; conditional\n / if expr then expr else expr ; no backtracking on second non-terminal, soft-bail on second non-terminal terminating on third non-terminal; soft-bail on fourth non-terminal terminating on fifth non-terminal\n\n / path\n / url\n / proj-expr\n / ident\n / number\n\nproj-expr = initial-member-access [ or unary-expr ]\n\n; left-associative non-terminal\ninitial-member-access = ident dot member-access\nmember-access =\n string [ dot member-access ]\n / antiquote-start expr antiquote-end [ dot member-access ]\n / ident expr antiquote-end [ dot member-access ]\n\nident-list = (ident / antiquote-start expr antiquote-end) [ ident-list ]\n\nset-bindings =\n inherit [ left-round-bracket expr right-round-bracket ] ident-list semicolon [ set-bindings ] ; no backtracking on third non-terminal, soft-bail on second non-terminal\n / antiquote-start expr antiquote-end equal expr semicolon [ set-bindings ] ; no backtracking on third non-terminal, soft-bail on second and fifth non-terminal\n / ident equal expr semicolon [ set-bindings ] ; no backtracking on third non-terminal, soft-bail on third non-terminal\n\nlist-elements = unary-expr-in-list [ list-elements ]\n\npath = PATH-REGEX\nurl = URL-REGEX\nident = ident-REGEX\nnumber = number-REGEX\n" }
UTF-8
ABNF
5,785
hugoby
cb3d70eabad6f587daff83dbb16f5f596c06ae16
17ed432306c8138bed0eda4ed27bc85484757554
/app/src/main/assets/contral_sample.abnf
1096163a10b1dc356ce1188af4303867f1317cdb
hugoby/VoiceToWord
{ "content": "#ABNF 1.0 gb2312;\nlanguage zh-CN; \nmode voice;\n\nroot $main;\n$main = $control1 | $control2;\n$control1= 启动 | 停止 | 锁定 | 解锁 | 静音 | 取消静音 | 帮助;\n$control2 = $place1 $place2;\n$place1 = 打开 | 关闭;\n$place2 = A模式 | B模式 | C模式 | D模式;" }
UTF-8
ABNF
274
bver
c2bf0f473c533e07ee57a08ac2aa79dac55bd111
6d0832b3aae9e1efe02476217a3b391990ddd0fb
/sample/fcl_synthesis/grammar.abnf
cc17a0f8a2fe383fb1eb043b6f7f3520ccb1b3cf
bver/GERET
{ "content": "\nblock = \"RULEBLOCK main\" LF \n \" AND : MIN;\" LF \n \" ACCU : MAX;\" LF\n rules\n \"END_RULEBLOCK\"\n\nrules = \" RULE 1 : \" rule \n [ \" RULE 2 : \" rule\n [ \" RULE 3 : \" rule \n [ \" RULE 4 : \" rule \n [ \" RULE 5 : \" rule ]]]]\n\nrule = \"IF \" condition \" THEN \" conclusion \";\" LF\n\ncondition = subcondition [ bool_operator condition ]\n \nbool_operator = \" AND \" / \" OR \"\n\nsubcondition = positive_subcondition \n / ( \"NOT ( \" positive_subcondition \" ) \" )\n / ( \" ( \" positive_subcondition \" ) \" )\n\npositive_subcondition = food_subcondition / service_subcondition\n\nfood_subcondition = \"food IS \" ( \"rancid\" / \"delicious\" ) \n\nservice_subcondition = \"service IS \" ( \"poor\" / \"good\" / \"excellent\" ) \n\nconclusion = \"tip IS \" ( \"cheap\"/ \"average\" / \"generous\" )\n\n\n" }
UTF-8
ABNF
819
wwrobell
1a640df06aa5b073ea5b3a133808acbfc01d012d
67b4b3f15ba7e06de03fd65dee9e3bd98d810c41
/grammars/cyfry.abnf
030091019662df32fde93cf384b8e10017bbacc7
wwrobell/ivr-system
{ "content": "#ABNF 1.0;\nlanguage pl-pl;\nmode voice;\nroot $root;\ntag-format <semantics/1.0-literals>;\n\n$root = ($word) <1-10>;\n\n$word = (jeden | raz) | dwa | trzy | cztery | pięć | sześć | siedem | osiem | dziewięć | zero;\n" }
UTF-8
ABNF
215
bver
82ed0b0379a2ad3d0a076868ed52ba2e6168223b
6d0832b3aae9e1efe02476217a3b391990ddd0fb
/test/data/knapsack.abnf
d609555e0808c01effe47aa1bdc66272361e1513
bver/GERET
{ "content": "\nS = K\n\nK = I / I K\n\nI = \"i1\" / \"i2\" / \"i3\"\n\n" }
UTF-8
ABNF
45
sainteos
e49242774ce88416093457ec6835c539891d97b2
2d6428cca481f832b816bfe97db650bbaa4e04c0
/test/resources/basic.abnf
6c5d55025cf9b310a2bc1bf0ab19465e4a2c18c1
sainteos/ex_abnf
{ "content": "ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\r\nDIGIT = %x30-39\r\n\r\nstring1 = *ALPHA\r\nstring2 = *3ALPHA\r\nstring3 = 1*2ALPHA\r\nstring4 = 3*ALPHA\r\nstring5 = [DIGIT] string1\r\n" }
UTF-8
ABNF
183
sainteos
0eca69407b4861d830954582b5b2df2ebd9cb970
2d6428cca481f832b816bfe97db650bbaa4e04c0
/test/resources/rfc3987_grammar.abnf
03c78988701fcd0b5338362d18b763a001f7f62c
sainteos/ex_abnf
{ "content": "IRI = scheme \":\" ihier-part [ \"?\" iquery ] [ \"#\" ifragment ]\r\n\r\nihier-part = \"//\" iauthority ipath-abempty\r\n / ipath-absolute\r\n / ipath-rootless\r\n / ipath-empty\r\n\r\nIRI-reference = IRI / irelative-ref\r\n\r\nabsolute-IRI = scheme \":\" ihier-part [ \"?\" iquery ]\r\n\r\nirelative-ref = irelative-part [ \"?\" iquery ] [ \"#\" ifragment ]\r\n\r\nirelative-part = \"//\" iauthority ipath-abempty\r\n / ipath-absolute\r\n / ipath-noscheme\r\n / ipath-empty\r\n\r\niauthority = [ iuserinfo \"@\" ] ihost [ \":\" port ]\r\niuserinfo = *( iunreserved / pct-encoded / sub-delims / \":\" )\r\nihost = IP-literal / IPv4address / ireg-name\r\n\r\nireg-name = *( iunreserved / pct-encoded / sub-delims )\r\n\r\nipath = ipath-abempty ; begins with \"/\" or is empty\r\n / ipath-absolute ; begins with \"/\" but not \"//\"\r\n / ipath-noscheme ; begins with a non-colon segment\r\n / ipath-rootless ; begins with a segment\r\n / ipath-empty ; zero characters\r\n\r\nipath-abempty = *( \"/\" isegment )\r\nipath-absolute = \"/\" [ isegment-nz *( \"/\" isegment ) ]\r\nipath-noscheme = isegment-nz-nc *( \"/\" isegment )\r\nipath-rootless = isegment-nz *( \"/\" isegment )\r\nipath-empty = 0<ipchar>\r\n\r\nisegment = *ipchar\r\nisegment-nz = 1*ipchar\r\nisegment-nz-nc = 1*( iunreserved / pct-encoded / sub-delims / \"@\" )\r\n; non-zero-length segment without any colon \":\"\r\n\r\nipchar = iunreserved / pct-encoded / sub-delims / \":\" / \"@\"\r\n\r\niquery = *( ipchar / iprivate / \"/\" / \"?\" )\r\n\r\nifragment = *( ipchar / \"/\" / \"?\" )\r\n\r\niunreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\" / ucschar\r\n\r\nucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\r\n / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\r\n / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\r\n / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\r\n / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\r\n / %xD0000-DFFFD / %xE1000-EFFFD\r\n\r\niprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\r\n\r\nscheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\r\n\r\nport = *DIGIT\r\n\r\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\"\r\n\r\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" )\r\n\r\nIPv6address = 6( h16 \":\" ) ls32\r\n / \"::\" 5( h16 \":\" ) ls32\r\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\r\n / [ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\r\n / [ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\r\n / [ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\r\n / [ *4( h16 \":\" ) h16 ] \"::\" ls32\r\n / [ *5( h16 \":\" ) h16 ] \"::\" h16\r\n / [ *6( h16 \":\" ) h16 ] \"::\"\r\n\r\nh16 = 1*4HEXDIG\r\nls32 = ( h16 \":\" h16 ) / IPv4address\r\n\r\nIPv4address = dec-octet \".\" dec-octet \".\" dec-octet \".\" dec-octet\r\n\r\ndec-octet = DIGIT ; 0-9\r\n / %x31-39 DIGIT ; 10-99\r\n / \"1\" 2DIGIT ; 100-199\r\n / \"2\" %x30-34 DIGIT ; 200-249\r\n / \"25\" %x30-35 ; 250-255\r\n\r\npct-encoded = \"%\" HEXDIG HEXDIG\r\n\r\nunreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\r\nreserved = gen-delims / sub-delims\r\ngen-delims = \":\" / \"/\" / \"?\" / \"#\" / \"[\" / \"]\" / \"@\"\r\nsub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\r\n / \"*\" / \"+\" / \",\" / \";\" / \"=\"\r\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\r\n\r\nBIT = \"0\" / \"1\"\r\n\r\nCHAR = %x01-7F\r\n ; any 7-bit US-ASCII character,\r\n ; excluding NUL\r\n\r\nCR = %x0D\r\n ; carriage return\r\n\r\nCRLF = CR LF\r\n ; Internet standard newline\r\n\r\nCTL = %x00-1F / %x7F\r\n ; controls\r\n\r\nDIGIT = %x30-39\r\n ; 0-9\r\n\r\nDQUOTE = %x22\r\n ; \" (Double Quote)\r\n\r\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\r\n\r\nHTAB = %x09\r\n ; horizontal tab\r\n\r\nLF = %x0A\r\n ; linefeed\r\n\r\nLWSP = *(WSP / CRLF WSP)\r\n ; linear white space (past newline)\r\n\r\nOCTET = %x00-FF\r\n ; 8 bits of data\r\n\r\nSP = %x20\r\n\r\nVCHAR = %x21-7E\r\n ; visible (printing) characters\r\n\r\nWSP = SP / HTAB\r\n ; white space\r\n" }
UTF-8
ABNF
4,699
Numers
fd148e2b7422a188a94c8b863f4b272691b6a3f2
3b3c7bfce192dc3c0767ae9434401ac419e6912b
/DigitalSense/DigitalSense/Helper/IflyRecognizer/bnf/grammar_sample.abnf
9c7e2b7602e6a5157f0683dd38385615b9e9b99f
Numers/DigitalSense_IOS
{ "content": "#ABNF 1.0 UTF-8;\nlanguage zh-CN; \nmode voice;\n\nroot $main;\n$main = $place1;\n$place1 = 香蕉|苹果|猕猴桃|橘子|橙子|西瓜|梨子|菠萝|关闭|关|梨;" }
UTF-8
ABNF
160
dhedlund
8b3db8e9449a5a77ca3068b7c56e9edc6eb62bc6
cf3f3f2372375d36d872ecc0de53f4afbc854782
/priv/rfcs/rfc5545.abnf
ce90cd569d7c81d0b6c9a2dec7a5200562c738f6
dhedlund/calvin
{ "content": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r\n;; Defined in RFC5234\r\n\r\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\r\n\r\nBIT = \"0\" / \"1\"\r\n\r\nCHAR = %x01-7F\r\n ; any 7-bit US-ASCII character,\r\n ; excluding NUL\r\n\r\nCR = %x0D\r\n ; carriage return\r\n\r\nCRLF = CR LF\r\n ; Internet standard newline\r\n\r\nCTL = %x00-1F / %x7F\r\n ; controls\r\n\r\nDIGIT = %x30-39\r\n ; 0-9\r\n\r\nDQUOTE = %x22\r\n ; \" (Double Quote)\r\n\r\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\r\n\r\nHTAB = %x09\r\n ; horizontal tab\r\n\r\nLF = %x0A\r\n ; linefeed\r\n\r\nLWSP = *(WSP / CRLF WSP)\r\n ; Use of this linear-white-space rule\r\n ; permits lines containing only white\r\n ; space that are no longer legal in\r\n ; mail headers and have caused\r\n ; interoperability problems in other\r\n ; contexts.\r\n ; Do not use when defining mail\r\n ; headers and use with caution in\r\n ; other contexts.\r\n\r\nOCTET = %x00-FF\r\n ; 8 bits of data\r\n\r\nSP = %x20\r\n\r\nVCHAR = %x21-7E\r\n ; visible (printing) characters\r\n\r\nWSP = SP / HTAB\r\n ; white space\r\n\r\n\r\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r\n;; Defined in RFC3629\r\n\r\nUTF8-octets = *( UTF8-char )\r\nUTF8-char = UTF8-1 / UTF8-2 / UTF8-3 / UTF8-4\r\nUTF8-1 = %x00-7F\r\nUTF8-2 = %xC2-DF UTF8-tail\r\nUTF8-3 = %xE0 %xA0-BF UTF8-tail / %xE1-EC 2( UTF8-tail ) /\r\n %xED %x80-9F UTF8-tail / %xEE-EF 2( UTF8-tail )\r\nUTF8-4 = %xF0 %x90-BF 2( UTF8-tail ) / %xF1-F3 3( UTF8-tail ) /\r\n %xF4 %x80-8F 2( UTF8-tail )\r\nUTF8-tail = %x80-BF\r\n\r\n\r\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r\n;; Defined in RFC3986\r\n\r\nURI = scheme \":\" hier-part [ \"?\" query ] [ \"#\" fragment ]\r\n\r\nhier-part = \"//\" authority path-abempty\r\n / path-absolute\r\n / path-rootless\r\n / path-empty\r\n\r\nscheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\r\n\r\nauthority = [ userinfo \"@\" ] host [ \":\" port ]\r\n\r\nuserinfo = *( unreserved / pct-encoded / sub-delims / \":\" )\r\n\r\nhost = IP-literal / IPv4address / reg-name\r\n\r\nIP-literal = \"[\" ( IPv6address / IPvFuture ) \"]\"\r\n\r\nIPvFuture = \"v\" 1*HEXDIG \".\" 1*( unreserved / sub-delims / \":\" )\r\n\r\nIPv6address = 6( h16 \":\" ) ls32\r\n / \"::\" 5( h16 \":\" ) ls32\r\n / [ h16 ] \"::\" 4( h16 \":\" ) ls32\r\n / [ *1( h16 \":\" ) h16 ] \"::\" 3( h16 \":\" ) ls32\r\n / [ *2( h16 \":\" ) h16 ] \"::\" 2( h16 \":\" ) ls32\r\n / [ *3( h16 \":\" ) h16 ] \"::\" h16 \":\" ls32\r\n / [ *4( h16 \":\" ) h16 ] \"::\" ls32\r\n / [ *5( h16 \":\" ) h16 ] \"::\" h16\r\n / [ *6( h16 \":\" ) h16 ] \"::\"\r\n\r\nls32 = ( h16 \":\" h16 ) / IPv4address\r\n ; least-significant 32 bits of address\r\n\r\nh16 = 1*4HEXDIG\r\n ; 16 bits of address represented in hexadecimal\r\n\r\nIPv4address = dec-octet \".\" dec-octet \".\" dec-octet \".\" dec-octet\r\n\r\ndec-octet = DIGIT ; 0-9\r\n / %x31-39 DIGIT ; 10-99\r\n / \"1\" 2DIGIT ; 100-199\r\n / \"2\" %x30-34 DIGIT ; 200-249\r\n / \"25\" %x30-35 ; 250-255\r\n\r\nreg-name = *( unreserved / pct-encoded / sub-delims )\r\n\r\nport = *DIGIT\r\n\r\npath = path-abempty ; begins with \"/\" or is empty\r\n / path-absolute ; begins with \"/\" but not \"//\"\r\n / path-noscheme ; begins with a non-colon segment\r\n / path-rootless ; begins with a segment\r\n / path-empty ; zero characters\r\n\r\npath-abempty = *( \"/\" segment )\r\npath-absolute = \"/\" [ segment-nz *( \"/\" segment ) ]\r\npath-noscheme = segment-nz-nc *( \"/\" segment )\r\npath-rootless = segment-nz *( \"/\" segment )\r\npath-empty = 0<pchar>\r\n\r\nsegment = *pchar\r\nsegment-nz = 1*pchar\r\nsegment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / \"@\" )\r\n ; non-zero-length segment without any colon \":\"\r\n\r\npchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\r\n\r\nquery = *( pchar / \"/\" / \"?\" )\r\n\r\nfragment = *( pchar / \"/\" / \"?\" )\r\n\r\n\r\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r\n;; Defined in RFC5545\r\n\r\ncontentline = name *(\";\" param ) \":\" value CRLF\r\n; This ABNF is just a general definition for an initial parsing\r\n; of the content line into its property name, parameter list,\r\n; and value string\r\n\r\n; When parsing a content line, folded lines MUST first\r\n; be unfolded according to the unfolding procedure\r\n; described above. When generating a content line, lines\r\n; longer than 75 octets SHOULD be folded according to\r\n; the folding procedure described above.\r\n\r\nname = iana-token / x-name\r\n\r\niana-token = 1*(ALPHA / DIGIT / \"-\")\r\n; iCalendar identifier registered with IANA\r\n\r\nx-name = \"X-\" [vendorid \"-\"] 1*(ALPHA / DIGIT / \"-\")\r\n; Reserved for experimental use.\r\n\r\nvendorid = 3*(ALPHA / DIGIT)\r\n; Vendor identification\r\n\r\nparam = param-name \"=\" param-value *(\",\" param-value)\r\n; Each property defines the specific ABNF for the parameters\r\n; allowed on the property. Refer to specific properties for\r\n; precise parameter ABNF.\r\n\r\nparam-name = iana-token / x-name\r\n\r\nparam-value = paramtext / quoted-string\r\n\r\nparamtext = *SAFE-CHAR\r\n\r\nvalue = *VALUE-CHAR\r\n\r\nquoted-string = DQUOTE *QSAFE-CHAR DQUOTE\r\n\r\nQSAFE-CHAR = WSP / %x21 / %x23-7E / NON-US-ASCII\r\n; Any character except CONTROL and DQUOTE\r\n\r\nSAFE-CHAR = WSP / %x21 / %x23-2B / %x2D-39 / %x3C-7E\r\n / NON-US-ASCII\r\n; Any character except CONTROL, DQUOTE, \";\", \":\", \",\"\r\n\r\nVALUE-CHAR = WSP / %x21-7E / NON-US-ASCII\r\n; Any textual character\r\n\r\nNON-US-ASCII = UTF8-2 / UTF8-3 / UTF8-4\r\n; UTF8-2, UTF8-3, and UTF8-4 are defined in [RFC3629]\r\n\r\nCONTROL = %x00-08 / %x0A-1F / %x7F\r\n; All the controls except HTAB\r\n\r\nicalparameter = altrepparam ; Alternate text representation\r\n / cnparam ; Common name\r\n / cutypeparam ; Calendar user type\r\n / delfromparam ; Delegator\r\n / deltoparam ; Delegatee\r\n / dirparam ; Directory entry\r\n / encodingparam ; Inline encoding\r\n / fmttypeparam ; Format type\r\n / fbtypeparam ; Free/busy time type\r\n / languageparam ; Language for text\r\n / memberparam ; Group or list membership\r\n / partstatparam ; Participation status\r\n / rangeparam ; Recurrence identifier range\r\n / trigrelparam ; Alarm trigger relationship\r\n / reltypeparam ; Relationship type\r\n / roleparam ; Participation role\r\n / rsvpparam ; RSVP expectation\r\n / sentbyparam ; Sent by\r\n / tzidparam ; Reference to time zone object\r\n / valuetypeparam ; Property value data type\r\n / other-param\r\n\r\nother-param = (iana-param / x-param)\r\n\r\niana-param = iana-token \"=\" param-value *(\",\" param-value)\r\n; Some other IANA-registered iCalendar parameter.\r\n\r\nx-param = x-name \"=\" param-value *(\",\" param-value)\r\n; A non-standard, experimental parameter.\r\n\r\naltrepparam = \"ALTREP\" \"=\" DQUOTE uri DQUOTE\r\n\r\ncnparam = \"CN\" \"=\" param-value\r\n\r\ncutypeparam = \"CUTYPE\" \"=\"\r\n (\"INDIVIDUAL\" ; An individual\r\n / \"GROUP\" ; A group of individuals\r\n / \"RESOURCE\" ; A physical resource\r\n / \"ROOM\" ; A room resource\r\n / \"UNKNOWN\" ; Otherwise not known\r\n / x-name ; Experimental type\r\n / iana-token) ; Other IANA-registered\r\n ; type\r\n; Default is INDIVIDUAL\r\n\r\ndelfromparam = \"DELEGATED-FROM\" \"=\" DQUOTE cal-address\r\n DQUOTE *(\",\" DQUOTE cal-address DQUOTE)\r\n\r\ndeltoparam = \"DELEGATED-TO\" \"=\" DQUOTE cal-address DQUOTE\r\n *(\",\" DQUOTE cal-address DQUOTE)\r\n\r\ndirparam = \"DIR\" \"=\" DQUOTE uri DQUOTE\r\n\r\nencodingparam = \"ENCODING\" \"=\"\r\n ( \"8BIT\"\r\n ; \"8bit\" text encoding is defined in [RFC2045]\r\n / \"BASE64\"\r\n ; \"BASE64\" binary encoding format is defined in [RFC4648]\r\n )\r\n\r\nfmttypeparam = \"FMTTYPE\" \"=\" type-name \"/\" subtype-name\r\n ; Where \"type-name\" and \"subtype-name\" are\r\n ; defined in Section 4.2 of [RFC4288].\r\n\r\nfbtypeparam = \"FBTYPE\" \"=\" (\"FREE\" / \"BUSY\"\r\n / \"BUSY-UNAVAILABLE\" / \"BUSY-TENTATIVE\"\r\n / x-name\r\n ; Some experimental iCalendar free/busy type.\r\n / iana-token)\r\n ; Some other IANA-registered iCalendar free/busy type.\r\n\r\nlanguageparam = \"LANGUAGE\" \"=\" language\r\n\r\nlanguage = Language-Tag\r\n ; As defined in [RFC5646].\r\n\r\nmemberparam = \"MEMBER\" \"=\" DQUOTE cal-address DQUOTE\r\n *(\",\" DQUOTE cal-address DQUOTE)\r\n\r\npartstatparam = \"PARTSTAT\" \"=\"\r\n (partstat-event\r\n / partstat-todo\r\n / partstat-jour)\r\n\r\npartstat-event = (\"NEEDS-ACTION\" ; Event needs action\r\n / \"ACCEPTED\" ; Event accepted\r\n / \"DECLINED\" ; Event declined\r\n / \"TENTATIVE\" ; Event tentatively\r\n ; accepted\r\n / \"DELEGATED\" ; Event delegated\r\n / x-name ; Experimental status\r\n / iana-token) ; Other IANA-registered\r\n ; status\r\n; These are the participation statuses for a \"VEVENT\".\r\n; Default is NEEDS-ACTION.\r\n\r\npartstat-todo = (\"NEEDS-ACTION\" ; To-do needs action\r\n / \"ACCEPTED\" ; To-do accepted\r\n / \"DECLINED\" ; To-do declined\r\n / \"TENTATIVE\" ; To-do tentatively\r\n ; accepted\r\n / \"DELEGATED\" ; To-do delegated\r\n / \"COMPLETED\" ; To-do completed\r\n ; COMPLETED property has\r\n ; DATE-TIME completed\r\n / \"IN-PROCESS\" ; To-do in process of\r\n ; being completed\r\n / x-name ; Experimental status\r\n / iana-token) ; Other IANA-registered\r\n ; status\r\n; These are the participation statuses for a \"VTODO\".\r\n; Default is NEEDS-ACTION.\r\n\r\npartstat-jour = (\"NEEDS-ACTION\" ; Journal needs action\r\n / \"ACCEPTED\" ; Journal accepted\r\n / \"DECLINED\" ; Journal declined\r\n / x-name ; Experimental status\r\n / iana-token) ; Other IANA-registered\r\n ; status\r\n; These are the participation statuses for a \"VJOURNAL\".\r\n; Default is NEEDS-ACTION.\r\n\r\nrangeparam = \"RANGE\" \"=\" \"THISANDFUTURE\"\r\n; To specify the instance specified by the recurrence identifier\r\n; and all subsequent recurrence instances.\r\n\r\ntrigrelparam = \"RELATED\" \"=\"\r\n (\"START\" ; Trigger off of start\r\n / \"END\") ; Trigger off of end\r\n\r\nreltypeparam = \"RELTYPE\" \"=\"\r\n (\"PARENT\" ; Parent relationship - Default\r\n / \"CHILD\" ; Child relationship\r\n / \"SIBLING\" ; Sibling relationship\r\n / iana-token ; Some other IANA-registered\r\n ; iCalendar relationship type\r\n / x-name) ; A non-standard, experimental\r\n ; relationship type\r\n\r\nroleparam = \"ROLE\" \"=\"\r\n (\"CHAIR\" ; Indicates chair of the\r\n ; calendar entity\r\n / \"REQ-PARTICIPANT\" ; Indicates a participant whose\r\n ; participation is required\r\n / \"OPT-PARTICIPANT\" ; Indicates a participant whose\r\n ; participation is optional\r\n / \"NON-PARTICIPANT\" ; Indicates a participant who\r\n ; is copied for information\r\n ; purposes only\r\n / x-name ; Experimental role\r\n / iana-token) ; Other IANA role\r\n; Default is REQ-PARTICIPANT\r\n\r\nrsvpparam = \"RSVP\" \"=\" (\"TRUE\" / \"FALSE\")\r\n; Default is FALSE\r\n\r\nsentbyparam = \"SENT-BY\" \"=\" DQUOTE cal-address DQUOTE\r\n\r\ntzidparam = \"TZID\" \"=\" [tzidprefix] paramtext\r\n\r\ntzidprefix = \"/\"\r\n\r\nvaluetypeparam = \"VALUE\" \"=\" valuetype\r\n\r\nvaluetype = (\"BINARY\"\r\n / \"BOOLEAN\"\r\n / \"CAL-ADDRESS\"\r\n / \"DATE\"\r\n / \"DATE-TIME\"\r\n / \"DURATION\"\r\n / \"FLOAT\"\r\n / \"INTEGER\"\r\n / \"PERIOD\"\r\n / \"RECUR\"\r\n / \"TEXT\"\r\n / \"TIME\"\r\n / \"URI\"\r\n / \"UTC-OFFSET\"\r\n / x-name\r\n ; Some experimental iCalendar value type.\r\n / iana-token)\r\n ; Some other IANA-registered iCalendar value type.\r\n\r\nbinary = *(4b-char) [b-end]\r\n; A \"BASE64\" encoded character string, as defined by [RFC4648].\r\n\r\nb-end = (2b-char \"==\") / (3b-char \"=\")\r\n\r\nb-char = ALPHA / DIGIT / \"+\" / \"/\"\r\n\r\nboolean = \"TRUE\" / \"FALSE\"\r\n\r\ncal-address = uri\r\n\r\ndate = date-value\r\n\r\ndate-value = date-fullyear date-month date-mday\r\ndate-fullyear = 4DIGIT\r\ndate-month = 2DIGIT ;01-12\r\ndate-mday = 2DIGIT ;01-28, 01-29, 01-30, 01-31\r\n ;based on month/year\r\n\r\ndate-time = date \"T\" time ;As specified in the DATE and TIME\r\n ;value definitions\r\n\r\ndur-value = ([\"+\"] / \"-\") \"P\" (dur-date / dur-time / dur-week)\r\n\r\ndur-date = dur-day [dur-time]\r\ndur-time = \"T\" (dur-hour / dur-minute / dur-second)\r\ndur-week = 1*DIGIT \"W\"\r\ndur-hour = 1*DIGIT \"H\" [dur-minute]\r\ndur-minute = 1*DIGIT \"M\" [dur-second]\r\ndur-second = 1*DIGIT \"S\"\r\ndur-day = 1*DIGIT \"D\"\r\n\r\nfloat = ([\"+\"] / \"-\") 1*DIGIT [\".\" 1*DIGIT]\r\n\r\ninteger = ([\"+\"] / \"-\") 1*DIGIT\r\n\r\nperiod = period-explicit / period-start\r\n\r\nperiod-explicit = date-time \"/\" date-time\r\n; [ISO.8601.2004] complete representation basic format for a\r\n; period of time consisting of a start and end. The start MUST\r\n; be before the end.\r\n\r\nperiod-start = date-time \"/\" dur-value\r\n; [ISO.8601.2004] complete representation basic format for a\r\n; period of time consisting of a start and positive duration\r\n; of time.\r\n\r\nrecur = recur-rule-part *( \";\" recur-rule-part )\r\n ;\r\n ; The rule parts are not ordered in any\r\n ; particular sequence.\r\n ;\r\n ; The FREQ rule part is REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n ; The UNTIL or COUNT rule parts are OPTIONAL,\r\n ; but they MUST NOT occur in the same 'recur'.\r\n ;\r\n ; The other rule parts are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n\r\nrecur-rule-part = ( \"FREQ\" \"=\" freq )\r\n / ( \"UNTIL\" \"=\" enddate )\r\n / ( \"COUNT\" \"=\" 1*DIGIT )\r\n / ( \"INTERVAL\" \"=\" 1*DIGIT )\r\n / ( \"BYSECOND\" \"=\" byseclist )\r\n / ( \"BYMINUTE\" \"=\" byminlist )\r\n / ( \"BYHOUR\" \"=\" byhrlist )\r\n / ( \"BYDAY\" \"=\" bywdaylist )\r\n / ( \"BYMONTHDAY\" \"=\" bymodaylist )\r\n / ( \"BYYEARDAY\" \"=\" byyrdaylist )\r\n / ( \"BYWEEKNO\" \"=\" bywknolist )\r\n / ( \"BYMONTH\" \"=\" bymolist )\r\n / ( \"BYSETPOS\" \"=\" bysplist )\r\n / ( \"WKST\" \"=\" weekday )\r\n\r\nfreq = \"SECONDLY\" / \"MINUTELY\" / \"HOURLY\" / \"DAILY\"\r\n / \"WEEKLY\" / \"MONTHLY\" / \"YEARLY\"\r\n\r\nenddate = date / date-time\r\n\r\nbyseclist = ( seconds *(\",\" seconds) )\r\n\r\nseconds = 1*2DIGIT ;0 to 60\r\n\r\nbyminlist = ( minutes *(\",\" minutes) )\r\n\r\nminutes = 1*2DIGIT ;0 to 59\r\n\r\nbyhrlist = ( hour *(\",\" hour) )\r\n\r\nhour = 1*2DIGIT ;0 to 23\r\n\r\nbywdaylist = ( weekdaynum *(\",\" weekdaynum) )\r\n\r\nweekdaynum = [[plus / minus] ordwk] weekday\r\n\r\nplus = \"+\"\r\n\r\nminus = \"-\"\r\n\r\nordwk = 1*2DIGIT ;1 to 53\r\n\r\nweekday = \"SU\" / \"MO\" / \"TU\" / \"WE\" / \"TH\" / \"FR\" / \"SA\"\r\n;Corresponding to SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\r\n;FRIDAY, and SATURDAY days of the week.\r\n\r\nbymodaylist = ( monthdaynum *(\",\" monthdaynum) )\r\n\r\nmonthdaynum = [plus / minus] ordmoday\r\n\r\nordmoday = 1*2DIGIT ;1 to 31\r\n\r\nbyyrdaylist = ( yeardaynum *(\",\" yeardaynum) )\r\n\r\nyeardaynum = [plus / minus] ordyrday\r\n\r\nordyrday = 1*3DIGIT ;1 to 366\r\n\r\nbywknolist = ( weeknum *(\",\" weeknum) )\r\n\r\nweeknum = [plus / minus] ordwk\r\n\r\nbymolist = ( monthnum *(\",\" monthnum) )\r\n\r\nmonthnum = 1*2DIGIT ;1 to 12\r\n\r\nbysplist = ( setposday *(\",\" setposday) )\r\n\r\nsetposday = yeardaynum\r\n\r\ntext = *(TSAFE-CHAR / \":\" / DQUOTE / ESCAPED-CHAR)\r\n ; Folded according to description above\r\n\r\nESCAPED-CHAR = (\"\\\\\" / \"\\;\" / \"\\,\" / \"\\N\" / \"\\n\")\r\n ; \\\\ encodes \\, \\N or \\n encodes newline\r\n ; \\; encodes ;, \\, encodes ,\r\n\r\nTSAFE-CHAR = WSP / %x21 / %x23-2B / %x2D-39 / %x3C-5B /\r\n %x5D-7E / NON-US-ASCII\r\n ; Any character except CONTROLs not needed by the current\r\n ; character set, DQUOTE, \";\", \":\", \"\\\", \",\"\r\n\r\ntime = time-hour time-minute time-second [time-utc]\r\n\r\ntime-hour = 2DIGIT ;00-23\r\ntime-minute = 2DIGIT ;00-59\r\ntime-second = 2DIGIT ;00-60\r\n;The \"60\" value is used to account for positive \"leap\" seconds.\r\n\r\ntime-utc = \"Z\"\r\n\r\n;; FIXME: Was a placeholder in specification\r\n;; uri = <As defined in Section 3 of [RFC3986]>\r\nuri = URI\r\n\r\nutc-offset = time-numzone\r\n\r\ntime-numzone = (\"+\" / \"-\") time-hour time-minute [time-second]\r\n\r\nicalstream = 1*icalobject\r\n\r\nicalobject = \"BEGIN\" \":\" \"VCALENDAR\" CRLF\r\n icalbody\r\n; \"END\" \":\" \"VCALENDAR\" CRLF\r\n\r\nicalbody = calprops ; component\r\n\r\ncalprops = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n prodid / version /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n calscale / method /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n x-prop / iana-prop\r\n ;\r\n )\r\n\r\ncomponent = 1*(eventc / todoc / journalc / freebusyc /\r\n timezonec / iana-comp / x-comp)\r\n\r\niana-comp = \"BEGIN\" \":\" iana-token CRLF\r\n 1*contentline\r\n \"END\" \":\" iana-token CRLF\r\n\r\nx-comp = \"BEGIN\" \":\" x-name CRLF\r\n 1*contentline\r\n \"END\" \":\" x-name CRLF\r\n\r\neventc = \"BEGIN\" \":\" \"VEVENT\" CRLF\r\n eventprop *alarmc\r\n \"END\" \":\" \"VEVENT\" CRLF\r\n\r\neventprop = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n dtstamp / uid /\r\n ;\r\n ; The following is REQUIRED if the component\r\n ; appears in an iCalendar object that doesn't\r\n ; specify the \"METHOD\" property; otherwise, it\r\n ; is OPTIONAL; in any case, it MUST NOT occur\r\n ; more than once.\r\n ;\r\n dtstart /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n class / created / description / geo /\r\n last-mod / location / organizer / priority /\r\n seq / status / summary / transp /\r\n url / recurid /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but SHOULD NOT occur more than once.\r\n ;\r\n rrule /\r\n ;\r\n ; Either 'dtend' or 'duration' MAY appear in\r\n ; a 'eventprop', but 'dtend' and 'duration'\r\n ; MUST NOT occur in the same 'eventprop'.\r\n ;\r\n dtend / duration /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n attach / attendee / categories / comment /\r\n contact / exdate / rstatus / related /\r\n resources / rdate / x-prop / iana-prop\r\n ;\r\n )\r\n\r\ntodoc = \"BEGIN\" \":\" \"VTODO\" CRLF\r\n todoprop *alarmc\r\n \"END\" \":\" \"VTODO\" CRLF\r\n\r\ntodoprop = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n dtstamp / uid /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n class / completed / created / description /\r\n dtstart / geo / last-mod / location / organizer /\r\n percent / priority / recurid / seq / status /\r\n summary / url /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but SHOULD NOT occur more than once.\r\n ;\r\n rrule /\r\n ;\r\n ; Either 'due' or 'duration' MAY appear in\r\n ; a 'todoprop', but 'due' and 'duration'\r\n ; MUST NOT occur in the same 'todoprop'.\r\n ; If 'duration' appear in a 'todoprop',\r\n ; then 'dtstart' MUST also appear in\r\n ; the same 'todoprop'.\r\n ;\r\n due / duration /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n attach / attendee / categories / comment / contact /\r\n exdate / rstatus / related / resources /\r\n rdate / x-prop / iana-prop\r\n ;\r\n )\r\n\r\njournalc = \"BEGIN\" \":\" \"VJOURNAL\" CRLF\r\n jourprop\r\n \"END\" \":\" \"VJOURNAL\" CRLF\r\n\r\njourprop = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n dtstamp / uid /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n class / created / dtstart /\r\n last-mod / organizer / recurid / seq /\r\n status / summary / url /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but SHOULD NOT occur more than once.\r\n ;\r\n rrule /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n attach / attendee / categories / comment /\r\n contact / description / exdate / related / rdate /\r\n rstatus / x-prop / iana-prop\r\n ;\r\n )\r\n\r\nfreebusyc = \"BEGIN\" \":\" \"VFREEBUSY\" CRLF\r\n fbprop\r\n \"END\" \":\" \"VFREEBUSY\" CRLF\r\n\r\nfbprop = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n dtstamp / uid /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n contact / dtstart / dtend /\r\n organizer / url /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n attendee / comment / freebusy / rstatus / x-prop /\r\n iana-prop\r\n ;\r\n )\r\n\r\ntimezonec = \"BEGIN\" \":\" \"VTIMEZONE\" CRLF\r\n *(\r\n ;\r\n ; 'tzid' is REQUIRED, but MUST NOT occur more\r\n ; than once.\r\n ;\r\n tzid /\r\n ;\r\n ; 'last-mod' and 'tzurl' are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n last-mod / tzurl /\r\n ;\r\n ; One of 'standardc' or 'daylightc' MUST occur\r\n ; and each MAY occur more than once.\r\n ;\r\n standardc / daylightc /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n x-prop / iana-prop\r\n ;\r\n )\r\n \"END\" \":\" \"VTIMEZONE\" CRLF\r\n\r\nstandardc = \"BEGIN\" \":\" \"STANDARD\" CRLF\r\n tzprop\r\n \"END\" \":\" \"STANDARD\" CRLF\r\n\r\ndaylightc = \"BEGIN\" \":\" \"DAYLIGHT\" CRLF\r\n tzprop\r\n \"END\" \":\" \"DAYLIGHT\" CRLF\r\n\r\ntzprop = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n dtstart / tzoffsetto / tzoffsetfrom /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but SHOULD NOT occur more than once.\r\n ;\r\n rrule /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n comment / rdate / tzname / x-prop / iana-prop\r\n ;\r\n )\r\n\r\nalarmc = \"BEGIN\" \":\" \"VALARM\" CRLF\r\n (audioprop / dispprop / emailprop)\r\n \"END\" \":\" \"VALARM\" CRLF\r\n\r\naudioprop = *(\r\n ;\r\n ; 'action' and 'trigger' are both REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n action / trigger /\r\n ;\r\n ; 'duration' and 'repeat' are both OPTIONAL,\r\n ; and MUST NOT occur more than once each;\r\n ; but if one occurs, so MUST the other.\r\n ;\r\n duration / repeat /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n attach /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n x-prop / iana-prop\r\n ;\r\n )\r\n\r\ndispprop = *(\r\n ;\r\n ; The following are REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n action / description / trigger /\r\n ;\r\n ; 'duration' and 'repeat' are both OPTIONAL,\r\n ; and MUST NOT occur more than once each;\r\n ; but if one occurs, so MUST the other.\r\n ;\r\n duration / repeat /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n x-prop / iana-prop\r\n ;\r\n )\r\n\r\nemailprop = *(\r\n ;\r\n ; The following are all REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n action / description / trigger / summary /\r\n ;\r\n ; The following is REQUIRED,\r\n ; and MAY occur more than once.\r\n ;\r\n attendee /\r\n ;\r\n ; 'duration' and 'repeat' are both OPTIONAL,\r\n ; and MUST NOT occur more than once each;\r\n ; but if one occurs, so MUST the other.\r\n ;\r\n duration / repeat /\r\n ;\r\n ; The following are OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n attach / x-prop / iana-prop\r\n ;\r\n )\r\n\r\ncalscale = \"CALSCALE\" calparam \":\" calvalue CRLF\r\n\r\ncalparam = *(\";\" other-param)\r\n\r\ncalvalue = \"GREGORIAN\"\r\n\r\nmethod = \"METHOD\" metparam \":\" metvalue CRLF\r\n\r\nmetparam = *(\";\" other-param)\r\n\r\nmetvalue = iana-token\r\n\r\nprodid = \"PRODID\" pidparam \":\" pidvalue CRLF\r\n\r\npidparam = *(\";\" other-param)\r\n\r\npidvalue = text\r\n;Any text that describes the product and version\r\n;and that is generally assured of being unique.\r\n\r\nversion = \"VERSION\" verparam \":\" vervalue CRLF\r\n\r\nverparam = *(\";\" other-param)\r\n\r\n;; FIXME: Not sure what minver or maxver we can use\r\n;;\r\n;; vervalue = \"2.0\" ;This memo\r\n;; / maxver\r\n;; / (minver \";\" maxver)\r\n;;\r\n;; minver = <A IANA-registered iCalendar version identifier>\r\n;; ;Minimum iCalendar version needed to parse the iCalendar object.\r\n;;\r\n;; maxver = <A IANA-registered iCalendar version identifier>\r\n;; ;Maximum iCalendar version needed to parse the iCalendar object.\r\nvervalue = \"2.0\"\r\n\r\nattach = \"ATTACH\" attachparam ( \":\" uri ) /\r\n (\r\n \";\" \"ENCODING\" \"=\" \"BASE64\"\r\n \";\" \"VALUE\" \"=\" \"BINARY\"\r\n \":\" binary\r\n )\r\n CRLF\r\n\r\nattachparam = *(\r\n ;\r\n ; The following is OPTIONAL for a URI value,\r\n ; RECOMMENDED for a BINARY value,\r\n ; and MUST NOT occur more than once.\r\n ;\r\n (\";\" fmttypeparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ncategories = \"CATEGORIES\" catparam \":\" text *(\",\" text)\r\n CRLF\r\n\r\ncatparam = *(\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" languageparam ) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nclass = \"CLASS\" classparam \":\" classvalue CRLF\r\n\r\nclassparam = *(\";\" other-param)\r\n\r\nclassvalue = \"PUBLIC\" / \"PRIVATE\" / \"CONFIDENTIAL\" / iana-token\r\n / x-name\r\n;Default is PUBLIC\r\n\r\ncomment = \"COMMENT\" commparam \":\" text CRLF\r\n\r\ncommparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" altrepparam) / (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ndescription = \"DESCRIPTION\" descparam \":\" text CRLF\r\n\r\ndescparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" altrepparam) / (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ngeo = \"GEO\" geoparam \":\" geovalue CRLF\r\n\r\ngeoparam = *(\";\" other-param)\r\n\r\ngeovalue = float \";\" float\r\n;Latitude and Longitude components\r\n\r\nlocation = \"LOCATION\" locparam \":\" text CRLF\r\n\r\nlocparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" altrepparam) / (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\npercent = \"PERCENT-COMPLETE\" pctparam \":\" integer CRLF\r\n\r\npctparam = *(\";\" other-param)\r\n\r\npriority = \"PRIORITY\" prioparam \":\" priovalue CRLF\r\n;Default is zero (i.e., undefined).\r\n\r\nprioparam = *(\";\" other-param)\r\n\r\npriovalue = integer ;Must be in the range [0..9]\r\n ; All other values are reserved for future use.\r\n\r\nresources = \"RESOURCES\" resrcparam \":\" text *(\",\" text) CRLF\r\n\r\nresrcparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" altrepparam) / (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nstatus = \"STATUS\" statparam \":\" statvalue CRLF\r\n\r\nstatparam = *(\";\" other-param)\r\n\r\nstatvalue = (statvalue-event\r\n / statvalue-todo\r\n / statvalue-jour)\r\n\r\nstatvalue-event = \"TENTATIVE\" ;Indicates event is tentative.\r\n / \"CONFIRMED\" ;Indicates event is definite.\r\n / \"CANCELLED\" ;Indicates event was cancelled.\r\n;Status values for a \"VEVENT\"\r\n\r\nstatvalue-todo = \"NEEDS-ACTION\" ;Indicates to-do needs action.\r\n / \"COMPLETED\" ;Indicates to-do completed.\r\n / \"IN-PROCESS\" ;Indicates to-do in process of.\r\n / \"CANCELLED\" ;Indicates to-do was cancelled.\r\n;Status values for \"VTODO\".\r\n\r\nstatvalue-jour = \"DRAFT\" ;Indicates journal is draft.\r\n / \"FINAL\" ;Indicates journal is final.\r\n / \"CANCELLED\" ;Indicates journal is removed.\r\n;Status values for \"VJOURNAL\".\r\n\r\nsummary = \"SUMMARY\" summparam \":\" text CRLF\r\n\r\nsummparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" altrepparam) / (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ncompleted = \"COMPLETED\" compparam \":\" date-time CRLF\r\n\r\ncompparam = *(\";\" other-param)\r\n\r\ndtend = \"DTEND\" dtendparam \":\" dtendval CRLF\r\n\r\ndtendparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" (\"DATE-TIME\" / \"DATE\")) /\r\n (\";\" tzidparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ndtendval = date-time / date\r\n;Value MUST match value type\r\n\r\ndue = \"DUE\" dueparam \":\" dueval CRLF\r\n\r\ndueparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" (\"DATE-TIME\" / \"DATE\")) /\r\n (\";\" tzidparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ndueval = date-time / date\r\n;Value MUST match value type\r\n\r\ndtstart = \"DTSTART\" dtstparam \":\" dtstval CRLF\r\n\r\ndtstparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" (\"DATE-TIME\" / \"DATE\")) /\r\n (\";\" tzidparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ndtstval = date-time / date\r\n;Value MUST match value type\r\n\r\nduration = \"DURATION\" durparam \":\" dur-value CRLF\r\n ;consisting of a positive duration of time.\r\n\r\ndurparam = *(\";\" other-param)\r\n\r\nfreebusy = \"FREEBUSY\" fbparam \":\" fbvalue CRLF\r\n\r\nfbparam = *(\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" fbtypeparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nfbvalue = period *(\",\" period)\r\n;Time value MUST be in the UTC time format.\r\n\r\ntransp = \"TRANSP\" transparam \":\" transvalue CRLF\r\n\r\ntransparam = *(\";\" other-param)\r\n\r\ntransvalue = \"OPAQUE\"\r\n ;Blocks or opaque on busy time searches.\r\n / \"TRANSPARENT\"\r\n ;Transparent on busy time searches.\r\n;Default value is OPAQUE\r\n\r\ntzid = \"TZID\" tzidpropparam \":\" [tzidprefix] text CRLF\r\n\r\ntzidpropparam = *(\";\" other-param)\r\n\r\n;tzidprefix = \"/\"\r\n; Defined previously. Just listed here for reader convenience.\r\n\r\ntzname = \"TZNAME\" tznparam \":\" text CRLF\r\n\r\ntznparam = *(\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ntzoffsetfrom = \"TZOFFSETFROM\" frmparam \":\" utc-offset\r\n CRLF\r\n\r\nfrmparam = *(\";\" other-param)\r\n\r\ntzoffsetto = \"TZOFFSETTO\" toparam \":\" utc-offset CRLF\r\n\r\ntoparam = *(\";\" other-param)\r\n\r\ntzurl = \"TZURL\" tzurlparam \":\" uri CRLF\r\n\r\ntzurlparam = *(\";\" other-param)\r\n\r\nattendee = \"ATTENDEE\" attparam \":\" cal-address CRLF\r\n\r\nattparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" cutypeparam) / (\";\" memberparam) /\r\n (\";\" roleparam) / (\";\" partstatparam) /\r\n (\";\" rsvpparam) / (\";\" deltoparam) /\r\n (\";\" delfromparam) / (\";\" sentbyparam) /\r\n (\";\" cnparam) / (\";\" dirparam) /\r\n (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\ncontact = \"CONTACT\" contparam \":\" text CRLF\r\n\r\ncontparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" altrepparam) / (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\norganizer = \"ORGANIZER\" orgparam \":\"\r\n cal-address CRLF\r\n\r\norgparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" cnparam) / (\";\" dirparam) / (\";\" sentbyparam) /\r\n (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nrecurid = \"RECURRENCE-ID\" ridparam \":\" ridval CRLF\r\n\r\nridparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" (\"DATE-TIME\" / \"DATE\")) /\r\n (\";\" tzidparam) / (\";\" rangeparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nridval = date-time / date\r\n;Value MUST match value type\r\n\r\nrelated = \"RELATED-TO\" relparam \":\" text CRLF\r\n\r\nrelparam = *(\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" reltypeparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nurl = \"URL\" urlparam \":\" uri CRLF\r\n\r\nurlparam = *(\";\" other-param)\r\n\r\nuid = \"UID\" uidparam \":\" text CRLF\r\n\r\nuidparam = *(\";\" other-param)\r\n\r\nexdate = \"EXDATE\" exdtparam \":\" exdtval *(\",\" exdtval) CRLF\r\n\r\nexdtparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" (\"DATE-TIME\" / \"DATE\")) /\r\n ;\r\n (\";\" tzidparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nexdtval = date-time / date\r\n;Value MUST match value type\r\n\r\nrdate = \"RDATE\" rdtparam \":\" rdtval *(\",\" rdtval) CRLF\r\n\r\nrdtparam = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" (\"DATE-TIME\" / \"DATE\" / \"PERIOD\")) /\r\n (\";\" tzidparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nrdtval = date-time / date / period\r\n;Value MUST match value type\r\n\r\nrrule = \"RRULE\" rrulparam \":\" recur CRLF\r\n\r\nrrulparam = *(\";\" other-param)\r\n\r\naction = \"ACTION\" actionparam \":\" actionvalue CRLF\r\n\r\nactionparam = *(\";\" other-param)\r\n\r\n\r\nactionvalue = \"AUDIO\" / \"DISPLAY\" / \"EMAIL\"\r\n / iana-token / x-name\r\n\r\nrepeat = \"REPEAT\" repparam \":\" integer CRLF\r\n;Default is \"0\", zero.\r\n\r\nrepparam = *(\";\" other-param)\r\n\r\ntrigger = \"TRIGGER\" (trigrel / trigabs) CRLF\r\n\r\ntrigrel = *(\r\n ;\r\n ; The following are OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" \"DURATION\") /\r\n (\";\" trigrelparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n ) \":\" dur-value\r\n\r\ntrigabs = *(\r\n ;\r\n ; The following is REQUIRED,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" \"VALUE\" \"=\" \"DATE-TIME\") /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n ) \":\" date-time\r\n\r\ncreated = \"CREATED\" creaparam \":\" date-time CRLF\r\n\r\ncreaparam = *(\";\" other-param)\r\n\r\ndtstamp = \"DTSTAMP\" stmparam \":\" date-time CRLF\r\n\r\nstmparam = *(\";\" other-param)\r\n\r\nlast-mod = \"LAST-MODIFIED\" lstparam \":\" date-time CRLF\r\n\r\nlstparam = *(\";\" other-param)\r\n\r\nseq = \"SEQUENCE\" seqparam \":\" integer CRLF\r\n; Default is \"0\"\r\n\r\nseqparam = *(\";\" other-param)\r\n\r\niana-prop = iana-token *(\";\" icalparameter) \":\" value CRLF\r\n\r\nx-prop = x-name *(\";\" icalparameter) \":\" value CRLF\r\n\r\nrstatus = \"REQUEST-STATUS\" rstatparam \":\"\r\n statcode \";\" statdesc [\";\" extdata]\r\n\r\nrstatparam = *(\r\n ;\r\n ; The following is OPTIONAL,\r\n ; but MUST NOT occur more than once.\r\n ;\r\n (\";\" languageparam) /\r\n ;\r\n ; The following is OPTIONAL,\r\n ; and MAY occur more than once.\r\n ;\r\n (\";\" other-param)\r\n ;\r\n )\r\n\r\nstatcode = 1*DIGIT 1*2(\".\" 1*DIGIT)\r\n;Hierarchical, numeric return status code\r\n\r\nstatdesc = text\r\n;Textual status description\r\n\r\nextdata = text\r\n;Textual exception data. For example, the offending property\r\n;name and value or complete property line.\r\n\r\n;; FIXME: Defined in section 8.x, but conflicts with some definitions from earlier.\r\n;; method = 1*(ALPHA / DIGIT / \"-\")\r\n;; ; IANA-registered iCalendar object method\r\n;;\r\n;; component = \"VEVENT\"\r\n;; / \"VTODO\"\r\n;; / \"VJOURNAL\"\r\n;; / \"VFREEBUSY\"\r\n;; / \"VTIMEZONE\"\r\n;; / iana-token\r\n;; / x-name\r\n;;\r\n;; optinfo = infovalue / qinfovalue\r\n;;\r\n;; infovalue = iana-token / x-name\r\n;;\r\n;; qinfovalue = DQUOTE (infovalue) DQUOTE\r\n" }
UTF-8
ABNF
43,892
bver
6b2c45fe76042cee62344c4acdc625e8f4bfcaf9
6d0832b3aae9e1efe02476217a3b391990ddd0fb
/sample/toy_regression/grammar.abnf
eae3e313d3d3f98067ca2ccc43a9846f2618910f
bver/GERET
{ "content": "\nexpr = expr op expr / \n \"(\" expr op expr \")\" /\n pre-op \"(\" expr \")\" /\n var\n\nop = \"+\" / \"-\" / \"/\" / \"*\"\n\npre-op = \"sin\" / \"cos\" / \"exp\" / \"log\"\n\nvar = \"x\" / \"1.0\"\n\n" }
UTF-8
ABNF
182
lambdaxymox
d1109fe3e0e58ceb36ba99c8cf9190984d5cc33d
e9018c9e2c3f16a5f8afb649518d2017141f1302
/tests/data/abnf.abnf
55fe8669208d812abcca4ef6a549487df3214489
lambdaxymox/tokei
{ "content": "; 11 lines 3 code 5 comments 3 blanks\n; comment line 0\n; comment line 1\n\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n\nBIT = \"0\" / \"1\"\n\nCHAR = %x01-7F\n ; any 7-bit US-ASCII character,\n ; excluding NUL\n" }
UTF-8
ABNF
268
DanStevens
5ab31c55accbcd0f22e17bfdc2c6ee37cbb53311
9e4b2983b00e44a55f484aa4a1db8dab5f19a344
/time.abnf
e337cf04c751652ca42e10b7a8d600cdaeefe798
DanStevens/learn-apg-exp
{ "content": "time-24hr = hours sep minutes sep seconds\nhours = tetravigit\nminutes = sexagit\nseconds = sexagit\n\ntetravigit = (\"0\"/\"1\") digit / \"2\" %d48-51; A decimal number in the range 0-23\nsexagit = %d48-53 digit ; A decimal number in the range 0-59\ndigit = %d48-57 ; digits 0-9\ndigit1-9 = %d49-57 ; digits 1-9\nsep = \"-\" / \":\" / \".\" ; date component seperator" }
UTF-8
ABNF
536
janeusz2000
175ff9b0124975386baaa64fce84e67b52bedea2
14aff669e789c2f086da82f6d9b5836af402bd32
/grammars/szachyy.abnf
0f6f6bf80be84309cfa2c745b3bc8d815f4b5643
janeusz2000/-Verbally-controlled-chess-
{ "content": "#ABNF 1.0;\nlanguage pl-pl;\nmode voice;\nroot $root;\ntag-format <semantics/1.0-literals>;\n\n$root = $ruch | $roszada | $end | $instruction_on | $instruction_off | $mozliwosci\n | $położenie;\n\n$położenie = $figura $naco;\n$mozliwosci = pokaż (dostępne | możliwe) ruchy;\n$ruch = $figura $naco $corobi $naco;\n$corobi = na | (zbij | bij | bije | zbija);\n$figura = pionek | wieża | skoczek | (laufer | goniec) | (królowa | hetman)| król;\n$naco = $litera $cyfra;\n$litera = a | be | ce | de | e | ef | gie | ha;\n$cyfra = jeden | dwa | trzy | cztery | pięć | sześć | siedem | osiem;\n$roszada = roszada w stronę $figura_r;\n$figura_r = króla | królowej;\n$end = zakończ grę | poddaję się | poddaj się| koniec gry;\n$instruction_on = pokaż instrukcje | otwórz instrukcje;\n$instruction_off = zamknij instrukcje;" }
UTF-8
ABNF
819
cash2one
ace3aad0c8eb597cc940498a97e08ef3952068f9
bc6feb11a8f05cc7abdd53aa2ce5c764c5dd538a
/XfeiAutoTool/abnf/2/main.abnf
7eaf6360b73728a5015b777230a8ae83c9bbb117
cash2one/pythonTool
{ "content": "#ABNF 1.0 UTF-8;\nbusiness weather;\nroot main;\n#ABNF HEAD-END;\n$want = 要 | 想 | 想要;\n$number = [一|二|三|四]号;\n$where = 候车厅;\n$main{biz:2} = [我] [$want] 去 [$number] $where;" }
UTF-8
ABNF
192
xldenis
ffdcfa2397e14aa20d151d9882c732e5b8270e45
7faa078218688cc8155a48db893a9369d32f26b8
/test/grammars/repetition.abnf
375ecadcc4997188bf4376ec01feb780ba8c00b0
xldenis/abnf-gen
{ "content": "test-rule = *[*\"maKGs\"]\n" }
UTF-8
ABNF
24
swalter2
6e0af074c693b45f74fd57d88c3a41a8f22406bc
09fe8d89ff57e514ea1bdca834f089a70884888a
/en.abnf
43c4515eedae8aaa13dfcb40f36a41cc3f2dd62f
swalter2/GrammarFusion
{ "content": "#ABNF 1.0 UTF-8;\n\nlanguage en-US;\nmode voice;\ntag-format <semantics/1.0>;\n\nroot $all;\n\npublic $all = $aircraftcode | $aircraftmanu | $AIRLINE | $airlinecode | $airlinename | $airplaneQ | $AIRPORT | $airportcode | $airportname | $AIRPORTSERVICE | $ampm | $attribute | $attribute_aircraftinfo | $attribute_airline | $attribute_arrivalcity | $attribute_car | $attribute_choice | $attribute_city | $attribute_date | $attribute_departcity | $attribute_flight | $attribute_flightno | $attribute_hotel | $attribute_itinerary | $attribute_leg | $attribute_modified_mapped | $attribute_noofpass | $attribute_path_modifier | $attribute_postmodifier | $attribute_returnleg | $attribute_stopover | $attribute_time | $bookit | $cancel | $canceltag | $car | $carcompany | $cartype | $CHANGE | $changefrom | $changetag | $changeto | $CITY | $cityname | $citystate | $class | $CLEAR | $cleartag | $clearvalue | $CONFIRM | $connectionQ | $costQ | $country | $DATE | $datename | $DATESPEC | $datespec_absolute | $datespec_exact | $datespec_relative | $datespec_timeamt | $datespec_timetype | $DATETIMECOMB | $day | $daynumbers | $daynumbers_ordinal | $digit | $done | $DONTCARE | $DONTKNOW | $FARETYPE | $faretypedesc | $filledpause | $FLIGHT | $FLIGHTNO | $flighttype | $FOCUS_CHANGE | $FREEZE | $FROMCITY | $FROMDATE | $FROMTIME | $frustration | $goback | $goodbye | $help | $holiday | $hotel | $hotelnames | $hour | $HOUR | $idnumber | $idontknow | $INFORMQ | $INFORMQ_FLIGHT | $ISOLATED_NUMBER | $locname | $MEAL | $militaryhour | $MINUTE | $MONEY | $MONEYSPEC | $month | $nextoption | $no | $NONE | $NOOFPASS | $no_semantics | $NOTEXPRESSION_AIRLINE | $nowhere | $number | $numpass | $OREXPRESSION_AIRLINE | $REMAIN | $repeat | $startover | $state | $STOPCITY | $tens | $TIME | $timename | $TIMESPEC | $TOCITY | $TODATE | $TOTIME | $tutorial | $whquestion | $year | $yes; \n\n$aircraftcode = \"HUNDRED\"|\"A HUNDRED\"|\"ONE HUNDRED\"|\"ONE OH OH\"|\"ONE OH ZERO\"|\"ONE ZERO OH\"|\"ONE ZERO ZERO\"|\"ONE FOUR SIX\"|\"ONE HUNDRED FOUR SIX\"|\"ONE HUNDRED FOURTY SIX\"|\"ONE FOURTY SIX\"|\"THREE HUNDRED TEN\"|\"THREE TEN\"|\"THREE ONE OH\"|\"THREE ONE ZERO\"|\"THREE HUNDRED ONE OH\"|\"THREE HUNDRED ONE ZERO\"|\"THREE HUNDRED TWENTY\"|\"THREE TWENTY\"|\"THREE TWO OH\"|\"THREE TWO ZERO\"|\"THREE HUNDRED TWO OH\"|\"THREE HUNDRED TWO ZERO\"|\"SEVEN TWO SEVEN\"|\"SEVEN HUNDRED TWO SEVEN\"|\"SEVEN HUNDRED TWENTY SEVEN\"|\"SEVEN TWENTY SEVEN\"|\"SEVEN TWO S\"|\"SEVENTY TWO S\"|\"SEVEN THREE THREE\"|\"SEVEN HUNDRED THIRTY THREE\"|\"SEVEN THIRTY THREE\"|\"SEVEN HUNDRED THREE THREE\"|\"SEVEN THREE FOUR\"|\"SEVEN HUNDRED THREE FOUR\"|\"SEVEN HUNDRED THIRTY FOUR\"|\"SEVEN THIRTY FOUR\"|\"SEVEN THREE FIVE\"|\"SEVEN HUNDRED THREE FIVE\"|\"SEVEN HUNDRED THIRTY FIVE\"|\"SEVEN THIRTY FIVE\"|\"SEVEN THREE SEVEN\"|\"SEVEN HUNDRED THREE SEVEN\"|\"SEVEN HUNDRED THIRTY SEVEN\"|\"SEVEN THIRTY SEVEN\"|\"SEVEN THREE S\"|\"SEVENTY THREE S\"|\"SEVEN FOUR FOUR\"|\"SEVEN HUNDRED FOURTY FOUR\"|\"SEVEN FOURTY FOUR\"|\"SEVEN HUNDRED FOUR FOUR\"|\"SEVEN FOUR SEVEN\"|\"SEVEN HUNDRED FOUR SEVEN\"|\"SEVEN HUNDRED FOURTY SEVEN\"|\"SEVEN FOURTY SEVEN\"|\"SEVEN FOUR L\"|\"SEVENTY FOUR L\"|\"SEVEN FOUR M\"|\"SEVENTY FOUR M\"|\"SEVEN FIVE SEVEN\"|\"SEVEN HUNDRED FIVE SEVEN\"|\"SEVEN HUNDRED FIFTY SEVEN\"|\"SEVEN FIFTY SEVEN\"|\"SEVEN SIX THREE\"|\"SEVEN HUNDRED SIX THREE\"|\"SEVEN HUNDRED SIXTY THREE\"|\"SEVEN SIXTY THREE\"|\"SEVEN SIX SEVEN\"|\"SEVEN HUNDRED SIX SEVEN\"|\"SEVEN HUNDRED SIXTY SEVEN\"|\"SEVEN SIXTY SEVEN\"|\"A B THREE\"|\"A T SEVEN\"|\"A T P\"|\"A T R\"|\"B E ONE\"|\"B E NINE\"|\"D TEN\"|\"D ONE OH\"|\"D ONE ZERO\"|\"D ONE M\"|\"D EIGHT S\"|\"D NINE S\"|\"D C NINE\"|\"D H SEVEN\"|\"D H EIGHT\"|\"D O EIGHT\"|\"E M TWO\"|\"F TWO SEVEN\"|\"F TWENTY SEVEN\"|\"F TWO EIGHT\"|\"F TWENTY EIGHT\"|\"J THREE ONE\"|\"J THIRTY ONE\"|\"L TEN\"|\"L ONE OH\"|\"L ONE ZERO\"|\"L FIFTEEN\"|\"L ONE FIVE\"|\"M ELEVEN\"|\"M ONE ONE\"|\"M EIGHTY\"|\"M EIGHT OH\"|\"M EIGHT ZERO\"|\"S F THREE\"|\"S H SIX\"|\"S W M\"\n;\n\n$aircraftmanu = \"AEROSPATIALE\"|\"AIRBUS INDUSTRIE\"|\"BEECHCRAFT\"|\"BOEING\"|\"BOEING CANADA\"|\"BRITISH AEROSPACE\"|\"DORNIER\"|\"EMBRAER\"|\"FAIRCHILD\"|\"FOKKER\"|\"LOCKHEED\"|\"MCDONNELL DOUGLAS\"|\"SAAB\"|\"SHORTS\"\n;\n\n$AIRLINE = [ON] $airlinename [\"AIRLINE\"|\"AIRLINES\"]\n| [ON] $airlinecode\n| $OREXPRESSION_AIRLINE\n| $NOTEXPRESSION_AIRLINE\n;\n\n$airlinecode = \"TWO V\"|\"THREE J\"|\"SEVEN V\"|\"NINE E\"|\"NINE L\"|\"NINE N\"|\"NINE X\"|\"A A\"|\"A C\"|\"A R\"|\"A S\"|\"A T\"|\"B A\"|\"B E\"|\"C O\"|\"C P\"|\"D H\"|\"D L\"|\"E V\"|\"F F\"|\"G X\"|\"H P\"|\"H Q\"|\"K W\"|\"L H\"|\"M G\"|\"N W\"|\"N X\"|\"O E\"|\"O H\"|\"O O\"|\"Q D\"|\"R P\"|\"R Z\"|\"S N\"|\"S X\"|\"T G\"|\"T W\"|\"T Z\"|\"U A\"|\"U S\"|\"W N\"|\"X J\"|\"Y X\"|\"Z W\"\n;\n\n$airlinename = \"A T A\"|\"AER LINGUS\"|\"AEROLINEAS ARGENTINAS\"|\"AEROMEXICO\"|\"AIR ALLIANCE\"|\"AIR ATLANTIC\"|\"AIR CANADA\"|\"AIR FRANCE\"|\"AIR JAMAICA\"|\"AIR NEW ZEALAND\"|\"AIR NOVA\"|\"AIR ONTARIO\"|\"AIR PORTUGAL\"|\"AIR TRAN AIRWAYS\"|\"AIR WISCONSIN\"|\"AIRTRAN AIRWAYS\"|\"ALASKA\"|\"ALASKA AIR\"|\"ALASKA AIRLINES\"|\"ALITALIA\"|\"ALL NIPPON AIRWAYS\"|\"ALOHA AIRLINES\"|\"ALPHA AIR\"|\"AMERICA WEST\"|\"AMERICA WEST AIRLINES\"|\"AMERICAN\"|\"AMERICAN AIRLINES\"|\"AMERICAN TRANS AIR\"|\"ANSETT AUSTRALIA\"|\"ASIANA\"|\"ATLANTIC COAST\"|\"ATLANTIC COAST AIRLINES\"|\"ATLANTIC SOUTHEAST\"|\"ATLANTIC SOUTHEAST AIRLINES\"|\"AUSTRIAN\"|\"BRANIFF\"|\"BRANIFF INTERNATIONAL AIRLINES\"|\"BRITISH AIRWAYS\"|\"BUSINESS EXPRESS\"|\"C C AIR\"|\"CANADIAN\"|\"CANADIAN AIRLINES INTERNATIONAL\"|\"CARNIVAL\"|\"CARNIVAL AIR LINES\"|\"CATHAY PACIFIC\"|\"CHINA AIRLINES\"|\"CHRISTMAN AIR SYSTEM\"|\"COLGAN AIR\"|\"COMAIR\"|\"CONTINENTAL\"|\"CONTINENTAL AIRLINES\"|\"CZECHOSLOVAK\"|\"CZECHOSLOVAK AIRLINES\"|\"DELTA\"|\"DELTA AIR LINES\"|\"EASTERN AIR LINES\"|\"EL AL AIRLINES\"|\"EXPRESS\"|\"EXPRESS AIRLINES\"|\"FRONTIER AIRLINES\"|\"GRAND AIRWAYS\"|\"HAWAIIAN AIRLINES\"|\"IBERIA\"|\"ICELAND AIR\"|\"JAPAN AIRLINES\"|\"JET BLUE\"|\"K L M\"|\"KOREAN AIR\"|\"LAN CHILE\"|\"LEGEND AIRLINES\"|\"LUFTHANSA\"|\"LUFTHANSA GERMAN AIRLINES\"|\"MALAYSIA AIRLINES\"|\"MESA AIRLINES\"|\"MESABA AVIATION\"|\"MEXICANA\"|\"MGM GRAND AIR\"|\"MIDWAY AIRLINES\"|\"MIDWEST EXPRESS\"|\"MIDWEST EXPRESS AIRLINES\"|\"NATIONAIR\"|\"NATIONAL AIRLINES\"|\"NORTHEAST EXPRESS\"|\"NORTHEAST EXPRESS REGIONAL\"|\"NORTHWEST\"|\"NORTHWEST AIRLINES\"|\"OLYMPIC AIRWAYS\"|\"ONTARIO EXPRESS\"|\"PRECISION\"|\"PRECISION AIRLINES\"|\"PRO AIR\"|\"QUANTAS\"|\"RENO AIR\"|\"ROYAL AIR MAROC\"|\"SABENA\"|\"SABENA BELGIAN WORLD AIRLINES\"|\"SCANDINAVIAN AIRLINES\"|\"SCANDINAVIAN SAS\"|\"SINGAPORE AIRLINES\"|\"SKY WEST\"|\"SKY WEST AIRLINES\"|\"SOUTHWEST\"|\"SOUTHWEST AIRLINES\"|\"SPIRIT AIRLINES\"|\"SUN COUNTRY AIRLINES\"|\"SWISSAIR\"|\"T W A\"|\"THAI AIR INTERNATIONAL\"|\"THAI AIRWAYS INTERNATIONAL\"|\"THAI AIRWAYS\"|\"TOWER AIR\"|\"TRANS STATES AIRLINES\"|\"TRANS WORLD\"|\"TRANS WORLD AIR\"|\"TRANS WORLD AIRLINE\"|\"TRANS WORLD AIRLINES\"|\"TRANS WORLD EXPRESS\"|\"U S AIR\"|\"UNITED\"|\"UNITED AIRLINES\"|\"US AIR\"|\"VANGUARD\"|\"VIRGIN ATLANTIC\"|\"WESTAIR\"|\"WESTAIR AIRLINES\"|\"WESTJET\"\n;\n\n$airplaneQ = \"TYPE OF AIRPLANE\"|\"KIND OF AIRPLANE\"|\"TYPE OF PLANE\"|\"KIND OF PLANE\"\n;\n\n$AIRPORT = $airportname [\"INTERNATIONAL\"] [\"AIRPORT\"]\n| $airportcode [\"AIRPORT\"]\n| $cityname \"AIRPORT\"\n| (\"ANY\"|\"A\"|\"AN\") \"AIRPORT IN\" [\"THE\"] $cityname [$state] [\"AREA\"]\n;\n\n$airportcode = \"A T L\"|\"B N A\"|\"B O S\"|\"B U R\"|\"B W I\"|\"C L E\"|\"C L T\"|\"C M H\"|\"C V G\"|\"D A L\"|\"D C A\"|\"D E N\"|\"D E T\"|\"D F W\"|\"D T W\"|\"E W R\"|\"H O U\"|\"H P N\"|\"I A D\"|\"I A H\"|\"I N D\"|\"J F K\"|\"L A S\"|\"L A X\"|\"L G A\"|\"L G B\"|\"M C I\"|\"M C O\"|\"M D W\"|\"M E M\"|\"M I A\"|\"M K E\"|\"M S P\"|\"O A K\"|\"O N T\"|\"O R D\"|\"P H L\"|\"P H X\"|\"P I E\"|\"P I T\"|\"S A N\"|\"S E A\"|\"S F O\"|\"S J C\"|\"S L C\"|\"S T L\"|\"T P A\"|\"Y K Z\"|\"Y M X\"|\"Y T Z\"|\"Y U L\"|\"Y Y Z\"\n;\n\n$airportname = \"AMSTERDAM SCHIPOL AIRPORT\"|\"ATLANTA HARTSFIELD AIRPORT\"|\"B W I\"|\"BALTIMORE WASHINGTON\"|\"BALTIMORE WASHINGTON AIRPORT\"|\"BALTIMORE WASHINGTON INTERNATIONAL AIRPORT\"|\"BIRMINGHAM INTERNATIONAL AIRPORT\"|\"BLUE GRASS AIRPORT\"|\"BOSTON LOGAN AIRPORT\"|\"BRADLEY INTERNATIONAL AIRPORT\"|\"BUFFALO NIAGRA AIRPORT\"|\"BURBANK AIRPORT\"|\"BUSH INTERCONTINENTAL\"|\"BUTTONVILLE\"|\"BUTTONVILLE AIRPORT\"|\"CHARLES DE GAULLE\"|\"CHARLES DE GAULLE AIRPORT\"|\"CHARLOTTE DOUGLAS\"|\"CHARLOTTE DOUGLAS AIRPORT\"|\"CHICAGO MIDWAY\"|\"CHICAGO MIDWAY AIRPORT\"|\"CHICAGO O'HARE AIRPORT\"|\"CHICAGO O'HARE\"|\"CINCINNATI INTERNATIONAL AIRPORT\"|\"CINCINNATI NORTHERN KENTUCKY\"|\"CINCINNATI NORTHERN KENTUCKY AIRPORT\"|\"CLEVELAND HOPKINS AIRPORT\"|\"D F W\"|\"D I A\"|\"DALLAS FORT WORTH\"|\"DALLAS FORT WORTH AIRPORT\"|\"DALLAS LOVE FIELD AIRPORT\"|\"DES MOINES INTERNATIONAL AIRPORT\"|\"DETROIT CITY\"|\"DETROIT CITY AIRPORT\"|\"DORVAL\"|\"DORVAL AIRPORT\"|\"DULLES AIRPORT\"|\"DULLES INTERNATIONAL\"|\"EDMONTON INTERNATIONAL AIRPORT\"|\"FORT LAUDERDALE HOLLYWOOD AIRPORT\"|\"GENERAL MITCHELL\"|\"GENERAL MITCHELL AIRPORT\"|\"GOTHENBORG LANDVETTER AIRPORT\"|\"GREATER PITTSBURGH\"|\"GREATER PITTSBURGH AIRPORT\"|\"HANEDA AIRPORT\"|\"HARTSFIELD\"|\"HARTSFIELD AIRPORT\"|\"HARTSFIELD ATLANTA\"|\"HARTSFIELD ATLANTA AIRPORT\"|\"HEATHROW AIRPORT\"|\"HOBBY\"|\"HOBBY AIRPORT\"|\"HOPKINS\"|\"HOPKINS AIRPORT\"|\"HOUSTON BUSH AIRPORT\"|\"HOUSTON INTERCONTINENTAL\"|\"HOUSTON INTERCONTINENTAL AIRPORT\"|\"HUNTSVILLE INTERNATIONAL AIRPORT\"|\"INDIANAPOLIS AIRPORT\"|\"J F K\"|\"J F K AIRPORT\"|\"J F KENNEDY\"|\"JACKSON INTERNATIONAL AIRPORT\"|\"JOHN F KENNEDY\"|\"JOHN F KENNEDY AIRPORT\"|\"KANSAS CITY AIRPORT\"|\"KENNEDY\"|\"KENNEDY AIRPORT\"|\"L A INTERNATIONAL\"|\"L A INTERNATIONAL AIRPORT\"|\"L A X\"|\"LA GUARDIA\"|\"LA GUARDIA AIRPORT\"|\"LAMBERT SAINT LOUIS\"|\"LAMBERT SAINT LOUIS AIRPORT\"|\"LAS VEGAS MCCARRAN AIRPORT\"|\"LEONARDO DA VINCI\"|\"LESTER B PEARSON\"|\"LESTER B PEARSON AIRPORT\"|\"LINDBERGH FIELD SAN DIEGO\"|\"LINDBERGH FIELD SAN DIEGO AIRPORT\"|\"LOGAN\"|\"LOGAN AIRPORT\"|\"LONDON GATWICK\"|\"LONDON GATWICK AIRPORT\"|\"LONDON HEATHROW\"|\"LONDON HEATHROW AIRPORT\"|\"LONG BEACH MUNICIPAL\"|\"LONG BEACH MUNICIPAL AIRPORT\"|\"LOS ANGELES AIRPORT\"|\"LOS ANGELES INTERNATIONAL\"|\"LOS ANGELES INTERNATIONAL AIRPORT\"|\"LOVE FIELD\"|\"LOVE FIELD AIRPORT\"|\"MCCARRAN\"|\"MCCARRAN AIRPORT\"|\"MCGHEE TYSON AIRPORT\"|\"MEMPHIS AIRPORT\"|\"MIAMI AIRPORT\"|\"MIAMI INTERNATIONAL AIRPORT\"|\"MIDWAY\"|\"MIDWAY AIRPORT\"|\"MILAN MALPENSA AIRPORT\"|\"MINNEAPOLIS SAINT PAUL\"|\"MINNEAPOLIS SAINT PAUL AIRPORT\"|\"MIRABEL\"|\"MIRABEL AIRPORT\"|\"NARITA AIRPORT\"|\"NASHVILLE AIRPORT\"|\"NEW YORK J F K\"|\"NEW YORK J F K AIRPORT\"|\"NEW YORK LA GUARDIA\"|\"NEW YORK LA GUARDIA AIRPORT\"|\"NEWARK AIRPORT\"|\"NORTHERN KENTUCKY AIRPORT\"|\"O'HARE\"|\"O'HARE AIRPORT\"|\"OAKLAND AIRPORT\"|\"OAKLAND INTERNATIONAL AIRPORT\"|\"ONTARIO AIRPORT\"|\"ONTARIO INTERNATIONAL AIRPORT\"|\"ORLANDO AIRPORT\"|\"PARIS CHARLES DE GAULLE AIRPORT\"|\"PARIS ORLY AIRPORT\"|\"PHILADELPHIA AIRPORT\"|\"PHILADELPHIA INTERNATIONAL AIRPORT\"|\"PHOENIX INTERNATIONAL AIRPORT\"|\"PHOENIX SKY HARBOR\"|\"PHOENIX SKY HARBOR AIRPORT\"|\"PORT COLUMBUS\"|\"PORT COLUMBUS AIRPORT\"|\"REAGAN AIRPORT\"|\"ROME LEONARDO DA VINCI AIRPORT\"|\"RONALD REAGAN AIRPORT\"|\"RONALD REAGAN NATIONAL AIRPORT\"|\"RONALD REAGAN WASHINGTON NATIONAL AIRPORT\"|\"SAINT PETERSBURG CLEARWATER\"|\"SAINT PETERSBURG CLEARWATER AIRPORT\"|\"SALT LAKE CITY AIRPORT\"|\"SAN DIEGO INTERNATIONAL AIRPORT\"|\"SAN FRANCISCO AIRPORT\"|\"SAN FRANCISCO INTERNATIONAL AIRPORT\"|\"SAN JOSE AIRPORT\"|\"SEATAC\"|\"SEATAC AIRPORT\"|\"SEATTLE TACOMA AIRPORT\"|\"SKY HARBOR\"|\"SKY HARBOR AIRPORT\"|\"STAPLETON\"|\"STAPLETON AIRPORT\"|\"TAMPA AIRPORT\"|\"TOKYO HANEDA\"|\"TOKYO HANEDA AIRPORT\"|\"TOKYO NARITA\"|\"TOKYO NARITA AIRPORT\"|\"TORONTO ISLAND\"|\"TORONTO ISLAND AIRPORT\"|\"WASHINGTON D C DULLES AIRPORT\"|\"WASHINGTON D C INTERNATIONAL\"|\"WASHINGTON D C NATIONAL AIRPORT\"|\"WASHINGTON DULLES\"|\"WASHINGTON DULLES AIRPORT\"|\"WASHINGTON NATIONAL\"|\"WASHINGTON NATIONAL AIRPORT\"|\"WAYNE COUNTY\"|\"WAYNE COUNTY AIRPORT\"|\"WESTCHESTER AIRPORT\"|\"WESTCHESTER COUNTY AIRPORT\"|\"WILLIAM B HARTSFIELD AIRPORT\"\n;\n\n$AIRPORTSERVICE = \"TAXI\"|\"CAB\"|\"BUS\"|\"SUBWAY\"|\"TRAIN\"|\"GROUND TRANSPORTATION\"|\"GROUND SERVICE\"|\"GROUND SERVICES\"\n;\n\n$ampm = \"A M\"|\"P M\"\n| \"IN THE MORNING\"|\"IN THE AFTERNOON\"|\"IN THE AFTER NOON\"|\"IN THE EVENING\"|\"IN THE NIGHT\"|\"AT NIGHT\"|\"NOON\"|\"MIDNIGHT\"\n;\n\n$attribute = [\"THE\"|\"MY\"] ($attribute_airline|$attribute_flightno|$attribute_date|$attribute_time|$attribute_noofpass|$attribute_city|$attribute_stopover|$attribute_aircraftinfo|$attribute_hotel|$attribute_car|$attribute_itinerary|$attribute_leg|$attribute_flight)\n| $attribute_modified_mapped| \"THE\" $attribute_path_modifier\n;\n\n$attribute_aircraftinfo = \"AIRCRAFT TYPE\"|\"AIRPLANE TYPE\"|\"AIRCRAFT CODE\"|\"AIRPLANE CODE\"|\"AIRCRAFT MANUFACTURER\"|\"AIRPLANE MANUFACTURER\"|\"AIRCRAFT MANUFACTURED BY\"|\"AIRPLANE MANUFACTURED BY\"\n;\n\n$attribute_airline = \"AIRLINE\"|\"AIRLINES\"\n;\n\n$attribute_arrivalcity = \"ARRIVAL LOCATION\"|\"ARRIVAL CITY\"|\"ARRIVAL AIRPORT\"|\"ENDING LOCATION\"|\"ENDING AIRPORT\"|\"ENDING CITY\"|\"DESTINATION\"|\"FINAL DESTINATION\"|\"AIRPORT I'M GOING IN\"|\"CITY I'M GOING IN\"|\"AIRPORT I AM GOING IN\"|\"CITY I AM GOING IN\"|\"AIRPORT AM I GOING IN\"|\"CITY AM I GOING IN\"|\"AIRPORT I'M FLYING IN\"|\"CITY I'M FLYING IN\"|\"AIRPORT I AM FLYING IN\"|\"CITY I AM FLYING IN\"|\"AIRPORT AM I FLYING IN\"|\"CITY AM I FLYING IN\"|\"AIRPORT I'M ARRIVING IN\"|\"CITY I'M ARRIVING IN\"|\"AIRPORT I AM ARRIVING IN\"|\"CITY I AM ARRIVING IN\"|\"AIRPORT AM I ARRIVING IN\"|\"CITY AM I ARRIVING IN\"|\"AIRPORT I'M TRAVELING IN\"|\"CITY I'M TRAVELING IN\"|\"AIRPORT I AM TRAVELING IN\"|\"CITY I AM TRAVELING IN\"|\"AIRPORT AM I TRAVELING IN\"|\"CITY AM I TRAVELING IN\"|\"AIRPORT I'M GOING AT\"|\"CITY I'M GOING AT\"|\"AIRPORT I AM GOING AT\"|\"CITY I AM GOING AT\"|\"AIRPORT AM I GOING AT\"|\"CITY AM I GOING AT\"|\"AIRPORT I'M FLYING AT\"|\"CITY I'M FLYING AT\"|\"AIRPORT I AM FLYING AT\"|\"CITY I AM FLYING AT\"|\"AIRPORT AM I FLYING AT\"|\"CITY AM I FLYING AT\"|\"AIRPORT I'M ARRIVING AT\"|\"CITY I'M ARRIVING AT\"|\"AIRPORT I AM ARRIVING AT\"|\"CITY I AM ARRIVING AT\"|\"AIRPORT AM I ARRIVING AT\"|\"CITY AM I ARRIVING AT\"|\"AIRPORT I'M TRAVELING AT\"|\"CITY I'M TRAVELING AT\"|\"AIRPORT I AM TRAVELING AT\"|\"CITY I AM TRAVELING AT\"|\"AIRPORT AM I TRAVELING AT\"|\"CITY AM I TRAVELING AT\"|\"AIRPORT I'M GOING INTO\"|\"CITY I'M GOING INTO\"|\"AIRPORT I AM GOING INTO\"|\"CITY I AM GOING INTO\"|\"AIRPORT AM I GOING INTO\"|\"CITY AM I GOING INTO\"|\"AIRPORT I'M FLYING INTO\"|\"CITY I'M FLYING INTO\"|\"AIRPORT I AM FLYING INTO\"|\"CITY I AM FLYING INTO\"|\"AIRPORT AM I FLYING INTO\"|\"CITY AM I FLYING INTO\"|\"AIRPORT I'M ARRIVING INTO\"|\"CITY I'M ARRIVING INTO\"|\"AIRPORT I AM ARRIVING INTO\"|\"CITY I AM ARRIVING INTO\"|\"AIRPORT AM I ARRIVING INTO\"|\"CITY AM I ARRIVING INTO\"|\"AIRPORT I'M TRAVELING INTO\"|\"CITY I'M TRAVELING INTO\"|\"AIRPORT I AM TRAVELING INTO\"|\"CITY I AM TRAVELING INTO\"|\"AIRPORT AM I TRAVELING INTO\"|\"CITY AM I TRAVELING INTO\"|\"AIRPORT I'M GOING TO\"|\"CITY I'M GOING TO\"|\"AIRPORT I AM GOING TO\"|\"CITY I AM GOING TO\"|\"AIRPORT AM I GOING TO\"|\"CITY AM I GOING TO\"|\"AIRPORT I'M FLYING TO\"|\"CITY I'M FLYING TO\"|\"AIRPORT I AM FLYING TO\"|\"CITY I AM FLYING TO\"|\"AIRPORT AM I FLYING TO\"|\"CITY AM I FLYING TO\"|\"AIRPORT I'M ARRIVING TO\"|\"CITY I'M ARRIVING TO\"|\"AIRPORT I AM ARRIVING TO\"|\"CITY I AM ARRIVING TO\"|\"AIRPORT AM I ARRIVING TO\"|\"CITY AM I ARRIVING TO\"|\"AIRPORT I'M TRAVELING TO\"|\"CITY I'M TRAVELING TO\"|\"AIRPORT I AM TRAVELING TO\"|\"CITY I AM TRAVELING TO\"|\"AIRPORT AM I TRAVELING TO\"|\"CITY AM I TRAVELING TO\"\n;\n\n$attribute_car = \"RENTAL\"|\"RESERVE\"|\"RESERVE A\"|\"INFORMATION\"|\"CAR\"|\"RENTAL CAR\"|\"CAR RESERVATION\"|\"RENTAL CAR RESERVATION\"|\"CARS\"|\"RENTAL CARS\"|\"CAR RENTAL\"|\"RENT CAR\"|\"RENTING CAR\"|\"PICK UP CAR\"|\"GET CAR\"|\"RENT A CAR\"|\"RENTING A CAR\"|\"PICK UP A CAR\"|\"GET A CAR\"|\"CAR INFORMATION\"|\"RESERVE CAR\"|\"RESERVE A CAR\"\n| (\"RENT\"|\"RENTING\"|\"PICK UP\"|\"GET\"|\"RENT A\"|\"GET\"|\"RENT A\"|\"RENTING A\"|\"PICK UP A\"|\"GET A\") $cartype\n;\n\n$attribute_choice = \"ONE\"|\"CHOICE\"|\"OPTION\"\n;\n\n$attribute_city = \"CITY\"|\"AIRPORT\"\n;\n\n$attribute_date = \"DATE\"|\"DEPARTURE DATE\"|\"ARRIVAL DATE\"|\"DAY\"|\"DEPARTURE DAY\"|\"ARRIVAL DAY\"|\"MONTH\"|\"DATE OF DEPARTURE\"|\"DAY OF DEPARTURE\"|\"DATE OF ARRIVAL\"|\"DAY OF ARRIVAL\"|\"YEAR\"|\"DATE I'M LEAVING\"|\"DAY I'M LEAVING\"|\"DATE I'M ARRIVING\"|\"DAY I'M ARRIVING\"|\"DATE I'M TAKING OFF\"|\"DAY I'M TAKING OFF\"\n;\n\n$attribute_departcity = (\"STARTING\"|\"START\"|\"DEPARTURE\"|\"DEPARTING\") (\"LOCATION\"|\"AIRPORT\"|\"CITY\")\n| (\"AIRPORT\"|\"CITY\") (\"I'M\"|\"AM I\"|\"I AM\") (\"LEAVING\"|\"TRAVELING FROM\")\n| (\"AIRPORT\"|\"CITY\") \"I WANT TO\" (\"LEAVE\"|\"LEAVE FROM\"|\"TRAVEL FROM\"|\"FLY FROM\"|\"START OUT FROM\"|\"DEPART FROM\"|\"GO FROM\")\n;\n\n$attribute_flight = \"FLIGHT\"\n;\n\n$attribute_flightno = \"FLIGHT NUMBER\"\n;\n\n$attribute_hotel = \"HOTEL\"|\"HOTELS\"|\"HOTEL RESERVATION\"|\"HOTEL INFORMATION\"|\"GET A HOTEL\"|\"GET A HOTEL ROOM\"|\"GET A ROOM\"|\"RESERVE HOTEL\"|\"RENT HOTEL\"|\"RESERVE A HOTEL\"|\"RENT A HOTEL\"|\"RESERVE HOTEL ROOM\"|\"RENT HOTEL ROOM\"|\"RESERVE A HOTEL ROOM\"|\"RENT A HOTEL ROOM\"\n;\n\n$attribute_itinerary = \"ITINERARY\"|\"TRAVEL PLANS\"\n;\n\n$attribute_leg = \"LEG\"|\"SEGMENT\"\n;\n\n$attribute_modified_mapped = $attribute_returnleg\n;\n\n$attribute_noofpass = \"NUMBER OF PASSENGERS\"\n;\n\n$attribute_path_modifier = \"DEPART\"|\"DEPARTURE\"|\"DEPARTING\"|\"LEAVE\"|\"LEAVING\"|\"ARRIVING\"|\"ARRIVAL\"|\"ARRIVE\"\n;\n\n$attribute_postmodifier = (\"OR\"|\"FOR\") $attribute\n;\n\n$attribute_returnleg = \"WILL GO BACK\"|\"WANNA GO BACK\"|\"WILL GO BACK HOME\"|\"WANNA GO BACK HOME\"|\"WANT TO GO BACK\"|\"LIKE TO GO BACK\"|\"BACK\"|\"RETURN\"|\"RETURNING\"|\"RETURN HOME\"|\"RETURNING HOME\"|\"RETURN FLIGHT\"|\"RETURN BACK\"|\"COME BACK\"|\"FLY BACK\"|\"RETURN BACK HOME\"|\"COME BACK HOME\"|\"FLY BACK HOME\"|\"GO BACK HOME\"|\"GOING TO GO BACK\"\n;\n\n$attribute_stopover = \"STOPOVER\"\n;\n\n$attribute_time = \"TIME\"|\"HOUR\"|\"MINUTE\"\n;\n\n$bookit = \"BOOK THIS\"|\"BOOK THIS TRIP\"|\"BOOK THIS ONE\"|\"BOOK IT\"|\"BOOK THAT\"|\"BOOK THAT TRIP\"|\"BOOK THAT ONE\"\n;\n\n$cancel = \"ABORT\"\n| (\"CANCEL\"|\"GET RID OF\"|\"DELETE\"|\"SKIP\") [\"THE\"] $attribute\n| $canceltag $attribute\n;\n\n$canceltag = \"DO NOT WANT\"|\"DON'T WANT\"|\"DO NOT WANT TO\"|\"DON'T WANT TO\"|\"DO NOT WANT A\"|\"DON'T WANT A\"\n;\n\n$car = \"GO TO CARS\"|\"HEY FRANK GO TO CARS\"\n;\n\n$carcompany = \"ADVANTAGE\"|\"ALAMO\"|\"AVIS\"|\"BUDGET\"|\"DOLLAR\"|\"ENTERPRISE\"|\"HERTZ\"|\"NATIONAL\"|\"PAY\"|\"THRIFTY\"\n;\n\n$cartype = \"SUBCOMPACT CAR\"|\"SUBCOMPACT\"|\"ECONOMY CAR\"|\"ECONOMY\"|\"COMPACT CAR\"|\"COMPACT\"|\"INTERMEDIATE CAR\"|\"INTERMEDIATE SIZE CAR\"|\"INTERMEDIATE\"|\"MID SIZE CAR\"|\"MIDSIZE CAR\"|\"STANDARD CAR\"|\"STANDARD SIZE CAR\"|\"STANDARD SIZE\"|\"FULL SIZE CAR\"|\"FULLSIZE CAR\"|\"FULL SIZE\"|\"FULLSIZE\"|\"PREMIUM CAR\"|\"PREMIUM\"|\"LUXURY CAR\"|\"LUXURY\"|\"SPORTS CAR\"|\"CONVERTIBLE\"|\"STATION WAGON\"|\"WAGON\"|\"MINIVAN\"|\"VAN\"|\"FULL SIZE VAN\"|\"SPORT UTILITY\"|\"S U V\"|\"FOUR WHEEL DRIVE\"|\"PICK-UP TRUCK\"|\"PICK-UP\"|\"ALL TERRAIN VEHICLE\"|\"ALL TERRAIN\"\n;\n\n$CHANGE = $changetag [$changefrom] [$changeto]\n| $changetag $changeto $changefrom\n| $changefrom $changetag [$changeto]\n;\n\n$changefrom = [\"FROM\"] ($TOTIME|$FROMTIME|$TIME|$AIRLINE|$CITY) [\"BUT\"|\"BUT IT'S\"|\"IT'S\"|\"IS\"]\n;\n\n$changetag = \"CORRECTION\"|\"CORRECTIONS\"\n| (\"CHANGE\"|\"MODIFY\"|\"FIX\"|\"CORRECT\") [\"THE\"|\"MY\"] [$attribute]\n| \"NOT\"|\"NO NOT\"|\"NO IT'S NOT\"|\"IT'S NOT\"|\"IT ISN'T\"|\"NOT WHAT I SAID\"|\"NOT RIGHT\"|\"NOT CORRECT\"|\"WRONG\"|\"BAD\"|\"INCORRECT\"|\"A MISTAKE\"|\"AN MISTAKE\"|\"A ERROR\"|\"AN ERROR\"|\"OOP\"|\"OOPS\"|\"SORRY\"|\"THAT'S WRONG\"\n| (\"THAT'S\"|\"THAT IS\"|\"GOT IT\"|\"GOT THAT\") (\"WRONG\"|\"INCORRECT\")\n;\n\n$changeto = [\"TO\"] ($TOTIME|$FROMTIME|$TIME|$AIRLINE|$CITY)\n;\n\n$CITY = ($cityname|$AIRPORT) [[\"IN\"] $state]\n| $citystate\n;\n\n$cityname = \"A CORUNA\"|\"AALESUND\"|\"AALBORG\"|\"ABERDEEN\"|\"ABIDJAN\"|\"ABU DHABI\"|\"ACAPULCO\"|\"ACCRA\"|\"ADANA\"|\"ADDIS ABABA\"|\"ADELAIDE\"|\"AGADIR\"|\"AJACCIO\"|\"AKRON\"|\"AL HOCEIMA\"|\"ALBANY\"|\"ALBUQUERQUE\"|\"ALEXANDRIA\"|\"ALGIERS\"|\"ALICANTE\"|\"ALLENTOWN\"|\"ALMERIA\"|\"ALTA\"|\"AMARILLO\"|\"AMMAN\"|\"AMSTERDAM\"|\"ANCHORAGE\"|\"ANGELHOLM\"|\"ANGLET\"|\"ANGOULEME\"|\"ANKARA\"|\"ANTALYA\"|\"ANTANANARIVO\"|\"ANTWERP\"|\"ASMARA\"|\"ASTURIAS\"|\"ASWAN\"|\"ATHENS\"|\"ATLANTA\"|\"ATLANTIC CITY\"|\"AUCKLAND\"|\"AUGSBURG\"|\"AUSTIN\"|\"BADAJOZ\"|\"BADEN BADEN\"|\"BAHRAIN\"|\"BALTIMORE\"|\"BAMAKO\"|\"BANDA ACEH\"|\"BANDUNG\"|\"BANGKOK\"|\"BANGOR\"|\"BANGUI\"|\"BANJARMASIN\"|\"BANJUL\"|\"BARCELONA\"|\"BARDUFOSS\"|\"BARI\"|\"BARRANQUILLA\"|\"BASEL\"|\"BASTIA\"|\"BATON ROUGE\"|\"BEAUVAIS\"|\"BEIJING\"|\"BEIRUT\"|\"BEJAIA\"|\"BELEM\"|\"BELFAST\"|\"BELGRADE\"|\"BELO HORIZONTE\"|\"BERGEN\"|\"BERLIN\"|\"BERMUDA\"|\"BERN\"|\"BIAK\"|\"BILBAO\"|\"BILLINGS\"|\"BILLUND\"|\"BIRMINGHAM\"|\"BISMARCK\"|\"BLOEMFONTEIN\"|\"BLOUNTVILLE\"|\"BOA VISTA\"|\"BODOE\"|\"BODRUM\"|\"BOISE\"|\"BOLOGNA\"|\"BOMBAY\"|\"BONAIRE\"|\"BORDEAUX\"|\"BOSTON\"|\"BOULDER\"|\"BOURGAS\"|\"BRASILIA\"|\"BREMEN\"|\"BREST\"|\"BRINDISI\"|\"BRISBANE\"|\"BRISTOL\"|\"BRNO\"|\"BRUSSELS\"|\"BUCHAREST\"|\"BUDAPEST\"|\"BUENOS AIRES\"|\"BUFFALO\"|\"BURBANK\"|\"CAIRNS\"|\"CAIRO\"|\"CALCUTTA\"|\"KOLKATA\"|\"CALGARY\"|\"CALVI\"|\"CAMPINAS\"|\"CAMPO GRANDE\"|\"CANCUN\"|\"CANTON\"|\"CAPETOWN\"|\"CARDIFF\"|\"CASABLANCA\"|\"CASPER\"|\"CEDAR RAPIDS\"|\"CHAMBERY\"|\"CHAPEL HILL\"|\"CHARLESTON\"|\"CHARLOTTE\"|\"CHARLOTTETOWN\"|\"CHATTANOOGA\"|\"CHEJU\"|\"CHICAGO\"|\"CHRISTCHURCH\"|\"CINCINNATI\"|\"CLERMONT\"|\"CLEVELAND\"|\"COLOGNE\"|\"COLOMBO\"|\"COLORADO SPRINGS\"|\"COLUMBIA\"|\"COLUMBUS\"|\"CONAKRY\"|\"COPENHAGEN\"|\"CORDOBA\"|\"CORK\"|\"CORUMBA\"|\"COTONOU\"|\"CRUZEIRO DO SUL\"|\"CURACAO\"|\"CURITIBA\"|\"D C\"|\"DALLAS\"|\"DAR ES SALAAM\"|\"DAYTON\"|\"DAYTONA\"|\"DELHI\"|\"DENPASAR BALI\"|\"DENVER\"|\"DES MOINES\"|\"DETROIT\"|\"DHAHRAN\"|\"DIJON\"|\"DIRE DAWA\"|\"DISNEY WORLD\"|\"DORTMUND\"|\"DRESDEN\"|\"DUBAI\"|\"DUBLIN\"|\"DUBROVNIK\"|\"DULLES\"|\"DULUTH\"|\"DUNEDIN\"|\"DURBAN\"|\"DURHAM\"|\"DUSSELDORF\"|\"EAST LONDON\"|\"EAST MIDLANDS\"|\"EDINBURGH\"|\"EDMONTON\"|\"EGELSBACH\"|\"EILAT\"|\"EINDHOVEN\"|\"EKATERINBURG\"|\"EL PASO\"|\"ELDORET\"|\"ENSCHEDE\"|\"ENTEBBE\"|\"ERIE\"|\"ESSEN\"|\"EUGENE\"|\"EVENES\"|\"FAIRBANKS\"|\"FARGO\"|\"FARO\"|\"FEZ\"|\"FIGARI\"|\"FLORENCE\"|\"FLORES\"|\"FLORIANOPOLIS\"|\"FLORO\"|\"FOGGIA\"|\"FORT COLLINS\"|\"FORT LAUDERDALE\"|\"FORT MYERS\"|\"FORT WAYNE\"|\"FORT WORTH\"|\"FORTALEZA\"|\"FRANKFURT\"|\"FRESNO\"|\"FRIEDRICHSHAFEN\"|\"FUERTEVENTURA\"|\"FUJAIRAH\"|\"FUNCHAL\"|\"GAINESVILLE\"|\"GATWICK\"|\"GENEVA\"|\"GENOA\"|\"GEORGE\"|\"GHARDAIA\"|\"GIRONA\"|\"GLASGOW\"|\"GOTEBORG\"|\"GOTHENBORG\"|\"GRAN CANARIA\"|\"GRANADA\"|\"GRAND RAPIDS\"|\"GRAZ\"|\"GREENSBORO\"|\"GRENOBLE\"|\"GUADALAJARA\"|\"GUERNSEY\"|\"GULFPORT\"|\"HAHN\"|\"HALIFAX\"|\"HALLE\"|\"HALMSTAD\"|\"HAMBURG\"|\"HAMMERFEST\"|\"HANOVER\"|\"HARRISBURG\"|\"HARTFORD\"|\"HASSI MESSAOUD\"|\"HAUGESUND\"|\"HEATHROW\"|\"HELSINGBORG\"|\"HELSINKI\"|\"HERMOSILLO\"|\"HIERRO\"|\"HILO\"|\"HILTON HEAD\"|\"HONG KONG\"|\"HONOLULU\"|\"HORTA\"|\"HOUSTON\"|\"HUMBERSIDE\"|\"HUNTSVILLE\"|\"HURGADA\"|\"IBIZA\"|\"IDAHO FALLS\"|\"IGUASU FALLS\"|\"ILHA DO SAL\"|\"INDIANAPOLIS\"|\"INNSBRUCK\"|\"ISLA DE MARGARITA\"|\"ISTANBUL\"|\"IZMIR\"|\"JACKSON\"|\"JACKSONVILLE\"|\"JAKARTA\"|\"JAMAICA\"|\"JEDDAH\"|\"JERBA\"|\"JEREZ\"|\"JOHANNESBURG\"|\"JONKOPING\"|\"JOPLIN\"|\"JUNEAU\"|\"KAHULUI\"|\"KALAMAZOO\"|\"KALMAR\"|\"KANSAS CITY\"|\"KAOHSIUNG\"|\"KARLOVY VARY\"|\"KARLSRUHE\"|\"KARLSTAD\"|\"KATOWICE\"|\"KEAHOLE\"|\"KIEV\"|\"KIGALI\"|\"KIMBERLEY\"|\"KINGSTON\"|\"KIRKENES\"|\"KIRUNA\"|\"KLAGENFURT\"|\"KNOXVILLE\"|\"KRISTIANSAND\"|\"KRISTIANSUND\"|\"KUALA LUMPUR\"|\"KUWAIT\"|\"L A\"|\"LA PALMA\"|\"LA RIOJA\"|\"LAFAYETTE\"|\"LAGOS\"|\"LAKSELV\"|\"LANCASTER\"|\"LANZAROTE\"|\"LARNACA\"|\"LAS VEGAS\"|\"LEEDS\"|\"LEIPZIG\"|\"LEXINGTON\"|\"LIBREVILLE\"|\"LIEGE\"|\"LIHUE\"|\"LILLE\"|\"LILONGWE\"|\"LINZ\"|\"LISBON\"|\"LITTLE ROCK\"|\"LIVERPOOL\"|\"LJUBLJANA\"|\"LOME\"|\"LONDON\"|\"LONG BEACH\"|\"LONGYEARBYEN\"|\"LORIENT\"|\"LOS ANGELES\"|\"LOUISVILLE\"|\"LUGANO\"|\"LULEA\"|\"LUSAKA\"|\"LUXOR\"|\"LYON\"|\"MAASTRICHT\"|\"MACAPA\"|\"MACAU\"|\"MADISON\"|\"MADRAS\"|\"CHENNAI\"|\"MADRID\"|\"MAGDEBURG\"|\"MAHAJANGA\"|\"MALAGA\"|\"MALE\"|\"MALMO\"|\"MALTA\"|\"MANADO\"|\"MANAUS\"|\"MANCHESTER\"|\"MANILA\"|\"MAPUTO\"|\"MAR DE PLATA\"|\"MARACAIBO\"|\"MARRAKECH\"|\"MARSEILLE\"|\"MAUI\"|\"MAZATLAN\"|\"MCALLEN\"|\"MEDAN\"|\"MELBOURNE\"|\"MELILLA\"|\"MEMPHIS\"|\"MENDOZA\"|\"MENORCA\"|\"MERIDA\"|\"METZ\"|\"MEXICO CITY\"|\"MIAMI\"|\"MILAN\"|\"MILWAUKEE\"|\"MINNEAPOLIS\"|\"MISSOULA\"|\"MOBILE\"|\"MOLDE\"|\"MOLINE\"|\"MOMBASA\"|\"MONACO\"|\"MONASTIR\"|\"MONTEGO BAY\"|\"MONTEREY\"|\"MONTERREY\"|\"MONTGOMERY\"|\"MONTPELLIER\"|\"MONTREAL\"|\"MORONI\"|\"MOSCOW\"|\"MUGLA\"|\"MULHEIM\"|\"MULHOUSE\"|\"MUMBAI\"|\"MUNICH\"|\"MUNSTER\"|\"MURCIA\"|\"MUSCAT\"|\"MYRTLE BEACH\"|\"NADI\"|\"NAIROBI\"|\"NANCY\"|\"NANTES\"|\"NANTUCKET\"|\"NAPLES\"|\"NARITA\"|\"NASHVILLE\"|\"NATAL\"|\"NATIONAL\"|\"NEW DELHI\"|\"NEW ORLEANS\"|\"NEW YORK\"|\"NEW YORK CITY\"|\"NEWARK\"|\"NEWBURGH\"|\"NEWCASTLE\"|\"NIAMEY\"|\"NICE\"|\"NIMES\"|\"NORFOLK\"|\"NORRKOPING\"|\"NORTH PLATTE\"|\"NORWICH\"|\"NOUMEA\"|\"NOVOSIBIRSK\"|\"NURENBERG\"|\"N Y C\"|\"O'HARE\"|\"OAKLAND\"|\"OHRID\"|\"OKLAHOMA CITY\"|\"OMAHA\"|\"ONTARIO\"|\"ORLANDO\"|\"ORNSKOLDSVIK\"|\"OSAKA\"|\"OSLO\"|\"OSTERSUND\"|\"OSTRAVA\"|\"OTTAWA\"|\"OUARZAZATE\"|\"OUJDA\"|\"PADANG\"|\"PADUCAH\"|\"PALEMBANG\"|\"PALM BEACH\"|\"PALM SPRINGS\"|\"PALMA DE MALLORCA\"|\"PAMPLONA\"|\"PAPEETE\"|\"PAPHOS\"|\"PARIS\"|\"PAU\"|\"PEKANBARU\"|\"PENSACOLA\"|\"PEORIA\"|\"PERPIGNAN\"|\"PERTH\"|\"PHILADELPHIA\"|\"PHNOM PENH\"|\"PHOENIX\"|\"PISA\"|\"PITTSBURGH\"|\"PLAINE MAGNIEN\"|\"POINTE A PITRE\"|\"PONTA DELGADA\"|\"PONTIANAK\"|\"PORT ELIZABETH\"|\"PORT OF SPAIN\"|\"PORTLAND\"|\"PORTO\"|\"PRAGUE\"|\"PRESTWICK\"|\"PROVIDENCE\"|\"PUERTO RICO\"|\"PUERTO VALLARTA\"|\"PUSAN\"|\"RABAT\"|\"RALEIGH\"|\"RAS AL KHAIMAH\"|\"REAGAN\"|\"RECIFE\"|\"REIMS\"|\"RENNES\"|\"RENO\"|\"REUS\"|\"RICHMOND\"|\"RIGA\"|\"RIO BRANCO\"|\"RIO DE JANEIRO\"|\"RIYADH\"|\"ROANOKE\"|\"ROCHESTER\"|\"ROEROS\"|\"ROME\"|\"RONNEBY\"|\"ROSTOV\"|\"ROTTERDAM\"|\"SAARBRUECKEN\"|\"SACRAMENTO\"|\"SAINT ETIENNE\"|\"SAINT LOUIS\"|\"SAINT MAARTEN\"|\"SAINT PAUL\"|\"SAINT THOMAS VIRGIN ISLANDS\"|\"SALAMANCA\"|\"SALT LAKE CITY\"|\"SALVADOR\"|\"SALZBURG\"|\"SAN ANTONIO\"|\"SAN CARLOS DE BARILOCHE\"|\"SAN DIEGO\"|\"SAN FRANCISCO\"|\"SAN JOSE\"|\"SAN JUAN\"|\"SAN LUIS OBISPO\"|\"SAN PEDRO SULA\"|\"SAN SALVADOR\"|\"SAN SEBASTIAN\"|\"SANDEFJORD\"|\"SANTA ANA\"|\"SANTA BARBARA\"|\"SANTA MARIA\"|\"SANTANDER\"|\"SANTIAGO\"|\"SAO PAULO\"|\"SARAJEVO\"|\"SARASOTA\"|\"SASKATOON\"|\"SATU MARE\"|\"SAVANNAH\"|\"SEATTLE\"|\"SEATTLE TACOMA\"|\"SEOUL\"|\"SEVILLA\"|\"SFAX\"|\"SHANGHAI\"|\"SHANNON\"|\"SHARJAH\"|\"SHARM EL SHEIKH\"|\"SHEFFIELD\"|\"SHREVEPORT\"|\"SINGAPORE\"|\"SIOUX CITY\"|\"SIOUX FALLS\"|\"SITKA\"|\"SKELLEFTEA\"|\"SKOPJE\"|\"SOFIA\"|\"SOLO CITY\"|\"SOUTH BEND\"|\"SOUTHAMPTON\"|\"SPLIT\"|\"SPOKANE\"|\"SPRINGFIELD\"|\"ST DENIS GILLOT\"|\"ST LUCIA\"|\"ST PETERSBURG\"|\"STAVENGER\"|\"STOCKHOLM\"|\"STOKMARNES\"|\"STRASBOURG\"|\"STURUP\"|\"STUTTGART\"|\"SUNDSVALL\"|\"SURABAYA\"|\"SYDNEY\"|\"SYRACUSE\"|\"TABARKA\"|\"TABATINGA\"|\"TACOMA\"|\"TAIPEI\"|\"TALLINN\"|\"TAMANRASSET\"|\"TAMPA\"|\"TANGIERS\"|\"TARANTO\"|\"TARBES\"|\"TEESSIDE\"|\"TEL AVIV\"|\"TENERIFE NORTE\"|\"TENERIFE SUR\"|\"TIJUANA\"|\"TOAMASINA\"|\"TOKYO\"|\"TOLEDO\"|\"TOPEKA\"|\"TORONTO\"|\"TOULON\"|\"TOULOUSE\"|\"TOZEUR\"|\"TRIESTE\"|\"TRIVANDRUM\"|\"TROMSOE\"|\"TRONDHEIM\"|\"TUCSON\"|\"TUCUMAN\"|\"TULSA\"|\"TUNIS\"|\"TURIN\"|\"UMEA\"|\"UPINGTON\"|\"VALENCIA\"|\"VALLADOLID\"|\"VANCOUVER\"|\"VARNA\"|\"VEGAS\"|\"VENICE\"|\"VERONA\"|\"VICTORIA\"|\"VIENNA\"|\"VIGO\"|\"VILNIUS\"|\"VISBY\"|\"VITORIA\"|\"WARSAW\"|\"WASHINGTON\"|\"WELLINGTON\"|\"WEST PALM BEACH\"|\"WESTCHESTER\"|\"WESTCHESTER COUNTY\"|\"WICHITA\"|\"WILMINGTON\"|\"WINDHOEK\"|\"WINNIPEG\"|\"WROCLAW\"|\"XIAMEN\"|\"YOGYAKARTA\"|\"YUMA\"|\"ZAGREB\"|\"ZANZIBAR\"|\"ZARAGOZA\"|\"ZURICH\"\n;\n\n$citystate = \"A CORUNA SPAIN\"|\"AALESUND NORWAY\"|\"AALBORG DENMARK\"|\"ABERDEEN ENGLAND\"|\"ABIDJAN IVORY COAST\"|\"ABU DHABI ARAB EMIRATES\"|\"ACAPULCO MEXICO\"|\"ACCRA GHANA\"|\"ADANA TURKEY\"|\"ADDIS ABABA ETHIOPIA\"|\"ADELAIDE AUSTRALIA\"|\"AGADIR MOROCCO\"|\"AJACCIO FRANCE\"|\"AKRON OHIO\"|\"AL HOCEIMA MOROCCO\"|\"ALBANY NEW YORK\"|\"ALBUQUERQUE NEW MEXICO\"|\"ALEXANDRIA EGYPT\"|\"ALGIERS ALGERIA\"|\"ALICANTE SPAIN\"|\"ALLENTOWN P A\"|\"ALLENTOWN PENNSYLVANIA\"|\"ALMERIA SPAIN\"|\"ALTA NORWAY\"|\"AMARILLO TEXAS\"|\"AMMAN JORDAN\"|\"AMSTERDAM HOLLAND\"|\"AMSTERDAM NETHERLANDS\"|\"ANCHORAGE ALASKA\"|\"ANGELHOLM SWEDEN\"|\"ANGLET FRANCE\"|\"ANGOULEME FRANCE\"|\"ANKARA TURKEY\"|\"ANTALYA TURKEY\"|\"ANTANANARIVO MADAGASCAR\"|\"ANTWERP BELGIUM\"|\"ASMARA ERITREA\"|\"ASTURIAS SPAIN\"|\"ASWAN EGYPT\"|\"ATHENS GREECE\"|\"ATLANTA GEORGIA\"|\"ATLANTIC CITY NEW JERSEY\"|\"AUCKLAND NEW ZEALAND\"|\"AUGSBURG GERMANY\"|\"AUSTIN TEXAS\"|\"BADAJOZ SPAIN\"|\"BADEN BADEN GERMANY\"|\"BALTIMORE MARYLAND\"|\"BAMAKO MALI\"|\"BANDA ACEH INDONESIA\"|\"BANDUNG INDONESIA\"|\"BANGKOK THAILAND\"|\"BANGOR MAINE\"|\"BANGUI CENTRAL AFRICAN REPUBLIC\"|\"BANJARMASIN INDONESIA\"|\"BANJUL GAMBIA\"|\"BARCELONA SPAIN\"|\"BARDUFOSS NORWAY\"|\"BARI ITALY\"|\"BARRANQUILLA COLOMBIA\"|\"BASEL SWITZERLAND\"|\"BASTIA FRANCE\"|\"BATON ROUGE LOUISIANA\"|\"BEAUVAIS FRANCE\"|\"BEIJING CHINA\"|\"BEIRUT LEBANON\"|\"BEJAIA ALGERIA\"|\"BELEM BRAZIL\"|\"BELFAST ENGLAND\"|\"BELGRADE YUGOSLOVIA\"|\"BELO HORIZONTE BRAZIL\"|\"BERGEN NORWAY\"|\"BERLIN GERMANY\"|\"ANY AIRPORT IN BERLIN GERMANY\"|\"BERN SWITZERLAND\"|\"BIAK INDONESIA\"|\"BILBAO SPAIN\"|\"BILLINGS MONTANA\"|\"BILLUND DENMARK\"|\"BIRMINGHAM ALABAMA\"|\"BIRMINGHAM ENGLAND\"|\"BISMARCK NORTH DAKOTA\"|\"BLOEMFONTEIN SOUTH AFRICA\"|\"BLOUNTVILLE TENNESSEE\"|\"BOA VISTA BRAZIL\"|\"BODOE NORWAY\"|\"BODRUM TURKEY\"|\"BOISE IDAHO\"|\"BOLOGNA ITALY\"|\"BOMBAY INDIA\"|\"BONAIRE DUTCH ANTILLES\"|\"BORDEAUX FRANCE\"|\"BOSTON MASS\"|\"BOSTON MASSACHUSETTS\"|\"BOULDER COLORADO\"|\"BOURGAS BULGARIA\"|\"BRASILIA BRAZIL\"|\"BREMEN GERMANY\"|\"BREST FRANCE\"|\"BRINDISI ITALY\"|\"BRISBANE AUSTRALIA\"|\"BRISTOL ENGLAND\"|\"BRNO CZECHOSLOVAKIA\"|\"BRUSSELS BELGIUM\"|\"BUCHAREST ROMANIA\"|\"BUDAPEST HUNGARY\"|\"BUENOS AIRES ARGENTINA\"|\"ANY AIRPORT IN BUENOS AIRES ARGENTINA\"|\"BUFFALO NEW YORK\"|\"BURBANK CALIFORNIA\"|\"CAIRNS AUSTRALIA\"|\"CAIRO EGYPT\"|\"CALCUTTA INDIA\"|\"KOLKATA INDIA\"|\"CALGARY CANADA\"|\"CALGARY ALBERTA\"|\"CALGARY ALBERTA CANADA\"|\"CALVI FRANCE\"|\"CAMPINAS BRAZIL\"|\"CAMPO GRANDE BRAZIL\"|\"CANCUN MEXICO\"|\"CAPETOWN SOUTH AFRICA\"|\"CARDIFF ENGLAND\"|\"CASABLANCA MOROCCO\"|\"CASPER WYOMING\"|\"CEDAR RAPIDS IOWA\"|\"CHAMBERY FRANCE\"|\"CHAPEL HILL NORTH CAROLINA\"|\"CHARLESTON SOUTH CAROLINA\"|\"CHARLESTON WEST VIRGINIA\"|\"CHARLOTTE NORTH CAROLINA\"|\"CHARLOTTETOWN CANADA\"|\"CHARLOTTETOWN PRINCE EDWARD ISLAND CANADA\"|\"CHARLOTTETOWN PRINCE EDWARD ISLAND\"|\"CHATTANOOGA TENNESSEE\"|\"CHEJU KOREA\"|\"CHICAGO ILLINOIS\"|\"ANY AIRPORT IN CHICAGO ILLINOIS\"|\"CHRISTCHURCH NEW ZEALAND\"|\"CINCINNATI OHIO\"|\"CLERMONT FRANCE\"|\"CLEVELAND OHIO\"|\"COLOGNE GERMANY\"|\"COLOMBO SRI LANKA\"|\"COLORADO SPRINGS COLORADO\"|\"COLUMBIA SOUTH CAROLINA\"|\"COLUMBUS OHIO\"|\"CONAKRY GUINEA\"|\"COPENHAGEN DENMARK\"|\"CORDOBA ARGENTINA\"|\"CORK IRELAND\"|\"CORUMBA BRAZIL\"|\"COTONOU BENIN\"|\"CRUZEIRO DO SUL BRAZIL\"|\"CURACAO DUTCH ANTILLES\"|\"CURITIBA BRAZIL\"|\"DALLAS TEXAS\"|\"DAR ES SALAAM TANZANIA\"|\"DAYTON OHIO\"|\"DAYTONA FLORIDA\"|\"DELHI INDIA\"|\"DENPASAR BALI INDONESIA\"|\"DENVER COLORADO\"|\"DES MOINES IOWA\"|\"DETROIT MICHIGAN\"|\"ANY AIRPORT IN DETROIT MICHIGAN\"|\"DHAHRAN SAUDI ARABIA\"|\"DIJON FRANCE\"|\"DIRE DAWA ETHIOPIA\"|\"DORTMUND GERMANY\"|\"DRESDEN GERMANY\"|\"DUBAI ARAB EMIRATES\"|\"DUBLIN IRELAND\"|\"DUBROVNIK CROATIA\"|\"DULLES VIRGINIA\"|\"DULUTH MINNESOTA\"|\"DUNEDIN NEW ZEALAND\"|\"DURBAN SOUTH AFRICA\"|\"DURHAM NORTH CAROLINA\"|\"DUSSELDORF GERMANY\"|\"EAST LONDON SOUTH AFRICA\"|\"EAST MIDLANDS ENGLAND\"|\"EDINBURGH ENGLAND\"|\"EDMONTON CANADA\"|\"ANY AIRPORT IN EDMONTON CANADA\"|\"EGELSBACH GERMANY\"|\"EILAT ISRAEL\"|\"EINDHOVEN HOLLAND\"|\"EINDHOVEN NETHERLANDS\"|\"EKATERINBURG RUSSIA\"|\"EL PASO TEXAS\"|\"ELDORET KENYA\"|\"ENSCHEDE HOLLAND\"|\"ENSCHEDE NETHERLANDS\"|\"ENTEBBE UGANDA\"|\"ERIE P A\"|\"ERIE PENNSYLVANIA\"|\"ESSEN GERMANY\"|\"EUGENE OREGON\"|\"EVENES NORWAY\"|\"FAIRBANKS ALASKA\"|\"FARGO NORTH DAKOTA\"|\"FARO PORTUGAL\"|\"FEZ MOROCCO\"|\"FIGARI FRANCE\"|\"FLORENCE ITALY\"|\"FLORES PORTUGAL\"|\"FLORIANOPOLIS BRAZIL\"|\"FLORO NORWAY\"|\"FOGGIA ITALY\"|\"FORT COLLINS COLORADO\"|\"FORT LAUDERDALE FLORIDA\"|\"FORT MYERS FLORIDA\"|\"FORT WAYNE INDIANA\"|\"FORT WORTH TEXAS\"|\"FORTALEZA BRAZIL\"|\"FRANKFURT GERMANY\"|\"FRESNO CALIFORNIA\"|\"FRIEDRICHSHAFEN GERMANY\"|\"FUERTEVENTURA SPAIN\"|\"FUJAIRAH ARAB EMIRATES\"|\"FUNCHAL PORTUGAL\"|\"GAINESVILLE FLORIDA\"|\"GENEVA SWITZERLAND\"|\"GENOA ITALY\"|\"GEORGE SOUTH AFRICA\"|\"GHARDAIA ALGERIA\"|\"GIRONA SPAIN\"|\"GLASGOW ENGLAND\"|\"GOTEBORG SWEDEN\"|\"GRAN CANARIA SPAIN\"|\"GRANADA SPAIN\"|\"GRAND RAPIDS MICHIGAN\"|\"GRAZ AUSTRIA\"|\"GREENSBORO NORTH CAROLINA\"|\"GRENOBLE FRANCE\"|\"GUADALAJARA MEXICO\"|\"GUERNSEY ENGLAND\"|\"GULFPORT MISSISSIPPI\"|\"HAHN GERMANY\"|\"HALIFAX CANADA\"|\"HALIFAX NOVA SCOTIA\"|\"HALIFAX NOVA SCOTIA CANADA\"|\"HALLE GERMANY\"|\"HALMSTAD SWEDEN\"|\"HAMBURG GERMANY\"|\"HAMMERFEST NORWAY\"|\"HANOVER GERMANY\"|\"HARRISBURG P A\"|\"HARRISBURG PENNSYLVANIA\"|\"HARTFORD CONNECTICUT\"|\"HARTFORD SPRINGFIELD\"|\"HASSI MESSAOUD ALGERIA\"|\"HAUGESUND NORWAY\"|\"HELSINGBORG SWEDEN\"|\"HELSINKI FINLAND\"|\"HERMOSILLO MEXICO\"|\"HIERRO SPAIN\"|\"HILO HAWAII\"|\"HILTON HEAD SOUTH CAROLINA\"|\"HONOLULU HAWAII\"|\"HORTA PORTUGAL\"|\"HOUSTON TEXAS\"|\"HUMBERSIDE ENGLAND\"|\"HUNTSVILLE ALABAMA\"|\"HURGADA EGYPT\"|\"IBIZA SPAIN\"|\"IDAHO FALLS IDAHO\"|\"IGUASU FALLS BRAZIL\"|\"ILHA DO SAL CAPE VERDE\"|\"INDIANAPOLIS INDIANA\"|\"INNSBRUCK AUSTRIA\"|\"ISLA DE MARGARITA VENEZUELA\"|\"ISTANBUL TURKEY\"|\"IZMIR TURKEY\"|\"JACKSON MISSISSIPPI\"|\"JACKSONVILLE FLORIDA\"|\"JAKARTA INDONESIA\"|\"ANY AIRPORT IN JAKARTA INDONESIA\"|\"JEDDAH SAUDI ARABIA\"|\"JERBA TUNISIA\"|\"JEREZ SPAIN\"|\"JOHANNESBURG SOUTH AFRICA\"|\"JONKOPING SWEDEN\"|\"JUNEAU ALASKA\"|\"KAHULUI HAWAII\"|\"KALAMAZOO MICHIGAN\"|\"KALMAR SWEDEN\"|\"KANSAS CITY MISSOURI\"|\"KAOHSIUNG TAIWAN\"|\"KARLOVY VARY CZECHOSLOVAKIA\"|\"KARLSTAD SWEDEN\"|\"KATOWICE POLAND\"|\"KEAHOLE HAWAII\"|\"KIEV UKRAINE\"|\"KIGALI RWANDA\"|\"KIMBERLEY SOUTH AFRICA\"|\"KINGSTON JAMAICA\"|\"KIRKENES NORWAY\"|\"KIRUNA SWEDEN\"|\"KLAGENFURT AUSTRIA\"|\"KNOXVILLE TENNESSEE\"|\"KRISTIANSAND NORWAY\"|\"KRISTIANSUND NORWAY\"|\"KUALA LUMPUR MALAYSIA\"|\"LA PALMA SPAIN\"|\"LA RIOJA ARGENTINA\"|\"LAFAYETTE INDIANA\"|\"LAGOS NIGERIA\"|\"LAKSELV NORWAY\"|\"LANCASTER P A\"|\"LANCASTER PENNSYLVANIA\"|\"LANZAROTE SPAIN\"|\"LARNACA CYPRUS\"|\"LAS VEGAS MCCARRAN\"|\"LAS VEGAS NEVADA\"|\"LEEDS ENGLAND\"|\"LEIPZIG GERMANY\"|\"LEXINGTON KENTUCKY\"|\"LIBREVILLE GABON\"|\"LIEGE BELGIUM\"|\"LIHUE HAWAII\"|\"LILLE FRANCE\"|\"LILONGWE MALAWI\"|\"LINZ AUSTRIA\"|\"LISBON PORTUGAL\"|\"LITTLE ROCK ARKANSAS\"|\"LIVERPOOL ENGLAND\"|\"LJUBLJANA SLOVENIA\"|\"LOME TONGO\"|\"LONDON ENGLAND\"|\"ANY AIRPORT IN LONDON ENGLAND\"|\"LONDON ONTARIO\"|\"LONG BEACH CALIFORNIA\"|\"LONGYEARBYEN NORWAY\"|\"LORIENT FRANCE\"|\"LOS ANGELES CALIFORNIA\"|\"LOUISVILLE KENTUCKY\"|\"LUGANO SWITZERLAND\"|\"LULEA SWEDEN\"|\"LUSAKA ZAMBIA\"|\"LUXOR EGYPT\"|\"LYON FRANCE\"|\"MAASTRICHT HOLLAND\"|\"MAASTRICHT NETHERLANDS\"|\"MACAPA BRAZIL\"|\"MADISON WISCONSIN\"|\"MADRAS INDIA\"|\"CHENNAI INDIA\"|\"MADRID SPAIN\"|\"MAGDEBURG GERMANY\"|\"MAHAJANGA MADAGASCAR\"|\"MALAGA SPAIN\"|\"MALE MALDIVE ISLANDS\"|\"MALMO STURUP\"|\"MALMO SWEDEN\"|\"MANADO INDONESIA\"|\"MANAUS BRAZIL\"|\"MANCHESTER ENGLAND\"|\"MANCHESTER NEW HAMPSHIRE\"|\"MANILA PHILLIPINES\"|\"MAPUTO MOZAMBIQUE\"|\"MAR DE PLATA ARGENTINA\"|\"MARACAIBO VENEZUELA\"|\"MARRAKECH MOROCCO\"|\"MARSEILLE FRANCE\"|\"MAUI HAWAII\"|\"MAZATLAN MEXICO\"|\"MCALLEN TEXAS\"|\"MEDAN INDONESIA\"|\"MELBOURNE AUSTRALIA\"|\"MELBOURNE FLORIDA\"|\"MELILLA SPAIN\"|\"MEMPHIS TENNESSEE\"|\"MENDOZA ARGENTINA\"|\"MENORCA SPAIN\"|\"MERIDA MEXICO\"|\"METZ FRANCE\"|\"MEXICO CITY MEXICO\"|\"MIAMI FLORIDA\"|\"MILAN ITALY\"|\"ANY AIRPORT IN MILAN ITALY\"|\"MILWAUKEE WISCONSIN\"|\"MINNEAPOLIS MINNESOTA\"|\"MINNEAPOLIS SAINT PAUL\"|\"MISSOULA MONTANA\"|\"MOBILE ALABAMA\"|\"MOLDE NORWAY\"|\"MOLINE ILLINOIS\"|\"MOMBASA KENYA\"|\"MONASTIR TUNISIA\"|\"MONTEGO BAY JAMAICA\"|\"MONTEREY CALIFORNIA\"|\"MONTERREY MEXICO\"|\"MONTGOMERY ALABAMA\"|\"MONTPELLIER FRANCE\"|\"MONTREAL CANADA\"|\"ANY AIRPORT IN MONTREAL CANADA\"|\"MONTREAL QUEBEC\"|\"ANY AIRPORT IN MONTREAL QUEBEC\"|\"MONTREAL QUEBEC CANADA\"|\"ANY AIRPORT IN MONTREAL QUEBEC CANADA\"|\"MORONI COMORROS\"|\"MOSCOW RUSSIA\"|\"MUGLA TURKEY\"|\"MULHEIM GERMANY\"|\"MULHOUSE SWITZERLAND\"|\"MUMBAI INDIA\"|\"MUNICH GERMANY\"|\"MUNSTER GERMANY\"|\"MURCIA SPAIN\"|\"MUSCAT OMAN\"|\"MYRTLE BEACH SOUTH CAROLINA\"|\"NADI FIJI\"|\"NAIROBI KENYA\"|\"NANCY FRANCE\"|\"NANTES FRANCE\"|\"NANTUCKET MASS\"|\"NANTUCKET MASSACHUSETTS\"|\"NAPLES ITALY\"|\"NASHVILLE TENNESSEE\"|\"NATAL BRAZIL\"|\"NEW DELHI INDIA\"|\"NEW ORLEANS LOUISIANA\"|\"NEW YORK NEW YORK\"|\"ANY AIRPORT IN NEW YORK NEW YORK\"|\"NEW YORK CITY NEW YORK\"|\"ANY AIRPORT IN NEW YORK CITY NEW YORK\"|\"NEWARK NEW JERSEY\"|\"NEWBURGH NEW YORK\"|\"NEWCASTLE AUSTRALIA\"|\"NEWCASTLE ENGLAND\"|\"NIAMEY NEBRASKA\"|\"NICE FRANCE\"|\"NIMES FRANCE\"|\"NORFOLK VIRGINIA\"|\"NORRKOPING SWEDEN\"|\"NORTH PLATTE NEBRASKA\"|\"NORWICH ENGLAND\"|\"NOUMEA NORTH CAROLINA\"|\"NOVOSIBIRSK RUSSIA\"|\"NURENBERG GERMANY\"|\"OAKLAND CALIFORNIA\"|\"OHRID MACEDONIA\"|\"OKLAHOMA CITY OKLAHOMA\"|\"OMAHA NEBRASKA\"|\"ONTARIO CALIFORNIA\"|\"ORLANDO FLORIDA\"|\"ORNSKOLDSVIK SWEDEN\"|\"OSAKA JAPAN\"|\"ANY AIRPORT IN OSAKA JAPAN\"|\"OSLO NORWAY\"|\"OSTERSUND SWEDEN\"|\"OSTRAVA CZECHOSLOVAKIA\"|\"OTTAWA CANADA\"|\"OTTAWA ONTARIO\"|\"OTTAWA ONTARIO CANADA\"|\"OUARZAZATE MOROCCO\"|\"OUJDA MOROCCO\"|\"PADANG INDONESIA\"|\"PADUCAH KENTUCKY\"|\"PALEMBANG INDONESIA\"|\"PALM BEACH FLORIDA\"|\"PALM SPRINGS CALIFORNIA\"|\"PALMA DE MALLORCA SPAIN\"|\"PAMPLONA SPAIN\"|\"PAPEETE FRENCH POLYNESIA\"|\"PAPHOS CYPRUS\"|\"PARIS CHARLES DE GAULLE\"|\"PARIS FRANCE\"|\"ANY AIRPORT IN PARIS FRANCE\"|\"PAU FRANCE\"|\"PEKANBARU INDONESIA\"|\"PENSACOLA FLORIDA\"|\"PEORIA ILLINOIS\"|\"PERPIGNAN FRANCE\"|\"PERTH AUSTRALIA\"|\"PHILADELPHIA P A\"|\"PHILADELPHIA PENNSYLVANIA\"|\"PHNOM PENH CAMBODIA\"|\"PHOENIX ARIZONA\"|\"PISA ITALY\"|\"PITTSBURGH P A\"|\"PITTSBURGH PENNSYLVANIA\"|\"PLAINE MAGNIEN MAURITIUS\"|\"POINTE A PITRE GUADELOUPE\"|\"PONTA DELGADA PORTUGAL\"|\"PONTIANAK INDONESIA\"|\"PORT ELIZABETH SOUTH AFRICA\"|\"PORT OF SPAIN TRINIDAD\"|\"PORTLAND OREGON\"|\"PORTO ALEGRE\"|\"PORTO ALEGRE BRAZIL\"|\"PORTO PORTUGAL\"|\"PORTO SANTO\"|\"PORTO SANTO PORTUGAL\"|\"PRAGUE CZECHOSLOVAKIA\"|\"PROVIDENCE RHODE ISLAND\"|\"PRESTWICK ENGLAND\"|\"PUERTO VALLARTA MEXICO\"|\"PUSAN KOREA\"|\"QUEBEC CITY QUEBEC\"|\"QUEBEC CITY QUEBEC CANADA\"|\"RABAT MOROCCO\"|\"RALEIGH DURHAM\"|\"RALEIGH DURHAM NORTH CAROLINA\"|\"RALEIGH NORTH CAROLINA\"|\"RAS AL KHAIMAH ARAB EMIRATES\"|\"REAGAN NATIONAL\"|\"RECIFE BRAZIL\"|\"REIMS FRANCE\"|\"RENNES FRANCE\"|\"RENO NEVADA\"|\"REUS SPAIN\"|\"RICHMOND VIRGINIA\"|\"RIGA LATVIA\"|\"RIO BRANCO BRAZIL\"|\"RIO DE JANEIRO BRAZIL\"|\"ANY AIRPORT IN RIO DE JANEIRO BRAZIL\"|\"RIYADH SAUDI ARABIA\"|\"ROANOKE VIRGINIA\"|\"ROCHESTER MINNESOTA\"|\"ROCHESTER NEW YORK\"|\"ROEROS NORWAY\"|\"ROME ITALY\"|\"ANY AIRPORT IN ROME ITALY\"|\"RONNEBY SWEDEN\"|\"ROSTOV RUSSIA\"|\"ROTTERDAM HOLLAND\"|\"ROTTERDAM NETHERLANDS\"|\"SAARBRUECKEN GERMANY\"|\"SACRAMENTO CALIFORNIA\"|\"SAINT ETIENNE FRANCE\"|\"SAINT LOUIS MISSOURI\"|\"SAINT MAARTEN DUTCH ANTILLES\"|\"SAINT MAARTEN NETHERLAND ANTILLES\"|\"SAINT PAUL MINNESOTA\"|\"SALAMANCA SPAIN\"|\"SALT LAKE CITY UTAH\"|\"SALVADOR BRAZIL\"|\"SALZBURG AUSTRIA\"|\"SAN ANTONIO TEXAS\"|\"SAN CARLOS DE BARILOCHE ARGENTINA\"|\"SAN DIEGO CALIFORNIA\"|\"SAN FRANCISCO CALIFORNIA\"|\"SAN JOSE CALIFORNIA\"|\"SAN JOSE DEL CABO\"|\"SAN JOSE DEL CABO MEXICO\"|\"SAN JUAN PUERTO RICO\"|\"SAN LUIS OBISPO CALIFORNIA\"|\"SAN PEDRO SULA HONDURAS\"|\"SAN SALVADOR EL SALVADOR\"|\"SAN SEBASTIAN SPAIN\"|\"SANDEFJORD NORWAY\"|\"SANTA ANA CALIFORNIA\"|\"SANTA BARBARA CALIFORNIA\"|\"SANTA MARIA PORTUGAL\"|\"SANTANDER SPAIN\"|\"SANTIAGO SPAIN\"|\"SAO PAULO BRAZIL\"|\"ANY AIRPORT IN SAO PAULO BRAZIL\"|\"SARAJEVO BOSNIA\"|\"SARASOTA FLORIDA\"|\"SASKATOON CANADA\"|\"SASKATOON SASKATCHEWAN\"|\"SASKATOON SASKATCHEWAN CANADA\"|\"SATU MARE ROMANIA\"|\"SAVANNAH GEORGIA\"|\"SEATTLE WASHINGTON\"|\"SEOUL KOREA\"|\"SEVILLA SPAIN\"|\"SFAX TUNISIA\"|\"SHANGHAI CHINA\"|\"SHANNON IRELAND\"|\"SHARJAH ARAB EMIRATES\"|\"SHARM EL SHEIKH EGYPT\"|\"SHEFFIELD ENGLAND\"|\"SHREVEPORT LOUISIANA\"|\"SIOUX CITY IOWA\"|\"SIOUX FALLS SOUTH DAKOTA\"|\"SKELLEFTEA SWEDEN\"|\"SKOPJE MACEDONIA\"|\"SOFIA BULGARIA\"|\"SOLO CITY IDAHO\"|\"SOUTH BEND INDIANA\"|\"SOUTHAMPTON ENGLAND\"|\"SPLIT CROATIA\"|\"SPOKANE WASHINGTON\"|\"SPRINGFIELD MASS\"|\"SPRINGFIELD MASSACHUSETTS\"|\"SPRINGFIELD MISSOURI\"|\"ST DENIS GILLOT REUNION\"|\"ST PETERSBURG FLORIDA\"|\"ST PETERSBURG RUSSIA\"|\"STAVENGER NORWAY\"|\"STOCKHOLM SWEDEN\"|\"ANY AIRPORT IN STOCKHOLM SWEDEN\"|\"STOKMARNES NORWAY\"|\"STRASBOURG FRANCE\"|\"STURUP SWEDEN\"|\"STUTTGART GERMANY\"|\"SUNDSVALL SWEDEN\"|\"SURABAYA INDONESIA\"|\"SYDNEY AUSTRALIA\"|\"SYRACUSE NEW YORK\"|\"TABARKA TUNISIA\"|\"TABATINGA BRAZIL\"|\"TAIPEI TAIWAN\"|\"TALLINN ESTONIA\"|\"TAMANRASSET ALGERIA\"|\"TAMPA FLORIDA\"|\"TANGIERS MOROCCO\"|\"TARANTO ITALY\"|\"TARBES FRANCE\"|\"TEESSIDE ENGLAND\"|\"TEL AVIV ISRAEL\"|\"TENERIFE NORTE SPAIN\"|\"TENERIFE SUR SPAIN\"|\"TIJUANA MEXICO\"|\"TOAMASINA MADAGASCAR\"|\"TOKYO JAPAN\"|\"ANY AIRPORT IN TOKYO JAPAN\"|\"TOLEDO OHIO\"|\"TOPEKA KANSAS\"|\"TORONTO CANADA\"|\"ANY AIRPORT IN TORONTO CANADA\"|\"TORONTO ONTARIO\"|\"ANY AIRPORT IN TORONTO ONTARIO\"|\"TORONTO ONTARIO CANADA\"|\"ANY AIRPORT IN TORONTO ONTARIO CANADA\"|\"TOULON FRANCE\"|\"TOULOUSE FRANCE\"|\"TOZEUR TUNISIA\"|\"TRIESTE ITALY\"|\"TRIVANDRUM INDIA\"|\"TROMSOE NORWAY\"|\"TRONDHEIM NORWAY\"|\"TUCSON ARIZONA\"|\"TUCUMAN ARGENTINA\"|\"TULSA OKLAHOMA\"|\"TUNIS TUNISIA\"|\"TURIN ITALY\"|\"UMEA SWEDEN\"|\"UPINGTON SOUTH AFRICA\"|\"VALENCIA SPAIN\"|\"VALLADOLID SPAIN\"|\"VANCOUVER CANADA\"|\"VANCOUVER BRITISH COLUMBIA\"|\"VANCOUVER BRITISH COLUMBIA CANADA\"|\"VARNA BULGARIA\"|\"VENICE ITALY\"|\"VERONA ITALY\"|\"VICTORIA CANADA\"|\"VICTORIA BRITISH COLUMBIA\"|\"VICTORIA BRITISH COLUMBIA CANADA\"|\"VIENNA AUSTRIA\"|\"VIGO SPAIN\"|\"VILNIUS LITHUANIA\"|\"VISBY SWEDEN\"|\"VITORIA SPAIN\"|\"WARSAW POLAND\"|\"WASHINGTON D C\"|\"ANY AIRPORT IN WASHINGTON D C\"|\"WELLINGTON NEW ZEALAND\"|\"WEST PALM BEACH FLORIDA\"|\"WICHITA KANSAS\"|\"WILMINGTON NORTH CAROLINA\"|\"WILMINGTON DELAWARE\"|\"WINDHOEK NAMIBIA\"|\"WINNIPEG CANADA\"|\"WINNIPEG MANITOBA\"|\"WINNIPEG MANITOBA CANADA\"|\"WROCLAW POLAND\"|\"XIAMEN CHINA\"|\"YOGYAKARTA INDONESIA\"|\"YUMA ARIZONA\"|\"ZAGREB CROATIA\"|\"ZANZIBAR TANZANIA\"|\"ZARAGOZA SPAIN\"|\"ZURICH SWITZERLAND\"|\"CANTON OHIO\"|\"GOTHENBORG SWEDEN\"|\"JOPLIN MISSOURI\"|\"SITKA ALASKA\"|\"TACOMA WASHINGTON\"|\"WESTCHESTER COUNTY NEW YORK\"|\"WESTCHESTER NEW YORK\"\n;\n\n$class = \"BUSINESS\"|\"BUSINESS CLASS\"|\"BUSINESS CLASS NIGHT SERVICE\"|\"BUSINESS CLASS PREMIUM\"|\"COACH\"|\"ECONOMY\"|\"COACH ECONOMY CLASS\"|\"COACH ECONOMY CLASS DISCOUNTED\"|\"COACH ECONOMY CLASS DISCOUNTED NIGHT SERVICE\"|\"COACH ECONOMY CLASS NIGHT SERVICE\"|\"FIRST CLASS\"|\"FIRST CLASS NIGHT SERVICE\"|\"FIRST CLASS PREMIUM\"|\"SHUTTLE SERVICE\"|\"STANDARD CLASS\"|\"THRIFT ECONOMY CLASS\"|\"THRIFT ECONOMY CLASS DISCOUNTED\"|\"THRIFT ECONOMY CLASS DISCOUNTED NIGHT SERVICE\"\n;\n\n$CLEAR = $cleartag [$clearvalue]\n| $clearvalue $cleartag\n;\n\n$cleartag = (\"CLEAR\"|\"DELETE\"|\"REMOVE\"|\"SCRATCH\"|\"CHANGE\") [\"THE\"] $attribute\n| (\"DO NOT LIKE\"|\"DO NOT WANT\"|\"DON'T LIKE\"|\"DON'T WANT\") (\"THAT\"|\"THE\") $attribute\n| (\"NEW\"|\"WRONG\"|\"TRY ANOTHER\") $attribute\n| (\"CORRECTION\"|\"CORRECTIONS\") (\"FOR\"|\"OF\") $attribute\n| \"CLEAR\"|\"DELETE\"|\"REMOVE\"|\"SCRATCH\"|\"CLEAR THAT\"|\"DELETE THAT\"|\"REMOVE THAT\"|\"SCRATCH THAT\"|\"NOT\"|\"NO NOT\"|\"NO IT'S NOT\"|\"IT'S NOT\"|\"IT ISN'T\"|\"NOT WHAT I SAID\"|\"NOT RIGHT\"|\"NOT CORRECT\"|\"WRONG\"|\"BAD\"|\"INCORRECT\"|\"I DIDN'T SAY\"|\"I DID NOT SAY\"|\"I DIDN'T MEAN\"|\"I DID NOT MEAN\"|\"I DIDN'T WANT\"|\"I DID NOT WANT\"|\"DON'T\"|\"DO NOT\"|\"AM NOT\"|\"DON'T WANT TO\"|\"DO NOT WANT TO\"|\"AM NOT WANT TO\"|\"DON'T WANNA\"|\"DO NOT WANNA\"|\"AM NOT WANNA\"|\"DON'T WANT\"|\"DON'T NEED\"|\"DON'T LIKE\"|\"NO IT'S NOT GOING\"|\"IT'S NOT GOING\"|\"NOT GOING\"|\"IT ISN'T GOING\"|\"DON'T GO\"|\"DO NOT GO\"|\"AM NOT GO\"|\"DON'T WANT TO GO\"|\"DO NOT WANT TO GO\"|\"AM NOT WANT TO GO\"|\"DON'T WANNA GO\"|\"DO NOT WANNA GO\"|\"AM NOT WANNA GO\"|\"DON'T TRAVEL\"|\"DO NOT TRAVEL\"|\"AM NOT TRAVEL\"|\"DON'T WANT TO TRAVEL\"|\"DO NOT WANT TO TRAVEL\"|\"AM NOT WANT TO TRAVEL\"|\"DON'T WANNA TRAVEL\"|\"DO NOT WANNA TRAVEL\"|\"AM NOT WANNA TRAVEL\"|\"DON'T WANT TO FLY\"|\"CLEAR NOT\"|\"DELETE NOT\"|\"REMOVE NOT\"|\"SCRATCH NOT\"|\"CHANGE NOT\"|\"NOT NOT\"\n;\n\n$clearvalue = ($TOTIME|$FROMTIME|$TIME|$AIRLINE|$CITY) [\"IS\"]\n| $FROMCITY|$TOCITY\n;\n\n$CONFIRM = ($yes|\"THE\"|$yes \"THE\") $attribute \"IS\" (\"RIGHT\"|\"CORRECT\")\n;\n\n$connectionQ = \"CONNECTION\"|\"CONNECTIONS\"|\"DIRECT FLIGHT\"|\"CONNECTING FLIGHT\"|\"CONNECT\"|\"NONSTOP\"|\"NO STOP\"|\"NON STOP\"\n;\n\n$costQ = \"HOW MUCH\"|\"COST\"|\"PRICE\"|\"FARE\"\n;\n\n$country = \"ALGERIA\"|\"ARAB EMIRATES\"|\"THE ARAB EMIRATES\"|\"UNITED ARAB EMIRATES\"|\"THE UNITED ARAB EMIRATES\"|\"ARGENTINA\"|\"AUSTRALIA\"|\"AUSTRIA\"|\"BELGIUM\"|\"BENIN\"|\"BOSNIA\"|\"BRAZIL\"|\"BULGARIA\"|\"CAMBODIA\"|\"CANADA\"|\"CAPE VERDE\"|\"CENTRAL AFRICAN REPUBLIC\"|\"CHINA\"|\"COLOMBIA\"|\"COMORROS\"|\"CROATIA\"|\"CYPRUS\"|\"CZECHOSLOVAKIA\"|\"DENMARK\"|\"EGYPT\"|\"EL SALVADOR\"|\"ENGLAND\"|\"ERITREA\"|\"ESTONIA\"|\"ETHIOPIA\"|\"FIJI\"|\"FINLAND\"|\"FRANCE\"|\"FRENCH POLYNESIA\"|\"GABON\"|\"GAMBIA\"|\"GERMANY\"|\"GHANA\"|\"GUADELOUPE\"|\"GUINEA\"|\"HOLLAND\"|\"HONDURAS\"|\"HUNGARY\"|\"INDIA\"|\"INDONESIA\"|\"IRELAND\"|\"ISRAEL\"|\"ITALY\"|\"IVORY COAST\"|\"JAMAICA\"|\"JAPAN\"|\"JORDAN\"|\"KENYA\"|\"KOREA\"|\"LATVIA\"|\"LEBANON\"|\"LITHUANIA\"|\"MACEDONIA\"|\"MADAGASCAR\"|\"MALAWI\"|\"MALAYSIA\"|\"MALDIVE ISLANDS\"|\"THE MALDIVE ISLANDS\"|\"MALI\"|\"MAURITIUS\"|\"MEXICO\"|\"MOROCCO\"|\"MOZAMBIQUE\"|\"NAMIBIA\"|\"NEBRASKA\"|\"NETHERLAND ANTILLES\"|\"THE NETHERLAND ANTILLES\"|\"NETHERLANDS ANTILLES\"|\"THE NETHERLANDS ANTILLES\"|\"DUTCH ANTILLES\"|\"THE DUTCH ANTILLES\"|\"NETHERLANDS\"|\"THE NETHERLANDS\"|\"NEW ZEALAND\"|\"NIGERIA\"|\"NORWAY\"|\"OMAN\"|\"PHILLIPINES\"|\"THE PHILLIPINES\"|\"POLAND\"|\"PORTUGAL\"|\"PUERTO RICO\"|\"ROMANIA\"|\"RUSSIA\"|\"RWANDA\"|\"SAUDI ARABIA\"|\"SLOVENIA\"|\"SOUTH AFRICA\"|\"SPAIN\"|\"SRI LANKA\"|\"SWEDEN\"|\"SWITZERLAND\"|\"TAIWAN\"|\"TANZANIA\"|\"THAILAND\"|\"TONGO\"|\"TRINIDAD\"|\"TUNISIA\"|\"TURKEY\"|\"UGANDA\"|\"UKRAINE\"|\"THE UKRAINE\"|\"VENEZUELA\"|\"YUGOSLOVIA\"|\"ZAMBIA\"|\"U S\"|\"THE U S\"|\"U S A\"|\"THE U S A\"|\"U S OF A\"|\"THE U S OF A\"|\"UNITED STATES\"|\"THE UNITED STATES\"|\"UNITED STATES OF AMERICA\"|\"THE UNITED STATES OF AMERICA\"|\"VIRGIN ISLANDS\"|\"THE VIRGIN ISLANDS\"|\"U S VIRGIN ISLANDS\"|\"THE U S VIRGIN ISLANDS\"\n;\n\n$DATE = \"ON\" [\"A\"] $day \n| [(\"ON\" [\"THE\"]|\"THE\"|\"ON A\")] $day [$month] [\"UH\"] [($daynumbers|\"THE\" $daynumbers_ordinal)] [$year]\n| [\"ON\"] [$day] $month ($daynumbers|$daynumbers_ordinal) [$year]\n| [\"ON\"] [$day] $month \"THE\" $daynumbers_ordinal [$year]\n| [\"ON\"] [$day] [\"THE\"] $daynumbers_ordinal [\"OF\"] $month [$year]\n| [\"ON\"] [$day] \"THE\" $daynumbers_ordinal\n| $datename|$holiday\n| $DATE \"OR\" $DATE\n| [\"ON\"] [\"THE\"] $DATESPEC\n| $DATESPEC $holiday\n| [\"ON\"] \"THE\" $DATESPEC (\"DAY\"|$DATE)\n| $DATESPEC $DATE\n;\n\n$datename = \"TOMORROW\"|\"YESTERDAY\"|\"TODAY\"|\"TO DAY\"|\"DAY AFTER TOMORROW\"\n;\n\n$DATESPEC = [\"THE\"] $datespec_relative ([$datespec_timeamt] $datespec_timetype|$datespec_exact)\n| [$datespec_timeamt] $datespec_timetype $datespec_relative\n| $datespec_timeamt $datespec_timetype $datespec_absolute\n| [\"THE\"] $datespec_exact $datespec_relative\n| $datespec_absolute $datespec_exact\n| $datespec_exact $datespec_absolute\n;\n\n$datespec_absolute = \"THIS\"|\"NEXT\"|\"NOW\"|\"AFTER NEXT\"\n;\n\n$datespec_exact = $day\n;\n\n$datespec_relative = \"NEXT\"|\"FOLLOWING\"|\"PREVIOUS\"|\"AFTER\"|\"BEFORE\"|\"THEN\"|\"LATER\"|\"EARLIER\"|\"FOR\"|\"FROM\"\n;\n\n$datespec_timeamt = \"A\"|$digit\n;\n\n$datespec_timetype = \"DAY\"|\"WEEK\"|\"MONTH\"|\"DAY FROM\"|\"DAYS FROM\"|\"WEEK FROM\"|\"WEEKS FROM\"|\"DAYS\"|\"WEEKS\"\n| $TIME\n;\n\n$DATETIMECOMB = \"THIS\" $timename|\"TONIGHT\"\n;\n\n$day = \"SUNDAY\"|\"MONDAY\"|\"TUESDAY\"|\"WEDNESDAY\"|\"THURSDAY\"|\"FRIDAY\"|\"SATURDAY\"|\"SUNDAYS\"|\"MONDAYS\"|\"TUESDAYS\"|\"WEDNESDAYS\"|\"THURSDAYS\"|\"FRIDAYS\"|\"SATURDAYS\"\n;\n\n$daynumbers = \"ONE\"|\"TWO\"|\"THREE\"|\"FOUR\"|\"FIVE\"|\"SIX\"|\"SEVEN\"|\"EIGHT\"|\"NINE\"|\"TEN\"|\"ELEVEN\"|\"TWELVE\"|\"THIRTEEN\"|\"FOURTEEN\"|\"FIFTEEN\"|\"SIXTEEN\"|\"SEVENTEEN\"|\"EIGHTEEN\"|\"NINETEEN\"|\"TWENTY\"|\"THIRTY\"|\"TWENTY ONE\"|\"TWENTY TWO\"|\"TWENTY THREE\"|\"TWENTY FOUR\"|\"TWENTY FIVE\"|\"TWENTY SIX\"|\"TWENTY SEVEN\"|\"TWENTY EIGHT\"|\"TWENTY NINE\"|\"THIRTY ONE\"\n;\n\n$daynumbers_ordinal = \"FIRST\"|\"SECOND\"|\"THIRD\"|\"FOURTH\"|\"FIFTH\"|\"SIXTH\"|\"SEVENTH\"|\"EIGHTH\"|\"NINTH\"|\"TENTH\"|\"ELEVENTH\"|\"TWELFTH\"|\"THIRTEENTH\"|\"FOURTEENTH\"|\"FIFTEENTH\"|\"SIXTEENTH\"|\"SEVENTEENTH\"|\"EIGHTEENTH\"|\"NINETEENTH\"|\"TWENTIETH\"|\"TWENTY FIRST\"|\"TWENTY SECOND\"|\"TWENTY THIRD\"|\"TWENTY FOURTH\"|\"TWENTY FIFTH\"|\"TWENTY SIXTH\"|\"TWENTY SEVENTH\"|\"TWENTY EIGHTH\"|\"TWENTY NINTH\"|\"THIRTIETH\"|\"THIRTY FIRST\"\n;\n\n$digit = \"OH\"|\"ZERO\"|\"ONE\"|\"TWO\"|\"THREE\"|\"FOUR\"|\"FIVE\"|\"SIX\"|\"SEVEN\"|\"EIGHT\"|\"NINE\"\n;\n\n$done = \"I'M DONE\"|\"DONE\"|\"THAT'S IT\"|\"THAT'S ALL\"|\"I'M FINISHED\"|\"FINISHED\"|\"THAT IS IT\"|\"THAT IS ALL\"|\"TRIP'S OVER\"|\"COMPLETES MY TRIP\"|\"COMPLETES MY RESERVATION\"|\"COMPLETES MY ITINERARY\"|\"TRIP COMPLETE\"|\"ITINERARY COMPLETE\"|\"RESERVATION COMPLETE\"\n;\n\n$DONTCARE = \"ANY\" $attribute [$yes]\n| (\"DON'T\"|\"DO NOT\") \"HAVE\" [(\"A\"|\"AN\")] $attribute \"PREFERENCE\"\n| \"NO\" $attribute \"PREFERENCE\"\n| \"NO PREFERENCE\"\n| (\"DOESN'T\"|\"DOES NOT\") \"MATTER\" [\"WHAT\"]\n| \"I DON'T CARE\" [\"WHAT\"]\n| (\"DON'T\"|\"DO NOT\") \"HAVE A PREFERENCE\"\n| [\"I\"] (\"DON'T\"|\"DO NOT\") \"CARE WHAT\" $attribute\n;\n\n$DONTKNOW = $idontknow (\"WHAT\"|\"ABOUT THE\") $attribute\n;\n\n$FARETYPE = $faretypedesc\n;\n\n$faretypedesc = \"ONE WAY\"|\"ONE-WAY\"|\"NOT RETURNING\"|\"NO RETURN\"|\"ROUND TRIP\"|\"THREE LEG\"|\"THREE SEGMENT\"\n;\n\n$filledpause = \"UH\"|\"UM\"|\"ER\"|\"MM\"\n;\n\n$FLIGHT = \"FLIGHT\" [$AIRLINE|\"NUMBER\"] $FLIGHTNO\n| $AIRLINE [\"FLIGHT\" [\"NUMBER\"]] $FLIGHTNO\n| $FLIGHTNO \"ON\" $AIRLINE\n;\n\n$FLIGHTNO = ($digit|$number) ($digit|$number) [$digit] [$digit]\n;\n\n$flighttype = \"NONSTOP\"|\"DIRECT\"\n;\n\n$FOCUS_CHANGE = (\"I WOULD LIKE TO\"|\"GO TO\"|\"GO BACK TO\"|\"TALK ABOUT\"|\"SWITCH TO\"|\"CHANGE TO\"|\"LOOK AT\"|\"HOW ABOUT\"|\"SEE ABOUT\") $attribute\n| (\"IS\"|\"ARE\") [\"THERE ANY\"] $attribute \"AVAILABLE\"\n| (\"WOULD LIKE\"|\"WANT\"|\"NEED\") \"TO\" [\"GET\"|\"HAVE\"|\"DO\"] [\"A\"] $attribute\n| (\"SWITCH\"|\"CHANGE\") [\"THE\"] (\"TASK\"|\"ACTIVITY\") \"TO\" $attribute\n;\n\n$FREEZE = (\"DON'T CHANGE\"|\"DON'T MODIFY\"|\"DON'T FIX\"|\"FREEZE\"|\"HOLD\") [\"THE\"|\"MY\"] $attribute [[\"AT\"|\"FROM\"] ($CITY|$DATE|$TIME|$AIRLINE)]\n| (\"FREEZE\"|\"HOLD\"|\"DON'T CHANGE\"|\"DON'T MODIFY\"|\"DON'T FIX\") \"THAT\" [[\"AT\"|\"FROM\"] ($CITY|$DATE|$TIME|$AIRLINE)]\n| (\"FREEZE\"|\"HOLD\") \"AT\" [[\"AT\"|\"FROM\"] ($CITY|$DATE|$TIME|$AIRLINE)]\n| (\"THE\"|$yes|$yes \"THE\") $attribute (\"IS RIGHT\"|\"IS CORRECT\") [[\"AT\"|\"FROM\"] ($CITY|$DATE|$TIME|$AIRLINE)]\n| DONE WITH [\"THE\"] $attribute [[\"AT\"|\"FROM\"] ($CITY|$DATE|$TIME|$AIRLINE)]\n;\n\n$FROMCITY = $attribute_departcity \"IS\" $CITY\n| [(\"DEPART\"[\"ING\"]|\"LEAVE\"[\"S\"]|\"LEAVING\"|\"FLYING\"|\"LEFT\"|\"DEPARTED\")] (\"FROM\"|\"BETWEEN\"|\"OUT OF\") [(\"UH\"|\"UM\")] $CITY\n| (\"DEPART\"[\"ING\"]|\"LEAVE\"[\"S\"]|\"LEAVING\"|\"LEFT\"|\"DEPARTED\") [(\"UH\"|\"UM\")] $CITY\n;\n\n$FROMDATE = (\"LEAVING\"|\"DEPART\"|\"DEPARTING\"|\"LEAVE\"|\"LEAVES\") [(\"ON\"|\"AT\")] [\"THE\"] $DATE\n| (\"DROP OFF\"|\"LEAVE\") [\"THE\" (\"CAR\"|\"TRUCK\"|\"VEHICLE\")] [\"ON\"] [\"THE\"] $DATE\n| (\"DROP\"|\"LEAVE\") \"IT OFF\" [\"ON\"] [\"THE\"] $DATE\n| \"CHECK OUT\" [\"OF THE HOTEL\"] [\"ON\"] [\"THE\"] $DATE\n| (\"LEAVE\"|\"DEPART\") \"THE HOTEL\" [\"ON\"] [\"THE\"] $DATE\n;\n\n$FROMTIME = (\"LEAVING\"|\"DEPART\"|\"DEPARTING\"|\"LEAVE\"|\"LEAVES\") [(\"ON\"|\"AT\"|\"IN\")] [\"THE\"] $TIME\n| $TIME \"DEPARTURE\"\n| \"DROP OFF\" [\"THE\" (\"CAR\"|\"TRUCK\"|\"VEHICLE\")] [\"ON\"] [\"THE\"] $DATE\n| \"DROP IT OFF\" [\"ON\"] [\"THE\"] $DATE\n;\n\n$frustration = \"SHIT\"|\"FUCK\"|\"SON OF A BITCH\"|\"RIDICULOUS\"|\"DAMN\"|\"GOD DAMN\"|\"DAMN IT\"|\"GOD DAMN IT\"|\"SUCK\"|\"SUCKS\"|\"GOD\"|\"STUPID\"|\"SILLY\"|\"DUMB\"\n;\n\n$goback = \"SCRATCH\"|\"SCRATCH THAT\"|\"SCRATCH PLEASE\"|\"SCRATCH THAT PLEASE\"|\"BACK UP\"|\"BACK UP PLEASE\"|\"GO BACK %SENT%\"|\"GO BACK PLEASE %SENT%\"|\"CANCEL %SENT%\"|\"CANCEL THAT %SENT%\"|\"CANCEL PLEASE %SENT%\"|\"CANCEL THAT PLEASE %SENT%\"\n;\n\n$goodbye = \"GOOD BYE\"|\"THANKS GOOD BYE\"|\"THANK YOU GOOD BYE\"|\"GOOD-BYE\"|\"THANKS GOOD-BYE\"|\"THANK YOU GOOD-BYE\"|\"GOODBYE\"|\"THANKS GOODBYE\"|\"THANK YOU GOODBYE\"|\"BYE BYE\"|\"THANKS BYE BYE\"|\"THANK YOU BYE BYE\"|\"THANKS BYE\"|\"THANK YOU BYE\"|\"HANG UP\"|\"END CALL\"|\"TERMINATE CALL\"\n;\n\n$help = \"HELP\"|\"HELP PLEASE\"|\"INSTRUCTIONS\"|\"WHAT ARE OPTIONS\"|\"WHAT ARE MY OPTIONS\"|\"WHAT ARE THE OPTIONS\"|\"WHAT CAN I SAY\"|\"WHAT CAN I DO\"|\"WHAT CAN I ASK\"\n;\n\n$holiday = \"NEW YEAR'S DAY\"|\"GROUNDHOG DAY\"|\"GROUNDHOG'S DAY\"|\"PRESIDENTS DAY\"|\"GREEK INDEPENDENCE DAY\"|\"EASTER\"|\"MEMORIAL DAY\"|\"INDEPENDENCE DAY\"|\"LABOR DAY\"|\"HALLOWEEN\"|\"THANKSGIVING\"|\"CHRISTMAS\"|\"CHRISTMAS DAY\"|\"CHRISTMAS EVE\"|\"NEW YEAR'S EVE\"\n;\n\n$hotel = \"GO TO HOTELS\"|\"HEY FRANK GO TO HOTELS\"\n;\n\n$hotelnames = \"ACCOR RESERVATION SERVICES\"|\"ADAMS MARK\"|\"AIRCO SERVICES\"|\"ALL SUITES\"|\"ALLEGRO RESORT\"|\"AMERICA OFF ROAD\"|\"AMERISUITES\"|\"A N A\"|\"ANASAZI ACCESS\"|\"ARCANTIS\"|\"ARCOTEL\"|\"ASTON\"|\"ASTRA WORLDWIDE\"|\"ASTRON\"|\"ATEL\"|\"B AND V ASSOCIATES\"|\"BACHELOR QUARTERS\"|\"BARTELL\"|\"BAYMONT INN\"|\"BAYMONT SUITES\"|\"BED AND BREAKFAST DIRECT\"|\"BEST INN\"|\"BEST WESTERN\"|\"BEST WESTERN INTERNATIONAL\"|\"BILTMORE\"|\"B T H\"|\"CAMBERLEY\"|\"CAMELOT INTERNATIONAL LIMITED\"|\"CAMINO REAL\"|\"CANADIAN PACIFIC\"|\"CARIBBEAN\"|\"CARLYLE\"|\"CAVANAUGHS\"|\"CEASAR PARK\"|\"CLARION\"|\"CLARION SUITES\"|\"CLASSIC INTERNATIONAL\"|\"CLUBHOUSE INN\"|\"C M NET\"|\"COAST WESTCOAST\"|\"COLONY RESORT\"|\"COMFORT INN\"|\"CONCORDE\"|\"CONSORT\"|\"COPTHORNE\"|\"COUNTRY COMFORT\"|\"COUNTRY INN BY CARLSON\"|\"COURTYARD BY MARRIOTT\"|\"COURTYARD INN\"|\"CROWN STERLING SUITES\"|\"DAYS INN\"|\"DESIGN\"|\"DESTINATIONS\"|\"DIRECT REQUEST FOR\"|\"DIVI RESORT\"|\"DORAL\"|\"DORINT\"|\"DOUBLETREE\"|\"DOYLE\"|\"DRURY INN\"|\"DRURY INNS INCORPORATED\"|\"E R S\"|\"ECONO LODGE\"|\"EL SAN JUAN\"|\"EMBASSY SUITES\"|\"EMPIRE INTERNATIONAL\"|\"EUROPA SPECTRUM\"|\"EXCALIBUR\"|\"EXPOTEL\"|\"EXTENDED STAY INC\"|\"EXTRA HOLIDAYS\"|\"FAIRFIELD INN\"|\"FAIRMONT\"|\"FAURIEL INFORMATIQUE\"|\"FIESTA AMERICANA\"|\"FLAG CHOICE LIMITED\"|\"FORTE\"|\"FOUR SEASONS\"|\"FRIENDSHIP INN\"|\"FULTONEX\"|\"GARDEN PLAZA\"|\"GLOBAL CONEXTION\"|\"GLOBAL HOME NETWORK\"|\"GLOBAL RES\"|\"GOLDEN TULIP\"|\"GRAND BAY\"|\"GRAND HERITAGE\"|\"GRAND TRADITION\"|\"GRANDE DEVERE\"|\"HAMPTON INN\"|\"HARRAHS CASINO\"|\"HARVEY\"|\"HAWAIIAN PACIFIC RESORT\"|\"HAWTHORN SUITES\"|\"HELMSLEY HARLEY\"|\"HILTON\"|\"HILTON INTERNATIONAL\"|\"HILTON CONRAD INTERNATIONAL\"|\"H M B MC VACATION CLUB\"|\"HOLIDAY INN\"|\"HOMEGATE\"|\"HOMESTEAD VILLAGE\"|\"HOMEWOOD SUITE\"|\"HOT KEY INTERNATIONAL\"|\"HOTEL DES GOUVERNEURS\"|\"HOTEL OKURA\"|\"HOTEL RESERVATION NETWORK\"|\"HOTEL RUBY FOOS\"|\"HOTEL WORLD\"|\"HOTELBANK\"|\"HOT U S A\"|\"HOWARD JOHNSON\"|\"HYATT\"|\"I T S\"|\"IAN SCHRAGER\"|\"INNLINK\"|\"INNPOINTS\"|\"INTER EUROPE\"|\"INTERCONTINENTAL\"|\"INTERLINK\"|\"INTERNATIONAL TRAVEL RESERVATIONS\"|\"INTOURIST TRAVEL\"|\"INTOURTRANS\"|\"JARVINEN\"|\"JOLLY\"|\"JUMER\"|\"KEMPINSKI\"|\"KEY SYSTEM\"|\"KEY SYSTEMS\"|\"KEYTEL\"|\"KIMPTON HOTEL\"|\"L R I\"|\"LA QUINTA INN\"|\"LANYON LIMITED\"|\"LAS VEGAS TRAVEL\"|\"LEADING\"|\"LEXINGTON SERVICES\"|\"LITTLE AMERICA\"|\"LOEWS\"|\"LUXOR HOTEL\"|\"MAINSTAY\"|\"MANDALAY\"|\"BRESORT B\"|\"MANDARIN ORIENTAL\"|\"MANHATTAN EAST SUITES\"|\"MARCO POLO\"|\"MARITIM\"|\"MARRIOTT CONFERENCE CENTER\"|\"MARRIOTT\"|\"MICROTEL INN\"|\"MILLENNIUM COPTHORNE HOTEL\"|\"MINTO PLACE SUITE HOTEL\"|\"MIRVAC\"|\"MONTE CARLO RESORT\"|\"MOVINPICK INTERNATIONAL\"|\"NASSAU INN\"|\"NATIONAL\"|\"NAVY LODGING\"|\"NEW OTANI\"|\"NH\"|\"NIKKO INTERNATIONAL\"|\"OAKWOOD CORP HOUSE\"|\"OBEROI\"|\"OMNI\"|\"OUTRIGGER\"|\"PAN PACIFIC\"|\"PARK INNS INTERNATIONAL\"|\"PARK PLAZA INTERNATIONAL\"|\"PREFERRED\"|\"PREMIER WORLD MARKETING\"|\"PRIMA\"|\"QUALITY INN\"|\"QUALITY RESERVATIONS\"|\"QUEEN MOAT HOUSES\"|\"QUEENS GERMANY\"|\"RADISSON WORLDWIDE\"|\"RAMADA INN\"|\"RAMADA INTERNATIONAL\"|\"RECONLINE\"|\"RED LION\"|\"RED ROOF INN\"|\"REGAL\"|\"REGAL INTERNATIONAL\"|\"REGENT INTERNATIONAL\"|\"REGISTERY\"|\"RELAIS CHATEAU\"|\"RENAISSANCE\"|\"RESERVHOTEL INTERNATIONAL\"|\"RESIDENCE INN\"|\"RESNET\"|\"RIHGA ROYAL\"|\"RITZ\"|\"CARLTHOTELS Carlt\"|\"ROBERT WARNER\"|\"RODEWAY INN\"|\"ROMANTIK\"|\"RYDGES HOTEL\"|\"SAROVA\"|\"SCANDIC\"|\"SCEPTRE HOSPITALITY SERVICES\"|\"SELECT MARKETING\"|\"SHANGRI LA\"|\"SHERATON\"|\"SHILO INN\"|\"SIERRA SUITES\"|\"SIGNATURE INN\"|\"SLEEP INN\"|\"SMALL LUXURY\"|\"SOL MELIA\"|\"SONESTA\"|\"SPRINGHILL SUITES\"|\"S R S WORLD\"|\"STAKIS HOTEL\"|\"STAKIS\"|\"STAMFORD\"|\"STATION CASINO\"|\"STAYBRIDGE SUITES\"|\"STERLING\"|\"SUMMERFIELD SUITES\"|\"SUMMIT INTERNATIONAL\"|\"SUPRANATIONAL\"|\"SUSSE CHALET INTERNATIONAL\"|\"SWALLOW\"|\"SWISSOTEL\"|\"TELESERVICE RESOURCES\"|\"THE SMALL HOTEL COMPANY\"|\"THE SPHC GROUP\"|\"THISTLE\"|\"THOMAS\"|\"TOP INTERNATIONAL\"|\"TOWNEPLACE SUITES\"|\"TRAVELODGE\"|\"TREFF\"|\"TRUST INTERNATIONAL\"|\"T V L RESORT INCENTIVE\"|\"UTELL INTERNATIONAL\"|\"VACATION BREAK\"|\"VACATION HOTLINE\"|\"VACATION NETWORK\"|\"VACATION VILLAS V V Q\"|\"VAGABOND\"|\"VENTURE INN\"|\"VILLAGE RESORT\"|\"VILLAGER INN\"|\"V I P\"|\"W HOTEL\"|\"WALT DISNEY HOTEL\"|\"WARWICK\"|\"WELLESLEY INN\"|\"WESTIN\"|\"WESTMARK\"|\"WINGATE\"|\"WORLD CLASS\"|\"WORLD\"|\"WORLDRES INCORPORATED\"|\"WYNDHAM\"\n;\n\n$hour = \"ONE\"|\"TWO\"|\"THREE\"|\"FOUR\"|\"FIVE\"|\"SIX\"|\"SEVEN\"|\"EIGHT\"|\"NINE\"|\"TEN\"|\"ELEVEN\"|\"TWELVE\"\n;\n\n$HOUR = $digit|$hour|$militaryhour\n;\n\n$idnumber = [\"MY\"] (\"I D\"|\"PIN\") \"NUMBER\" [\"IS\"] ($digit $digit $digit $digit|$number $number)\n;\n\n$idontknow = \"I DON'T KNOW\"|\"I DON'T KNOW WHAT\"|\"I'M NOT SURE\"|\"I AM NOT SURE\"|\"I'M NOT SURE WHAT\"|\"I AM NOT SURE WHAT\"\n;\n\n$INFORMQ = (\"IS\"|\"ARE\") \"THERE\" [\"ANY\"] $attribute\n| \"WHAT\" (\"ARE\"|\"IS\"|\"WAS\") [(\"THE\"|\"MY\")] $attribute\n| \"WHAT'S\" [(\"THE\"|\"MY\")] $attribute\n| $costQ [(\"IS\"|\"WILL\")] [\"THAT\"] $attribute\n| \"WHAT'S THE\" $costQ\n| (\"KNOW\"|\"FIND OUT\") \"WHAT\" [(\"THE\"|\"MY\")] $attribute (\"IS\"|\"ARE\")\n| \"TELL ME ABOUT\" [(\"THE\"|\"MY\")] $attribute\n;\n\n$INFORMQ_FLIGHT = $whquestion [(\"IS\"|\"DOES\"|\"ARE\"|\"DO\")] $FLIGHT [$attribute_path_modifier]\n| $whquestion [(\"IS\"|\"DOES\"|\"ARE\"|\"DO\")] $FLIGHT $attribute_path_modifier [($FROMCITY|$TOCITY)] [\"ON\" $AIRLINE]\n| $whquestion [(\"IS\"|\"DOES\"|\"ARE\"|\"DO\")] $FLIGHT [($FROMCITY|$TOCITY)] [\"ON\" $AIRLINE]\n| $whquestion [(\"IS\"|\"DOES\"|\"ARE\"|\"DO\")] $FLIGHT [($FROMCITY|$TOCITY)] [\"ON\" $AIRLINE] $attribute_path_modifier \n;\n\n$ISOLATED_NUMBER = $digit|$number\n;\n\n$locname = \"AIRPORT\"|\"AIRPORTS\"|\"CITY\"|\"CITIES\"|\"DOWNTOWN\"\n;\n\n$MEAL = \"MEAL\"|\"MEALS\"|\"DINNER\"|\"LUNCH\"|\"BREAKFAST\"|\"SNACK\"\n;\n\n$militaryhour = \"ZERO\"|\"OH\"|\"ONE\"|\"TWO\"|\"THREE\"|\"FOUR\"|\"FIVE\"|\"SIX\"|\"SEVEN\"|\"EIGHT\"|\"NINE\"|\"TEN\"|\"ELEVEN\"|\"TWELVE\"|\"THIRTEEN\"|\"FOURTEEN\"|\"FIFTEEN\"|\"SIXTEEN\"|\"SEVENTEEN\"|\"EIGHTEEN\"|\"NINETEEN\"|\"TWENTY\"|\"TWENTY ONE\"|\"TWENTY TWO\"|\"TWENTY THREE\"|\"TWENTY FOUR\"\n;\n\n$MINUTE = $number|$digit $digit\n;\n\n$MONEY = $digit \"HUNDRED\" [$number] [\"AND\"] [$digit] \"DOLLARS\"\n| $MONEYSPEC $MONEY\n;\n\n$MONEYSPEC = \"MORE\"|\"MORE THAN\"|\"LESS\"|\"LESS THAN\"|\"EXPENSIVE\"|\"MOST EXPENSIVE\"|\"LEAST EXPENSIVE\"|\"CHEAP\"|\"CHEAPER\"|\"CHEAPEST\"|\"UNDER\"\n;\n\n$month = \"JANUARY\"|\"FEBRUARY\"|\"MARCH\"|\"APRIL\"|\"MAY\"|\"JUNE\"|\"JULY\"|\"AUGUST\"|\"SEPTEMBER\"|\"OCTOBER\"|\"NOVEMBER\"|\"DECEMBER\"|\"JAN\"|\"FEB\"|\"MAR\"|\"APR\"|\"JUN\"|\"JUL\"|\"AUG\"|\"SEP\"|\"SEPT\"|\"OCT\"|\"NOV\"|\"DEC\"\n;\n\n$nextoption = \"NEXT OPTION\"|\"OTHER OPTION\"|\"ANOTHER OPTION\"|\"NEXT OPTIONS\"|\"OTHER OPTIONS\"|\"ANOTHER OPTIONS\"|\"NEXT CHOICE\"|\"OTHER CHOICE\"|\"ANOTHER CHOICE\"|\"NEXT CHOICES\"|\"OTHER CHOICES\"|\"ANOTHER CHOICES\"|\"NEXT FLIGHT\"|\"NEXT\"\n;\n\n$no = \"ABSOLUTELY NOT\"|\"DID NOT\"|\"DON'T\"|\"IS NOT CORRECT\"|\"IT'S NOT\"|\"IT'S NOT CORRECT\"|\"NO\"|\"NO NO\"|\"NO THANK YOU\"|\"NOPE\"|\"NOT CORRECT\"|\"NOT OKAY\"|\"NOT QUITE\"|\"NOT REALLY\"|\"NOT RIGHT\"|\"THAT'S NOT\"|\"NO THAT'S NOT\"|\"THAT'S NOT QUITE\"|\"NO THAT'S NOT QUITE\"|\"THAT'S NOT CORRECT\"|\"NO THAT'S NOT CORRECT\"|\"THAT'S NOT QUITE CORRECT\"|\"NO THAT'S NOT QUITE CORRECT\"|\"THAT'S NOT RIGHT\"|\"NO THAT'S NOT RIGHT\"|\"THAT'S NOT QUITE RIGHT\"|\"NO THAT'S NOT QUITE RIGHT\"|\"WRONG\"|\"INCORRECT\"\n| (\"DON'T\"|\"DO NOT\"|\"SHOULDN'T\"|\"NOT\") [\"WANT TO\"] $bookit\n| \"NOT GOING TO\" $bookit\n;\n\n$NONE = \"NONE OF THEM\"|\"NONE\"\n;\n\n$NOOFPASS = $numpass\n;\n\n$no_semantics = $filledpause\n;\n\n$NOTEXPRESSION_AIRLINE = (\"NOT\"|(\"ANYTHING\"|\"ANY\" [(\"CHOICE\"|\"ONE\")]) (\"BUT\"|\"EXCEPT\" [\"FOR\"])) $AIRLINE [\"AND\" [\"NOT\"] $AIRLINE [\"AND\" [\"NOT\"] $AIRLINE]]\n| (\"NOT\"|\"NEITHER\"|(\"ANYTHING\"|\"ANY\" [(\"CHOICE\"|\"ONE\")] (\"BUT\"|\"EXCEPT\" [\"FOR\"]))) $AIRLINE (\"OR\"|\"NOR\") $AIRLINE\n| [(\"NEITHER\"|\"NONE OF\")] $AIRLINE [(\"OR\"|\"NOR\")] $AIRLINE (\"OR\"|\"NOR\") $AIRLINE\n| \"ANY\" $attribute_airline (\"EXCEPT\" [\"FOR\"]|\"BUT\") $AIRLINE [(\"OR\"|\"AND\") $AIRLINE]\n;\n\n$nowhere = \"NOWHERE\"|\"NO WHERE\"|\"NOWHERE ELSE\"|\"NO PLACE ELSE\"|\"NO PLACE\"\n;\n\n$number = \"TEN\"|\"ELEVEN\"|\"TWELVE\"|\"THIRTEEN\"|\"FOURTEEN\"|\"FIFTEEN\"|\"SIXTEEN\"|\"SEVENTEEN\"|\"EIGHTEEN\"|\"NINETEEN\"\n| $tens [$digit]\n;\n\n$numpass = $digit (\"TICKET\"|\"TICKETS\"|\"SEAT\"|\"SEATS\"|\"FLIGHT\"|\"FLIGHTS\"|\"PERSON\"|\"PEOPLE\"|\"PASSENGER\"|\"PASSENGERS\")\n;\n\n$OREXPRESSION_AIRLINE = [\"EITHER\"] $AIRLINE \"OR\" $AIRLINE\n| $AIRLINE \"AND\" $AIRLINE\n| [(\"EITHER\"|\"ANY OF\")] $AIRLINE [\"OR\"] $AIRLINE \"OR\" $AIRLINE\n| \"EITHER\" $AIRLINE $AIRLINE\n| \"ANY OF\" $AIRLINE $AIRLINE \"AND\" $AIRLINE\n;\n\n$REMAIN = \"REMAIN IN\" $CITY\n;\n\n$repeat = \"REPEAT PLEASE\"|\"REPEAT THAT\"|\"PLEASE REPEAT\"|\"REPEAT THAT PLEASE\"|\"REPEAT IT\"|\"DON'T UNDERSTAND\"|\"DIDN'T UNDERSTAND\"|\"REPEAT THE QUESTION\"|\"REPEAT\"|\"SAY AGAIN\"|\"SAY IT AGAIN\"\n;\n\n$startover = \"START OVER\"|\"START AGAIN\"|\"START FROM THE BEGINNING\"|\"CLEAR HISTORY\"|\"CLEAR THE HISTORY\"|\"BEGIN AGAIN\"|\"CANCEL TRIP\"|\"CLEAR TRIP\"|\"CANCEL THE TRIP\"|\"CLEAR THE TRIP\"\n;\n\n$state = \"ALABAMA\"|\"ALASKA\"|\"ARIZONA\"|\"ARKANSAS\"|\"CALIFORNIA\"|\"COLORADO\"|\"CONNECTICUT\"|\"D C\"|\"DELAWARE\"|\"FLORIDA\"|\"GEORGIA\"|\"HAWAII\"|\"IDAHO\"|\"ILLINOIS\"|\"INDIANA\"|\"IOWA\"|\"KANSAS\"|\"KENTUCKY\"|\"LOUISIANA\"|\"MAINE\"|\"MANITOBA\"|\"MANITOBA CANADA\"|\"MARYLAND\"|\"MASSACHUSETTS\"|\"MICHIGAN\"|\"MINNESOTA\"|\"MISSISSIPPI\"|\"MISSOURI\"|\"MONTANA\"|\"NEBRASKA\"|\"NEVADA\"|\"NEW HAMPSHIRE\"|\"NEW JERSEY\"|\"NEW MEXICO\"|\"NEW YORK\"|\"NEW YORK STATE\"|\"NORTH CAROLINA\"|\"NORTH DAKOTA\"|\"OHIO\"|\"OKLAHOMA\"|\"ONTARIO\"|\"ONTARIO PROVINCE\"|\"ONTARIO CANADA\"|\"ONTARIO PROVINCE CANADA\"|\"OREGON\"|\"PENNSYLVANIA\"|\"PRINCE EDWARD ISLAND\"|\"PRINCE EDWARD ISLAND CANADA\"|\"QUEBEC\"|\"QUEBEC PROVINCE\"|\"QUEBEC CANADA\"|\"QUEBEC PROVINCE CANADA\"|\"RHODE ISLAND\"|\"SASKATCHEWAN\"|\"SASKATCHEWAN CANADA\"|\"SOUTH CAROLINA\"|\"SOUTH DAKOTA\"|\"TENNESSEE\"|\"TEXAS\"|\"UTAH\"|\"VERMONT\"|\"VIRGINIA\"|\"WASHINGTON\"|\"WASHINGTON STATE\"|\"WEST VIRGINIA\"|\"WISCONSIN\"|\"WYOMING\"\n;\n\n$STOPCITY = [$digit] (\"STOP\"|\"STOPS\"|\"WITH A STOPOVER\"|\"STOPOVER\"|\"STOPPING\"|\"STOPPING OVER\") (\"TO\"|\"AT\"|\"IN\") $CITY\n| \"THROUGH\" $CITY\n;\n\n$tens = \"OH\"|\"TWENTY\"|\"THIRTY\"|\"FOURTY\"|\"FORTY\"|\"FIFTY\"|\"SIXTY\"|\"SEVENTY\"|\"EIGHTY\"|\"NINETY\"\n;\n\n$TIME = $HOUR [$MINUTE] [\"O'CLOCK\"] [$ampm]\n| $HOUR \"HUNDRED\" [\"HOUR\"|\"HOURS\"]\n| [(\"IN THE\"|\"AT\")] $timename\n| $TIME $TIME\n| $TIMESPEC $TIME\n| [$TIMESPEC] $TIME (\"AND\"|\"OR\") $TIME\n;\n\n$timename = \"MORNING\"|\"AFTERNOON\"|\"AFTER NOON\"|\"NOON\"|\"EVENING\"|\"NIGHT\"|\"MIDNIGHT\"|\"ANYTIME\"|\"ANY TIME\"|\"MID DAY\"|\"DAYTIME\"|\"WHENEVER\"\n;\n\n$TIMESPEC = \"AFTER\"|\"BEFORE\"|\"AROUND\"|\"BETWEEN\"|\"LATE\"|\"LATER\"|\"LATEST\"|\"EARLY\"|\"EARLIER\"|\"EARLIEST\"|\"MID\"\n;\n\n$TOCITY = $attribute_arrivalcity \"IS\" $CITY\n| (\"TO\"|\"INTO\") [(\"UH\"|\"UM\")] $CITY\n| (\"ARRIVE\"|\"ARRIVES\"|\"ARRIVING\") [(\"TO\"|\"IN\"|\"AT\"|\"INTO\")] [(\"UH\"|\"UM\")] $CITY\n| \"GOING\" (\"TO\"|\"INTO\"|\"FOR\") [(\"UH\"|\"UM\")] $CITY\n;\n\n$TODATE = (\"ARRIVE\"|\"ARRIVES\"|\"ARRIVING\") $DATE\n| (\"PICK UP\"|\"GET\") [\"THE\" (\"CAR\"|\"TRUCK\"|\"VEHICLE\")] [\"ON\"] [\"THE\"] $DATE\n| (\"PICK IT UP\"|\"GET IT\") [\"ON\"] [\"THE\"] $DATE\n| \"CHECK IN\" [\"TO THE HOTEL\"] [\"ON\"] [\"THE\"] $DATE\n| (\"CHECK INTO\"|\"ARRIVE AT\") \"THE HOTEL\" [\"ON\"] [\"THE\"] $DATE\n;\n\n$TOTIME = (\"BY\"|\"THAT ARRIVE\") $TIME\n| (\"ARRIVE\"|\"ARRIVES\"|\"ARRIVING\") [(\"ON\"|\"AT\")] [\"THE\"] $TIME\n;\n\n$tutorial = \"TUTORIAL\"|\"TUTOR ME\"\n;\n\n$whquestion = (\"WHAT\"|\"WHICH\") $attribute\n| \"WHEN\"|\"WHERE\"|\"WHO\"\n;\n\n$year = \"NINETEEN NINETY ONE\"|\"NINETEEN NINETY TWO\"|\"NINETEEN NINETY THREE\"|\"NINETEEN NINETY FOUR\"|\"NINETEEN NINETY FIVE\"|\"NINETEEN NINETY SIX\"|\"NINETEEN NINETY SEVEN\"|\"NINETEEN NINETY EIGHT\"|\"NINETEEN NINETY NINE\"|\"TWO THOUSAND\"|\"TWO THOUSAND AND ONE\"|\"TWO THOUSAND ONE\"|\"TWO THOUSAND AND TWO\"|\"TWO THOUSAND TWO\"|\"TWO THOUSAND AND THREE\"|\"TWO THOUSAND THREE\"|\"NEXT YEAR\"|\"OF NEXT YEAR\"\n;\n\n$yes = \"ALL CORRECT\"|\"ARE CORRECT\"|\"CERTAINLY\"|\"CORRECT\"|\"CORRECT CORRECT\"|\"CORRECT THANK\"|\"CORRECT THANK YOU\"|\"FINE\"|\"I'LL TAKE IT\"|\"I WILL TAKE IT\"|\"I'LL TAKE THAT\"|\"I WILL TAKE THAT\"|\"I'LL TAKE THAT ONE\"|\"I WILL TAKE THAT ONE\"|\"I'M OKAY\"|\"IS CORRECT\"|\"IS FINE\"|\"JUST PERFECT\"|\"OKAY\"|\"SURE\"|\"SURE FINE\"|\"SURE YEAH\"|\"TAKE IT\"|\"TAKE THAT\"|\"THAT WOULD WORK\"|\"THAT IS CORRECT\"|\"YEAH THAT IS CORRECT\"|\"YES THAT IS CORRECT\"|\"YEP THAT IS CORRECT\"|\"THAT IS FINE\"|\"YEAH THAT IS FINE\"|\"YES THAT IS FINE\"|\"YEP THAT IS FINE\"|\"THAT IS OKAY\"|\"YEAH THAT IS OKAY\"|\"YES THAT IS OKAY\"|\"YEP THAT IS OKAY\"|\"THAT IS RIGHT\"|\"YEAH THAT IS RIGHT\"|\"YES THAT IS RIGHT\"|\"YEP THAT IS RIGHT\"|\"THAT IS GREAT\"|\"YEAH THAT IS GREAT\"|\"YES THAT IS GREAT\"|\"YEP THAT IS GREAT\"|\"THAT IS VERY GOOD\"|\"YEAH THAT IS VERY GOOD\"|\"YES THAT IS VERY GOOD\"|\"YEP THAT IS VERY GOOD\"|\"THAT IS GOOD\"|\"YEAH THAT IS GOOD\"|\"YES THAT IS GOOD\"|\"YEP THAT IS GOOD\"|\"THAT IS GOOD ENOUGH\"|\"YEAH THAT IS GOOD ENOUGH\"|\"YES THAT IS GOOD ENOUGH\"|\"YEP THAT IS GOOD ENOUGH\"|\"THAT IS PERFECT\"|\"YEAH THAT IS PERFECT\"|\"YES THAT IS PERFECT\"|\"YEP THAT IS PERFECT\"|\"THIS IS CORRECT\"|\"YEAH THIS IS CORRECT\"|\"YES THIS IS CORRECT\"|\"YEP THIS IS CORRECT\"|\"THIS IS FINE\"|\"YEAH THIS IS FINE\"|\"YES THIS IS FINE\"|\"YEP THIS IS FINE\"|\"THIS IS OKAY\"|\"YEAH THIS IS OKAY\"|\"YES THIS IS OKAY\"|\"YEP THIS IS OKAY\"|\"THIS IS RIGHT\"|\"YEAH THIS IS RIGHT\"|\"YES THIS IS RIGHT\"|\"YEP THIS IS RIGHT\"|\"THIS IS GREAT\"|\"YEAH THIS IS GREAT\"|\"YES THIS IS GREAT\"|\"YEP THIS IS GREAT\"|\"THIS IS VERY GOOD\"|\"YEAH THIS IS VERY GOOD\"|\"YES THIS IS VERY GOOD\"|\"YEP THIS IS VERY GOOD\"|\"THIS IS GOOD\"|\"YEAH THIS IS GOOD\"|\"YES THIS IS GOOD\"|\"YEP THIS IS GOOD\"|\"THIS IS GOOD ENOUGH\"|\"YEAH THIS IS GOOD ENOUGH\"|\"YES THIS IS GOOD ENOUGH\"|\"YEP THIS IS GOOD ENOUGH\"|\"THIS IS PERFECT\"|\"YEAH THIS IS PERFECT\"|\"YES THIS IS PERFECT\"|\"YEP THIS IS PERFECT\"|\"THAT SOUNDS CORRECT\"|\"YEAH THAT SOUNDS CORRECT\"|\"YES THAT SOUNDS CORRECT\"|\"YEP THAT SOUNDS CORRECT\"|\"THAT SOUNDS FINE\"|\"YEAH THAT SOUNDS FINE\"|\"YES THAT SOUNDS FINE\"|\"YEP THAT SOUNDS FINE\"|\"THAT SOUNDS OKAY\"|\"YEAH THAT SOUNDS OKAY\"|\"YES THAT SOUNDS OKAY\"|\"YEP THAT SOUNDS OKAY\"|\"THAT SOUNDS RIGHT\"|\"YEAH THAT SOUNDS RIGHT\"|\"YES THAT SOUNDS RIGHT\"|\"YEP THAT SOUNDS RIGHT\"|\"THAT SOUNDS GREAT\"|\"YEAH THAT SOUNDS GREAT\"|\"YES THAT SOUNDS GREAT\"|\"YEP THAT SOUNDS GREAT\"|\"THAT SOUNDS VERY GOOD\"|\"YEAH THAT SOUNDS VERY GOOD\"|\"YES THAT SOUNDS VERY GOOD\"|\"YEP THAT SOUNDS VERY GOOD\"|\"THAT SOUNDS GOOD\"|\"YEAH THAT SOUNDS GOOD\"|\"YES THAT SOUNDS GOOD\"|\"YEP THAT SOUNDS GOOD\"|\"THAT SOUNDS GOOD ENOUGH\"|\"YEAH THAT SOUNDS GOOD ENOUGH\"|\"YES THAT SOUNDS GOOD ENOUGH\"|\"YEP THAT SOUNDS GOOD ENOUGH\"|\"THAT SOUNDS PERFECT\"|\"YEAH THAT SOUNDS PERFECT\"|\"YES THAT SOUNDS PERFECT\"|\"YEP THAT SOUNDS PERFECT\"|\"THAT'S CORRECT\"|\"YEAH THAT'S CORRECT\"|\"YES THAT'S CORRECT\"|\"YEP THAT'S CORRECT\"|\"THAT'S FINE\"|\"YEAH THAT'S FINE\"|\"YES THAT'S FINE\"|\"YEP THAT'S FINE\"|\"THAT'S OKAY\"|\"YEAH THAT'S OKAY\"|\"YES THAT'S OKAY\"|\"YEP THAT'S OKAY\"|\"THAT'S RIGHT\"|\"YEAH THAT'S RIGHT\"|\"YES THAT'S RIGHT\"|\"YEP THAT'S RIGHT\"|\"THAT'S GREAT\"|\"YEAH THAT'S GREAT\"|\"YES THAT'S GREAT\"|\"YEP THAT'S GREAT\"|\"THAT'S VERY GOOD\"|\"YEAH THAT'S VERY GOOD\"|\"YES THAT'S VERY GOOD\"|\"YEP THAT'S VERY GOOD\"|\"THAT'S GOOD\"|\"YEAH THAT'S GOOD\"|\"YES THAT'S GOOD\"|\"YEP THAT'S GOOD\"|\"THAT'S GOOD ENOUGH\"|\"YEAH THAT'S GOOD ENOUGH\"|\"YES THAT'S GOOD ENOUGH\"|\"YEP THAT'S GOOD ENOUGH\"|\"THAT'S PERFECT\"|\"YEAH THAT'S PERFECT\"|\"YES THAT'S PERFECT\"|\"YEP THAT'S PERFECT\"|\"IT'S CORRECT\"|\"YEAH IT'S CORRECT\"|\"YES IT'S CORRECT\"|\"YEP IT'S CORRECT\"|\"IT'S FINE\"|\"YEAH IT'S FINE\"|\"YES IT'S FINE\"|\"YEP IT'S FINE\"|\"IT'S OKAY\"|\"YEAH IT'S OKAY\"|\"YES IT'S OKAY\"|\"YEP IT'S OKAY\"|\"IT'S RIGHT\"|\"YEAH IT'S RIGHT\"|\"YES IT'S RIGHT\"|\"YEP IT'S RIGHT\"|\"IT'S GREAT\"|\"YEAH IT'S GREAT\"|\"YES IT'S GREAT\"|\"YEP IT'S GREAT\"|\"IT'S VERY GOOD\"|\"YEAH IT'S VERY GOOD\"|\"YES IT'S VERY GOOD\"|\"YEP IT'S VERY GOOD\"|\"IT'S GOOD\"|\"YEAH IT'S GOOD\"|\"YES IT'S GOOD\"|\"YEP IT'S GOOD\"|\"IT'S GOOD ENOUGH\"|\"YEAH IT'S GOOD ENOUGH\"|\"YES IT'S GOOD ENOUGH\"|\"YEP IT'S GOOD ENOUGH\"|\"IT'S PERFECT\"|\"YEAH IT'S PERFECT\"|\"YES IT'S PERFECT\"|\"YEP IT'S PERFECT\"|\"IT IS CORRECT\"|\"YEAH IT IS CORRECT\"|\"YES IT IS CORRECT\"|\"YEP IT IS CORRECT\"|\"IT IS FINE\"|\"YEAH IT IS FINE\"|\"YES IT IS FINE\"|\"YEP IT IS FINE\"|\"IT IS OKAY\"|\"YEAH IT IS OKAY\"|\"YES IT IS OKAY\"|\"YEP IT IS OKAY\"|\"IT IS RIGHT\"|\"YEAH IT IS RIGHT\"|\"YES IT IS RIGHT\"|\"YEP IT IS RIGHT\"|\"IT IS GREAT\"|\"YEAH IT IS GREAT\"|\"YES IT IS GREAT\"|\"YEP IT IS GREAT\"|\"IT IS VERY GOOD\"|\"YEAH IT IS VERY GOOD\"|\"YES IT IS VERY GOOD\"|\"YEP IT IS VERY GOOD\"|\"IT IS GOOD\"|\"YEAH IT IS GOOD\"|\"YES IT IS GOOD\"|\"YEP IT IS GOOD\"|\"IT IS GOOD ENOUGH\"|\"YEAH IT IS GOOD ENOUGH\"|\"YES IT IS GOOD ENOUGH\"|\"YEP IT IS GOOD ENOUGH\"|\"IT IS PERFECT\"|\"YEAH IT IS PERFECT\"|\"YES IT IS PERFECT\"|\"YEP IT IS PERFECT\"|\"SOUNDS CORRECT\"|\"YEAH SOUNDS CORRECT\"|\"YES SOUNDS CORRECT\"|\"YEP SOUNDS CORRECT\"|\"SOUNDS FINE\"|\"YEAH SOUNDS FINE\"|\"YES SOUNDS FINE\"|\"YEP SOUNDS FINE\"|\"SOUNDS OKAY\"|\"YEAH SOUNDS OKAY\"|\"YES SOUNDS OKAY\"|\"YEP SOUNDS OKAY\"|\"SOUNDS RIGHT\"|\"YEAH SOUNDS RIGHT\"|\"YES SOUNDS RIGHT\"|\"YEP SOUNDS RIGHT\"|\"SOUNDS GREAT\"|\"YEAH SOUNDS GREAT\"|\"YES SOUNDS GREAT\"|\"YEP SOUNDS GREAT\"|\"SOUNDS VERY GOOD\"|\"YEAH SOUNDS VERY GOOD\"|\"YES SOUNDS VERY GOOD\"|\"YEP SOUNDS VERY GOOD\"|\"SOUNDS GOOD\"|\"YEAH SOUNDS GOOD\"|\"YES SOUNDS GOOD\"|\"YEP SOUNDS GOOD\"|\"SOUNDS GOOD ENOUGH\"|\"YEAH SOUNDS GOOD ENOUGH\"|\"YES SOUNDS GOOD ENOUGH\"|\"YEP SOUNDS GOOD ENOUGH\"|\"SOUNDS PERFECT\"|\"YEAH SOUNDS PERFECT\"|\"YES SOUNDS PERFECT\"|\"YEP SOUNDS PERFECT\"|\"YEAH\"|\"YEP\"|\"YES\"|\"YES CORRECT\"|\"YES IT IS\"|\"YES PLEASE\"|\"YES THAT\"|\"YES THAT IS\"|\"YES THAT'S\"|\"YES YES\"|\"YOU BET\"|\"GOOD ENOUGH\"|\"O K\"|\"ALL RIGHT\"|\"ALRIGHT\"\n;\n\n" }
UTF-8
ABNF
65,469
jmitchell
a07483c0ec28f4a44b9f34432e71340b0366843c
02a4a8ea98638ff0962c804a18f0643a56a8ca0a
/examples/abnf/elements.abnf
b9a90dbca5cb215b655257bfa84a0fe9b8464672
jmitchell/abnf-to-tree-sitter
{ "content": "start = *( [ALPHA] 1*SP ) next\r\n\r\nnext = \"hi\" / %d48-57 / %x61.62.63.5A / %b1000011 / <\"hello,\" they said>\r\n" }
UTF-8
ABNF
108
gknowles
3294949d1acb0c035c537b09b76bf5fcf2d60c36
70285a5f8aabcfbb5a06c64fd5711ef30cc06b4b
/libs/query/queryfunc.abnf
ba258eb10b5fbd085a0f1c04911b74d38adbd8dc
gknowles/tismet
{ "content": "; queryfunc.abnf - tismet query\n; Generated by genfuncs 1.0.0\n\n;----------------------------------------------------------------------------\n; Functions\n;----------------------------------------------------------------------------\nfunc =/ fn-absolute { End }\nfn-absolute = %s\"absolute(\" arg-path-or-func \")\" { Start }\n\nfunc =/ fn-aggregate { End }\nfn-aggregate = %s\"aggregate(\" arg-path-or-func \",\" arg-aggFunc \")\" { Start }\n\nfunc =/ fn-alias { End }\nfn-alias = %s\"alias(\" arg-path-or-func \",\" arg-string \")\" { Start }\n\nfunc =/ fn-aliasSub { End }\nfn-aliasSub = %s\"aliasSub(\" arg-path-or-func \",\" arg-string \",\" arg-string \")\" { Start }\n\nfunc =/ fn-averageAbove { End }\nfn-averageAbove = %s\"averageAbove(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-averageBelow { End }\nfn-averageBelow = %s\"averageBelow(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-averageSeries / fn-avg { End }\nfn-averageSeries = %s\"averageSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\nfn-avg = %s\"avg(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start, As fn-averageSeries }\n\nfunc =/ fn-color { End }\nfn-color = %s\"color(\" arg-path-or-func \",\" arg-string \")\" { Start }\n\nfunc =/ fn-consolidateBy { End }\nfn-consolidateBy = %s\"consolidateBy(\" arg-path-or-func \",\" arg-aggFunc \")\" { Start }\n\nfunc =/ fn-countSeries { End }\nfn-countSeries = %s\"countSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-currentAbove { End }\nfn-currentAbove = %s\"currentAbove(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-currentBelow { End }\nfn-currentBelow = %s\"currentBelow(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-derivative { End }\nfn-derivative = %s\"derivative(\" arg-path-or-func \")\" { Start }\n\nfunc =/ fn-diffSeries { End }\nfn-diffSeries = %s\"diffSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-drawAsInfinite { End }\nfn-drawAsInfinite = %s\"drawAsInfinite(\" arg-path-or-func \")\" { Start }\n\nfunc =/ fn-filterSeries { End }\nfn-filterSeries = %s\"filterSeries(\" arg-path-or-func \",\" arg-aggFunc \",\" arg-operator \",\" arg-num \")\" { Start }\n\nfunc =/ fn-firstSeries { End }\nfn-firstSeries = %s\"firstSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-group { End }\nfn-group = %s\"group(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-highest { End }\nfn-highest = %s\"highest(\" arg-path-or-func [ \",\" arg-num ] [ \",\" arg-aggFunc ] \")\" { Start }\n\nfunc =/ fn-highestAverage { End }\nfn-highestAverage = %s\"highestAverage(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-highestCurrent { End }\nfn-highestCurrent = %s\"highestCurrent(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-highestMax { End }\nfn-highestMax = %s\"highestMax(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-invert { End }\nfn-invert = %s\"invert(\" arg-path-or-func \")\" { Start }\n\nfunc =/ fn-isNonNull { End }\nfn-isNonNull = %s\"isNonNull(\" arg-path-or-func \")\" { Start }\n\nfunc =/ fn-keepLastValue { End }\nfn-keepLastValue = %s\"keepLastValue(\" arg-path-or-func [ \",\" arg-num ] \")\" { Start }\n\nfunc =/ fn-lastSeries { End }\nfn-lastSeries = %s\"lastSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-legendValue { End }\nfn-legendValue = %s\"legendValue(\" arg-path-or-func *( \",\" arg-string ) \")\" { Start }\n\nfunc =/ fn-lineWidth { End }\nfn-lineWidth = %s\"lineWidth(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-logarithm { End }\nfn-logarithm = %s\"logarithm(\" arg-path-or-func [ \",\" arg-num ] \")\" { Start }\n\nfunc =/ fn-lowest { End }\nfn-lowest = %s\"lowest(\" arg-path-or-func [ \",\" arg-num ] [ \",\" arg-aggFunc ] \")\" { Start }\n\nfunc =/ fn-lowestAverage { End }\nfn-lowestAverage = %s\"lowestAverage(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-lowestCurrent { End }\nfn-lowestCurrent = %s\"lowestCurrent(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-maximumAbove { End }\nfn-maximumAbove = %s\"maximumAbove(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-maximumBelow { End }\nfn-maximumBelow = %s\"maximumBelow(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-maxSeries { End }\nfn-maxSeries = %s\"maxSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-medianSeries { End }\nfn-medianSeries = %s\"medianSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-minimumAbove { End }\nfn-minimumAbove = %s\"minimumAbove(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-minimumBelow { End }\nfn-minimumBelow = %s\"minimumBelow(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-minSeries { End }\nfn-minSeries = %s\"minSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-movingAverage { End }\nfn-movingAverage = %s\"movingAverage(\" arg-path-or-func \",\" (arg-num / arg-string) [ \",\" arg-num ] \")\" { Start }\n\nfunc =/ fn-multiplySeries { End }\nfn-multiplySeries = %s\"multiplySeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-nonNegativeDerivative { End }\nfn-nonNegativeDerivative = %s\"nonNegativeDerivative(\" arg-path-or-func [ \",\" arg-num ] \")\" { Start }\n\nfunc =/ fn-offset { End }\nfn-offset = %s\"offset(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-pow { End }\nfn-pow = %s\"pow(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-rangeSeries { End }\nfn-rangeSeries = %s\"rangeSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-removeAboveValue { End }\nfn-removeAboveValue = %s\"removeAboveValue(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-removeBelowValue { End }\nfn-removeBelowValue = %s\"removeBelowValue(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-scale { End }\nfn-scale = %s\"scale(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-scaleToSeconds { End }\nfn-scaleToSeconds = %s\"scaleToSeconds(\" arg-path-or-func \",\" arg-num \")\" { Start }\n\nfunc =/ fn-squareRoot { End }\nfn-squareRoot = %s\"squareRoot(\" arg-path-or-func \")\" { Start }\n\nfunc =/ fn-stddevSeries { End }\nfn-stddevSeries = %s\"stddevSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\n\nfunc =/ fn-sumSeries / fn-sum { End }\nfn-sumSeries = %s\"sumSeries(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start }\nfn-sum = %s\"sum(\" arg-path-or-func *( \",\" arg-path-or-func ) \")\" { Start, As fn-sumSeries }\n\nfunc =/ fn-timeShift { End }\nfn-timeShift = %s\"timeShift(\" arg-path-or-func \",\" arg-string \")\" { Start }\n\n;----------------------------------------------------------------------------\n; Enumeration arguments\n;----------------------------------------------------------------------------\narg-aggFunc = *WSP (DQUOTE enum-aggFunc DQUOTE / \"'\" enum-aggFunc \"'\") *WSP\nenum-aggFunc =/ %s\"average\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"avg\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"count\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"diff\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"first\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"last\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"current\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"max\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"median\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"min\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"multiply\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"range\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"rangeOf\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"stddev\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"sum\" { As string, Start+, End+ }\nenum-aggFunc =/ %s\"total\" { As string, Start+, End+ }\n\narg-operator = *WSP (DQUOTE enum-operator DQUOTE / \"'\" enum-operator \"'\") *WSP\nenum-operator =/ %s\"eq\" { As string, Start+, End+ }\nenum-operator =/ %s\"=\" { As string, Start+, End+ }\nenum-operator =/ %s\"ne\" { As string, Start+, End+ }\nenum-operator =/ %s\"!=\" { As string, Start+, End+ }\nenum-operator =/ %s\"<>\" { As string, Start+, End+ }\nenum-operator =/ %s\"gt\" { As string, Start+, End+ }\nenum-operator =/ %s\">\" { As string, Start+, End+ }\nenum-operator =/ %s\"ge\" { As string, Start+, End+ }\nenum-operator =/ %s\">=\" { As string, Start+, End+ }\nenum-operator =/ %s\"lt\" { As string, Start+, End+ }\nenum-operator =/ %s\"<\" { As string, Start+, End+ }\nenum-operator =/ %s\"le\" { As string, Start+, End+ }\nenum-operator =/ %s\"<=\" { As string, Start+, End+ }\n\n" }
UTF-8
ABNF
8,306
Revzik
906c5bd649ad81644ce53dcee497c2ec76d141c2
288fa66577f32f2fe515e594e52e6077de69db0c
/commands.abnf
8b446557b110229a6b2dd50b75f09c5b5a0457cd
Revzik/AGH-TM_Voice-Control-Music-Player
{ "content": "#ABNF 1.0;\nlanguage pl-pl;\nmode voice;\nroot $root;\ntag-format <semantics/1.0-literals>;\n\n$root = $command;\n\n$command = (odtwarzaj | odtwórz | graj | puść | plej) {play} |\n (pauza | zastrzymaj) {pause} |\n (stop | wstrzymaj | wstrzymaj muzykę) {stop} |\n (następny | pomiń) {next} |\n (poprzedni | wróć | cofnij) {prev} |\n (wyłącz losowanie) {randomOff} |\n (włącz losowanie) {randomOn} |\n (podgłośnij trochę | trochę głośniej |\n podgłośnij odrobinę | odrobinę głośniej) {volumeUpSlight} |\n (ścisz trochę | trochę ciszej |\n ścisz odrobinę | odrobinę ciszej){volumeDownSlight} |\n (podgłośnij | głośniej) {volumeUp} |\n (ścisz | ciszej) {volumeDown} ;\n\n" }
UTF-8
ABNF
802
IHE-WUSTL
3a54bb3bd5ab99e8a7a58faed82fd953ba206847
ac9b74ed68db4e4005670b0b40e78bd69e84484b
/syslog/syslog/bin/reference/syslog3164.abnf
04be2551a5345f2ae8d09c135867c172a726d11b
IHE-WUSTL/Syslog
{ "content": "SYSLOG-3164 = PRI HEADER MSG / PRI MSG / MSG;\nPRI = LESS-THAN PRIVAL GREATER-THAN;\nPRIVAL = ZERO / NONZERO-DIGIT 1*2DIGIT ;\nHEADER = TIMESTAMP HOSTNAME;\nHOSTNAME = 1*255PRINTUSASCII SP;\nTIMESTAMP = MON SP DD SP HR \":\" MIN \":\" SEC SP;\nMON = \"Jan\" / \"Feb\" / \"Mar\" / \"Apr\" / \"May\" / \"Jun\" / \"Jul\" / \"Aug\" / \"Sep\" / \"Oct\" / \"Nov\" / \"Dec\";\nDD = SP NONZERO-DIGIT / %d49-50 DIGIT / %d51 %d48-49;\nHR = ZERO DIGIT / ONE DIGIT / TWO ZERO-THREE;\nMIN = ZERO-FIVE DIGIT;\nSEC = ZERO-FIVE DIGIT;\nMSG = *OCTET; \nOCTET = %d00-255 ;\nSP = %d32 ;\nPRINTUSASCII = %d33-126 ;\nNONZERO-DIGIT = %d49-57 ;\nZERO = %d48;\nONE = %d49;\nTWO = %d50;\nZERO-THREE = %d48-51;\nZERO-FIVE = %d48-53;\nDIGIT = %d48 / NONZERO-DIGIT ;\nLESS-THAN = %d60;\nGREATER-THAN = %d62;\n" }
UTF-8
ABNF
919
zyy123392
55cf1cc8eb5c750b4209e2ef4aaff20e7b6780d3
f09bc75b8c982d71c35fec7a74ad5228d5b4049a
/app/src/main/assets/rules.abnf
637ab3eb028bec751cbdd68d06f573286dd3804b
zyy123392/anjian_Andriod
{ "content": "#ABNF 1.0 UTF-8;\nlanguage zh-CN; \nmode voice;\n\nroot $main;\n$main = $this $articleName $amount $articleCount 选择 $articleHandle $starter $operateName $boxer $unpackageName;\n$this = 这是一个|发现一个|这是一瓶|这是一包|这个违禁品是|违禁品是;\n$articleName = 仿真子弹|其他|冰毒|弹壳|弹头|手钉|打火机|救生衣|海洛因|淫秽光碟|电池板|磁化物|赌具|违禁药丸|催泪瓦斯|其他|弩|手钉|手铐|电击器|脚镣|警棍|警鞭|手铐|电击器|凿|榔头|老虎钳|螺丝刀|锯子|化妆品|发胶|口服液|工具|摩丝|洗漱用品|洗面奶|生活刀具|矿泉水|配件|饮料|香水|剪刀|化妆品|打火机|有液蓄电池|水|水果刀|洗漱用品|火柴|瓦斯|酒|锂电池|饮料|放射性物品|其他|氢气|氧气|油漆|洗甲水|烟花爆竹|煤油|碘酒|精油|胶水|酒精|酒精棉|香精|精油|胶水|药剂|酒|酒精|酒精棉|仿真枪|仿真枪弹夹|信号弹|其他|子弹|工具枪|手枪|机枪|气压钢珠枪|气枪|霰弹|其他|农药|棕榈酸酯|氰化物|水银|硝酸银|其他|导火索|导爆索|拉火管|炸药|雷管|剃须刀|剪刀|水果刀|瑞士刀|其他|匕首|名族刀|定位刀|藏刀|蝴蝶刀|跳刀|钢笔刀|飞镖|三氯乙酸|三氯甲烷|其他|化学试剂|有液蓄电池|氢氧化钠|电解液|盐酸|过氧化氢|6公分以上生活刀具|6公分以下生活刀具|其他|化妆品|工具|打火机|酒|钝器|饮品;\n$articleHandle = 暂存|放弃|退回|托运|移交|携带|代邮;\n$operateName = 郑晨|高连新|殷卫芳|窦佳倩|边燕晴|蔡明|曹恒婷|查雯碧|陈嘉俊|陈召雄|陈紫薇|崔晓荣|顾婉婷|胡佳风|胡嘉伟|胡圣琦|黄佳莉|吉如意|焦楠|李倩|李晓文|李伊雯|楼肖立|罗舒鸿|马浩峰|秦佩|沈敏婷|孙斌|王翰骏|王俊诚|王任烨|王依雯|王正佳|魏冰|谢玉婷|徐爱丽|严嘉敏|俞捷|张嘉颖|张雷|张良|张青|张爽|张顺鑫|张星|赵宇琼|周鸣|周诗雨|朱俊怡|朱婷立|邹喜悦|沈天赐|孙杰|杨瑷如|姚捷|崔学西|蔡郁君|董腾跃|杜文丽|方英|房坚松|高华峰|高昇|戈彦谷|顾辉萍|顾佳玥|顾嘉程|郭家峻|何兰芳|侯晓冬|胡治中|黄超颖|黄莹|季星辰|贾勤|吕富润|冒薇|缪亚凤|倪洁清|彭稳|沈亚美|石安琪|司颖婷|刘盈|苏晓芳|孙雷|王俭|王兰婷|卫丹|吴栋|沈晨|徐美蓉|徐圣|徐舒婷|许建|杨青|杨逸峰|易嘉利|张东辉|宋皎璐|张琴妮|张少华|张业成|章奇|赵倩|赵一峙|周罗君|周晔|周裕涌|朱佳鑫|王艳|吴娜|夏文龙|叶晨|袁騑|张季芳|张怡沁|陈剑峰|陈胜|李国平|李亮|曹薇怡|陈美君|陈裕康|杜方|杜俊卿|房燕萍|冯高俊|顾渊炜|郭彤华|胡敏明|金剑|乐伟|李玲|李伟骥|李泳敏|凌燕|刘超|刘阳|陆秋园|毛良意|毛晓峰|牛凯佳|蒲祖利|邵志斌|沈安东|沈俊帆|孙翠翠|孙家豪|王惠|闻贞华|徐翔|徐英杰|徐臻|许骞|杨海明|杨晓辉|姚伟峰|张春霞|张丽|张史元|赵旭翔|周涛|朱春来|朱华杰|朱丽萍|朱善华|朱陈超|方斌|何骏|经晓莹|李怀峪|倪莎莎|倪莺|沈颖|王惠冬|魏虹敏|陈开阳|李丰|刘鹏|叶婷|钱清清|叶雨祺|陈海英|陈瑞祺|丛云|丁天宇|董蓓|范琳|徐晖|冯耀超|徐嫣|侯佩凤|胡伟强|黄怡虹|季君|季佩珍|季玮|姜梦缘|蒋建飞|李丽|刘珏|刘丽|刘玮|陆晨|陆嘉琪|陆晓琳|陆阳|陆一|盛建仙|史皓晶|舒笑芸|陶金琳|王强|王微霜|王伟佳|王衍|王英杰|吴海荣|吴美佳|夏姚亮|熊秀玲|徐彬彬|许彦强|薛晓平|严鹏娟|杨奉达|张蓓蓓|张洪敏|赵志桢|钟梦奇|周悦莹|朱慧萍|朱晓婷|朱毅杰|卓程程|郭斌杰|陈俊豪|顾禕雯|王琳|倪宸|刘宇|郑信|徐艺雯|陆彤|计平|杨帆|黄丽丽|姚俊佳|魏峰|马旗徽|朱慧敏|朱玮|陈屹|丁云菲|沈佳妮|沈婵妮|杜赟|计卫锋|韦晓清|赵淞|卢剑锋|凌彬|王良|殷国平|韩赟|胡君|王永宽|顾贤杰|毛佳伟|陈紫楠|胡盛杰|张轶伦|张宇君|杨赵磊|姜任杰|沈淳|沈煜|徐雪凤|姜佩丽|徐海英|李丽|吕金凤|金燕|缪爱莲|吴进|陶洁|杨晓岚|张莉君|王绪平|曾琴|周齐|张欣蓓|叶依青|王寅|杨琦|甘玲玲|黄嘉婧|盛建芳|何雅兰|刘瑜莹|仲淑飞|尹晨曦|程佳翠|刘必媛|薛中淦|董雅静|潘翔|王璐雁|陶梦月|侯艺|彭峰|程明敏|张俊|张纪云|王欢|陈君|张逾|张成成|吴伟|孙佳磊|康雨慈|周文璞|成诚|李炜|张磊|周晨涛|俞晓峰|姜明|任祺雄|金秋淳|陈思华|张铮|沈钰栋|许敏|金丽婵|朱玲玲|苏伟静|陈洁|顾亚娟|高燕|朱春兰|王琴|邵蕾|朱臻|郑芹|何颖超|盛嫣菁|丁颖|刘嘉雯|朱晓俐|黄安琪|计晓桦|李莎|赵书晗|王平丽|程文文|申艳珍|赵玥|周寅|杨思岑|朱玥昳|陈宇|印维|倪丹花|徐建德|李骏|咸伟杰|薛荣华|陈祯|唐小峰|苏晓华|王伟|谢波|郝静|徐美华|邱雨倩|徐敏|王黎伟|孙志睿|胡凤芳|刘辉|王瑾|沈佳依|李卓|任婉红|朱小波|于浩湧|余晶晶|李庆英|李莉|宋世鹏|张舟|徐锋|杨晓溢|徐佳佳|俞晓楚|陆春华|冯佳|张潜|沈舒婕|赵婧玮|陆宇峰|严佳超|钱鹭鹭|关惠尹|杨嵽|俞玲玲|郭金玲|王雨静|黄文芝|严丽华|陈伟杰|王季仁|诸梦瑶|程泽梓|王敏|李俊|吴文婷|张佳|陈婷|邹慧婷|毛立群|滕菲|陈勇|申玉宏|张志豪|李旻|潘银龙|姚之弘|李文超|柳春华|毕鹏程|傅杰玲|吴丽红|黄芳|徐芹|陈琳|茅春燕|周怡清|王晶晶|倪晓晶|陈静|周隽卉|刘功娜|胡迪|俞珏|陈立明|滕宏伟|张怡|吕栋|栾欣诚|杨彬|朱豪|袁洋|吴晓俊|李轶凡|张其华|袁宏鸣|韦峰|吴宋杰|凌之峰|戴海|顾祝健|李莎莎|程悦康|金佩佩|杨佳琴|刘晶|王倩|陈珍|秦淑|刘资叶|沈波|张晓裕|叶萍萍|裴晨燕|朱丽丹|费建忠|李晓雷|唐修莉|陈峻|韩竑|顾盛|金麟|季佳艳|殷梅毅|时礼成|崔杰|马婷婷|王逸凡|吴永杰|宋凤姿|胡智俊|陆宇兵|戴武|吴思婷|周静|钱伟峰|徐嘉露|沈忆文|郁夏威|迮怡诚|丁琼|黄艳|孙洁|施琪琪|王思嘉|殷晓荣|毕倩华|张苏萍|须晓峰|刘秀玲|张虎彪|王慧|张丽|常金红|顾晓斐|范建飞|蒋琴先|叶晓金|黄唯杰|姚畅舟|陶莉莉|粟波|周建华|周诚|王剑成|王佳珂|沙涛|韩涛|潘静娴|马婧雯|沈旭|谷滴雨|付莹|王睿|贺薇|郭慧子|周海媚|蔡桂娥|张芯珍|李旻坤|徐皓|徐国强|朱燕解|顾敏华|王勇|芮洋|张华|刘君婷|吴焱|张力俊|施勤怡|徐莉娜|袁洁莹|庄羽惠|朱亮亮|张立云|袁妩媚|朱郁峰|王斌|刘敏|陈静|龚玉凤|庄美芬|费华|龚飞|金豪|李燕红|张茂琴|陈凯|蒋毅锋|彭新艳|茅庆健|刘骏|朱晨龙|蒋梦婷|赵云飞|沈伟峰|殷颉|刘静仪|张俊豪|裘毅俊|沈爽婷|赵丽丽|甘天荟|秦璐阳|樊凯妮|樊万祥|陈雨岚|熊家知|张荣|赵新星|李敏雪|黎明|黄烨|尹赟|杨晨炎|高勇进|孙莉萍|臧华颖|高平康|杨辰|郭毅|姜义为|胡虹玲|胡陈惠|吴朝仁|陈中卿|陈昊|胡键|蒋心怡|吴文欣|朱炜焘|顾庆|杨钰霞|郁顾凤|陈彬|陈悦秀|潘健飞|张小明|朱君梅|叶丽|张磊|沈雯琳|成堃|金莉慧|吴颖喆|沈晨|陈石|张卉卉|徐嘉庆|周懿|周瑜静|周旻|杨旭冬|周馨|印杰|王俊杰|戴凌风|阮欢|徐梦玉|忻成|曹轶|李良萍|桂文静|董方媛|周琪|韩健晨|白莎莎|张敏|王晶|薛倩|佘奥|叶圣健|瞿欣雨|倪赛瑕|王云浩|瞿晓燕|蔡锦熙|崔浩渊|秦菁|罗芸云|张越峰|杨辰皓|陶瑞莹|杨晨初|徐跃峰|马世恭|戚凌峰|管超|朱晨|姚民华|王喆翔|吴思恒|史佳琪|王奇|陆鹏|阮剑|吴佳豪|张国华|汪维艺|王杰|杨孝敏|胡瀚文|张瑞燕|张英|鲍梅|王为英|陈晓庆|陆美华|洪正懿|刘晶晶|沈雪春|陈梦璐|赵佳旻|张丹君|朱慧莉|施佳雯|吴菲菲|杨洁|王蕾|钱依婷|盛陆卿|陆静|年梦娟|李明明|刘绘敏|陈岩|周玥|胡菲|张辉|吴旭峰|贾斌玮|常朱|陈佳|陈美丽|邓荣|方晶亮|高鑫|顾蓓蓓|顾红珍|顾歆|顾燕萍|顾义文|韩秋瑾|黄晨|贾立群|江志浩|金壹|李晶晶|李瑞国|刘蓓|刘皆菁|刘丽娜|刘晓东|陆英俊|马丽娟|毛晓燕|倪彦|潘颖聪|沈海雪|沈骏|沈世纯|沈炜|施剑影|孙金龙|童石钢|万忠华|王蕾|王琴|王妍君|翁剑峰|吴浩杰|吴蔚|吴志静|吴志萍|谢文琼|徐梦凯|许莉君|许萍|许倩|杨逸雯|姚巨鸣|俞国芳|俞祺|虞昊|袁佳丽|张莉|张仕俊|张晓英|张许|赵雪梅|赵越卿|郑颖|周昊敏|朱金枝|朱晴雯|朱晓力|朱源|庄见芳|邹立|殷嘉伟|陆袁琦|徐尧雯|韩祥|田卉卉|王璐|徐安琪|徐晓昱|罗清仁|金晶|陈宇帆|王成彦|高妮娜|黄燕静|王渠林|王雪梅|刘骏|孙超|孙远|牛家荣|范海英|童基英|方乐锵|史萍萍|罗秋晨|张杰|蒋晓悦|倪小燕|韩震|庄磊磊|郑翔|李明亮|柏振华|王晓磊|冯元齐|奚金华|余守云|汤文君|何燕娜|朱怡人|刘晨|郭静洁|吴春芳|严洁|巩玲|丁春琴|王文莉|孙云|杨燕蓉|朱飞|宋佳维|范佩青|朱辰颖|冯辉|凌敏|汤红英|王晓蓉|徐雅萍|王佳亮|沈杰|徐敏智|邹威|田可君|何瑞骏|徐琳|沈健|阮骅|步宏|李晓倩|胡莺|王晶晶|蒋波|赵勇|高静|杨年娣|林梓|吴悦|万国艳|俞圣睫|周正雍|蔡静雯|韩韬|张瑞芬|张玉凤|倪纬其|赵朴石|林维|叶雯|郑佳园|李平|汪嗣惠|顾禛|周嘉伟|卞春阳|章星豪|周均益|章润杰|黄逸婷|杜超|蔡尚晔|刘莹|杨聪云|张立黎|王庆|吕芸|吴顺超|季节|朱霞|田惠骏|韩梅|宋超|鲍岑|万珍琦|黎月婷|朱妙莉|张子曦|汤沈东|钱源|安传斌|卜红健|蔡子钦|曹颖卿|查晶晶|陈凯|陈少文|陈史珺|陈晔|程威涛|戴涛|单麒|丁燕|董杰|董翔|顾敏铭|胡天逸|华红|黄雯昊|金超|金峰华|金菊香|李文杰|梁雯|刘军|陆亚平|马珊|毛月红|宓序伦|聂健|钱晓燕|沈佳|沈融|石威|苏凤妹|谭翼宁|王娇珺|王艳|夏文静|邢耀烨|徐爱|颜偲涵|杨国梁|杨鹏程|杨扬|于慧|袁菁菁|张承|张斐妮|张桦|张勇|张祚衽|周瑊瑛|朱俊晖|朱玥|庄元|袁曹飞|陈婷婷|张妮|翁贝贝|韩艺|汤焰|何凯丽|王丹|蒋妍|何屈香|尚萌|吴春宝|张漪|张怡君|姚怡怡|毕景天|姜紫琼|韩文栋|李汇祥|朱佳琳|卢佩佩;\n$unpackageName = 郑晨|高连新|殷卫芳|窦佳倩|边燕晴|蔡明|曹恒婷|查雯碧|陈嘉俊|陈召雄|陈紫薇|崔晓荣|顾婉婷|胡佳风|胡嘉伟|胡圣琦|黄佳莉|吉如意|焦楠|李倩|李晓文|李伊雯|楼肖立|罗舒鸿|马浩峰|秦佩|沈敏婷|孙斌|王翰骏|王俊诚|王任烨|王依雯|王正佳|魏冰|谢玉婷|徐爱丽|严嘉敏|俞捷|张嘉颖|张雷|张良|张青|张爽|张顺鑫|张星|赵宇琼|周鸣|周诗雨|朱俊怡|朱婷立|邹喜悦|沈天赐|孙杰|杨瑷如|姚捷|崔学西|蔡郁君|董腾跃|杜文丽|方英|房坚松|高华峰|高昇|戈彦谷|顾辉萍|顾佳玥|顾嘉程|郭家峻|何兰芳|侯晓冬|胡治中|黄超颖|黄莹|季星辰|贾勤|吕富润|冒薇|缪亚凤|倪洁清|彭稳|沈亚美|石安琪|司颖婷|刘盈|苏晓芳|孙雷|王俭|王兰婷|卫丹|吴栋|沈晨|徐美蓉|徐圣|徐舒婷|许建|杨青|杨逸峰|易嘉利|张东辉|宋皎璐|张琴妮|张少华|张业成|章奇|赵倩|赵一峙|周罗君|周晔|周裕涌|朱佳鑫|王艳|吴娜|夏文龙|叶晨|袁騑|张季芳|张怡沁|陈剑峰|陈胜|李国平|李亮|曹薇怡|陈美君|陈裕康|杜方|杜俊卿|房燕萍|冯高俊|顾渊炜|郭彤华|胡敏明|金剑|乐伟|李玲|李伟骥|李泳敏|凌燕|刘超|刘阳|陆秋园|毛良意|毛晓峰|牛凯佳|蒲祖利|邵志斌|沈安东|沈俊帆|孙翠翠|孙家豪|王惠|闻贞华|徐翔|徐英杰|徐臻|许骞|杨海明|杨晓辉|姚伟峰|张春霞|张丽|张史元|赵旭翔|周涛|朱春来|朱华杰|朱丽萍|朱善华|朱陈超|方斌|何骏|经晓莹|李怀峪|倪莎莎|倪莺|沈颖|王惠冬|魏虹敏|陈开阳|李丰|刘鹏|叶婷|钱清清|叶雨祺|陈海英|陈瑞祺|丛云|丁天宇|董蓓|范琳|徐晖|冯耀超|徐嫣|侯佩凤|胡伟强|黄怡虹|季君|季佩珍|季玮|姜梦缘|蒋建飞|李丽|刘珏|刘丽|刘玮|陆晨|陆嘉琪|陆晓琳|陆阳|陆一|盛建仙|史皓晶|舒笑芸|陶金琳|王强|王微霜|王伟佳|王衍|王英杰|吴海荣|吴美佳|夏姚亮|熊秀玲|徐彬彬|许彦强|薛晓平|严鹏娟|杨奉达|张蓓蓓|张洪敏|赵志桢|钟梦奇|周悦莹|朱慧萍|朱晓婷|朱毅杰|卓程程|郭斌杰|陈俊豪|顾禕雯|王琳|倪宸|刘宇|郑信|徐艺雯|陆彤|计平|杨帆|黄丽丽|姚俊佳|魏峰|马旗徽|朱慧敏|朱玮|陈屹|丁云菲|沈佳妮|沈婵妮|杜赟|计卫锋|韦晓清|赵淞|卢剑锋|凌彬|王良|殷国平|韩赟|胡君|王永宽|顾贤杰|毛佳伟|陈紫楠|胡盛杰|张轶伦|张宇君|杨赵磊|姜任杰|沈淳|沈煜|徐雪凤|姜佩丽|徐海英|李丽|吕金凤|金燕|缪爱莲|吴进|陶洁|杨晓岚|张莉君|王绪平|曾琴|周齐|张欣蓓|叶依青|王寅|杨琦|甘玲玲|黄嘉婧|盛建芳|何雅兰|刘瑜莹|仲淑飞|尹晨曦|程佳翠|刘必媛|薛中淦|董雅静|潘翔|王璐雁|陶梦月|侯艺|彭峰|程明敏|张俊|张纪云|王欢|陈君|张逾|张成成|吴伟|孙佳磊|康雨慈|周文璞|成诚|李炜|张磊|周晨涛|俞晓峰|姜明|任祺雄|金秋淳|陈思华|张铮|沈钰栋|许敏|金丽婵|朱玲玲|苏伟静|陈洁|顾亚娟|高燕|朱春兰|王琴|邵蕾|朱臻|郑芹|何颖超|盛嫣菁|丁颖|刘嘉雯|朱晓俐|黄安琪|计晓桦|李莎|赵书晗|王平丽|程文文|申艳珍|赵玥|周寅|杨思岑|朱玥昳|陈宇|印维|倪丹花|徐建德|李骏|咸伟杰|薛荣华|陈祯|唐小峰|苏晓华|王伟|谢波|郝静|徐美华|邱雨倩|徐敏|王黎伟|孙志睿|胡凤芳|刘辉|王瑾|沈佳依|李卓|任婉红|朱小波|于浩湧|余晶晶|李庆英|李莉|宋世鹏|张舟|徐锋|杨晓溢|徐佳佳|俞晓楚|陆春华|冯佳|张潜|沈舒婕|赵婧玮|陆宇峰|严佳超|钱鹭鹭|关惠尹|杨嵽|俞玲玲|郭金玲|王雨静|黄文芝|严丽华|陈伟杰|王季仁|诸梦瑶|程泽梓|王敏|李俊|吴文婷|张佳|陈婷|邹慧婷|毛立群|滕菲|陈勇|申玉宏|张志豪|李旻|潘银龙|姚之弘|李文超|柳春华|毕鹏程|傅杰玲|吴丽红|黄芳|徐芹|陈琳|茅春燕|周怡清|王晶晶|倪晓晶|陈静|周隽卉|刘功娜|胡迪|俞珏|陈立明|滕宏伟|张怡|吕栋|栾欣诚|杨彬|朱豪|袁洋|吴晓俊|李轶凡|张其华|袁宏鸣|韦峰|吴宋杰|凌之峰|戴海|顾祝健|李莎莎|程悦康|金佩佩|杨佳琴|刘晶|王倩|陈珍|秦淑|刘资叶|沈波|张晓裕|叶萍萍|裴晨燕|朱丽丹|费建忠|李晓雷|唐修莉|陈峻|韩竑|顾盛|金麟|季佳艳|殷梅毅|时礼成|崔杰|马婷婷|王逸凡|吴永杰|宋凤姿|胡智俊|陆宇兵|戴武|吴思婷|周静|钱伟峰|徐嘉露|沈忆文|郁夏威|迮怡诚|丁琼|黄艳|孙洁|施琪琪|王思嘉|殷晓荣|毕倩华|张苏萍|须晓峰|刘秀玲|张虎彪|王慧|张丽|常金红|顾晓斐|范建飞|蒋琴先|叶晓金|黄唯杰|姚畅舟|陶莉莉|粟波|周建华|周诚|王剑成|王佳珂|沙涛|韩涛|潘静娴|马婧雯|沈旭|谷滴雨|付莹|王睿|贺薇|郭慧子|周海媚|蔡桂娥|张芯珍|李旻坤|徐皓|徐国强|朱燕解|顾敏华|王勇|芮洋|张华|刘君婷|吴焱|张力俊|施勤怡|徐莉娜|袁洁莹|庄羽惠|朱亮亮|张立云|袁妩媚|朱郁峰|王斌|刘敏|陈静|龚玉凤|庄美芬|费华|龚飞|金豪|李燕红|张茂琴|陈凯|蒋毅锋|彭新艳|茅庆健|刘骏|朱晨龙|蒋梦婷|赵云飞|沈伟峰|殷颉|刘静仪|张俊豪|裘毅俊|沈爽婷|赵丽丽|甘天荟|秦璐阳|樊凯妮|樊万祥|陈雨岚|熊家知|张荣|赵新星|李敏雪|黎明|黄烨|尹赟|杨晨炎|高勇进|孙莉萍|臧华颖|高平康|杨辰|郭毅|姜义为|胡虹玲|胡陈惠|吴朝仁|陈中卿|陈昊|胡键|蒋心怡|吴文欣|朱炜焘|顾庆|杨钰霞|郁顾凤|陈彬|陈悦秀|潘健飞|张小明|朱君梅|叶丽|张磊|沈雯琳|成堃|金莉慧|吴颖喆|沈晨|陈石|张卉卉|徐嘉庆|周懿|周瑜静|周旻|杨旭冬|周馨|印杰|王俊杰|戴凌风|阮欢|徐梦玉|忻成|曹轶|李良萍|桂文静|董方媛|周琪|韩健晨|白莎莎|张敏|王晶|薛倩|佘奥|叶圣健|瞿欣雨|倪赛瑕|王云浩|瞿晓燕|蔡锦熙|崔浩渊|秦菁|罗芸云|张越峰|杨辰皓|陶瑞莹|杨晨初|徐跃峰|马世恭|戚凌峰|管超|朱晨|姚民华|王喆翔|吴思恒|史佳琪|王奇|陆鹏|阮剑|吴佳豪|张国华|汪维艺|王杰|杨孝敏|胡瀚文|张瑞燕|张英|鲍梅|王为英|陈晓庆|陆美华|洪正懿|刘晶晶|沈雪春|陈梦璐|赵佳旻|张丹君|朱慧莉|施佳雯|吴菲菲|杨洁|王蕾|钱依婷|盛陆卿|陆静|年梦娟|李明明|刘绘敏|陈岩|周玥|胡菲|张辉|吴旭峰|贾斌玮|常朱|陈佳|陈美丽|邓荣|方晶亮|高鑫|顾蓓蓓|顾红珍|顾歆|顾燕萍|顾义文|韩秋瑾|黄晨|贾立群|江志浩|金壹|李晶晶|李瑞国|刘蓓|刘皆菁|刘丽娜|刘晓东|陆英俊|马丽娟|毛晓燕|倪彦|潘颖聪|沈海雪|沈骏|沈世纯|沈炜|施剑影|孙金龙|童石钢|万忠华|王蕾|王琴|王妍君|翁剑峰|吴浩杰|吴蔚|吴志静|吴志萍|谢文琼|徐梦凯|许莉君|许萍|许倩|杨逸雯|姚巨鸣|俞国芳|俞祺|虞昊|袁佳丽|张莉|张仕俊|张晓英|张许|赵雪梅|赵越卿|郑颖|周昊敏|朱金枝|朱晴雯|朱晓力|朱源|庄见芳|邹立|殷嘉伟|陆袁琦|徐尧雯|韩祥|田卉卉|王璐|徐安琪|徐晓昱|罗清仁|金晶|陈宇帆|王成彦|高妮娜|黄燕静|王渠林|王雪梅|刘骏|孙超|孙远|牛家荣|范海英|童基英|方乐锵|史萍萍|罗秋晨|张杰|蒋晓悦|倪小燕|韩震|庄磊磊|郑翔|李明亮|柏振华|王晓磊|冯元齐|奚金华|余守云|汤文君|何燕娜|朱怡人|刘晨|郭静洁|吴春芳|严洁|巩玲|丁春琴|王文莉|孙云|杨燕蓉|朱飞|宋佳维|范佩青|朱辰颖|冯辉|凌敏|汤红英|王晓蓉|徐雅萍|王佳亮|沈杰|徐敏智|邹威|田可君|何瑞骏|徐琳|沈健|阮骅|步宏|李晓倩|胡莺|王晶晶|蒋波|赵勇|高静|杨年娣|林梓|吴悦|万国艳|俞圣睫|周正雍|蔡静雯|韩韬|张瑞芬|张玉凤|倪纬其|赵朴石|林维|叶雯|郑佳园|李平|汪嗣惠|顾禛|周嘉伟|卞春阳|章星豪|周均益|章润杰|黄逸婷|杜超|蔡尚晔|刘莹|杨聪云|张立黎|王庆|吕芸|吴顺超|季节|朱霞|田惠骏|韩梅|宋超|鲍岑|万珍琦|黎月婷|朱妙莉|张子曦|汤沈东|钱源|安传斌|卜红健|蔡子钦|曹颖卿|查晶晶|陈凯|陈少文|陈史珺|陈晔|程威涛|戴涛|单麒|丁燕|董杰|董翔|顾敏铭|胡天逸|华红|黄雯昊|金超|金峰华|金菊香|李文杰|梁雯|刘军|陆亚平|马珊|毛月红|宓序伦|聂健|钱晓燕|沈佳|沈融|石威|苏凤妹|谭翼宁|王娇珺|王艳|夏文静|邢耀烨|徐爱|颜偲涵|杨国梁|杨鹏程|杨扬|于慧|袁菁菁|张承|张斐妮|张桦|张勇|张祚衽|周瑊瑛|朱俊晖|朱玥|庄元|袁曹飞|陈婷婷|张妮|翁贝贝|韩艺|汤焰|何凯丽|王丹|蒋妍|何屈香|尚萌|吴春宝|张漪|张怡君|姚怡怡|毕景天|姜紫琼|韩文栋|李汇祥|朱佳琳|卢佩佩;\n$amount = 数量是|数量为;\n$articleCount = 1|2|3|4|5|6|7|8|9|10;\n$starter = 开机员是|开机员为|开机员;\n$boxer = 开箱员是|开箱员为|开箱员;" }
UTF-8
ABNF
19,208
jbenner-radham
f96bc728f5076c36e81494dd4468dc1543487b04
1ce623e501a9ca87afb4166aa58b0fa9e1ca745e
/data/abnf/uid.abnf
6fe7f1f1b87bdbc8875a6928b056214c54d86872
jbenner-radham/jcard-to-vcard
{ "content": "UID-param = UID-uri-param / UID-text-param\nUID-value = UID-uri-value / UID-text-value\n ; Value and parameter MUST match.\n\nUID-uri-param = \"VALUE=uri\"\nUID-uri-value = URI\n\nUID-text-param = \"VALUE=text\"\nUID-text-value = text\n\nUID-param =/ any-param\n" }
UTF-8
ABNF
248
czaarlii
ef50feb32a85bd71a8423da8569f5fab8422c2ab
ecf6730d95bf0f6a84ecedb4dceca2b5003a78fe
/grammars/grammar_cannotraise.abnf
30b5c5380f643e9c0faeddb6de646e1d69ec04c3
czaarlii/Texas-Hold-em
{ "content": "#ABNF 1.0;\nlanguage pl-pl;\nmode voice;\nroot $root;\ntag-format <semantics/1.0-literals>;\n\n$root = $komenda;\n\n$komenda = czekam {Czekam} | pas {Pass} | wabank {Va banque} | dokładam {Dokladam} | wycofuję się {Koniec};" }
UTF-8
ABNF
218
PanDomuslaw
b6fef336b43de3b05005058201c00bec0d9f2a5c
7ec6ddce8b55b4ee7203f8a3e5828a682349f1fa
/tm-previous-project/grammars/szachy.abnf
148f21b86fb56a0417a3560e4ff004e228ee73e9
PanDomuslaw/TM_Project
{ "content": "#ABNF 1.0;\nlanguage pl-pl;\nmode voice;\nroot $root;\ntag-format <semantics/1.0-literals>;\n\n$root = $komenda <1-6>|\n $ruch <1-4>;\n\n$figura = król {K}| hetman {H}| wieża {W}| goniec {G}| skoczek {S}| pion { };\n$kolumna = A|B|C|D|E|F|G|H;\n$rząd = jeden {1}| dwa {2}| trzy {3}| cztery {4}| pięć {5}| sześć {6}|siedem {7}| osiem {8};\n\n$ruch = $figura na $kolumna $rząd|\n $figura z $kolumna na $kolumna $rząd|\n $figura z $rząd na $kolumna $rząd;\n\n$komenda = rozpocznij grę|\n poddaj|\n zaproponuj remis|\n zgadzam się|\n na pewno;\n\n\n\n\n" }
UTF-8
ABNF
597
KyleGalvin
2871ddec2ed65cd6c909c9da02cf90b69ccdbc98
24902dfa4ed5c66407c8c6efa0aa004fe9a5d52b
/tests/abnf/02.abnf
ee5e2c95c692419e29979d0e5d0be381254d9315
KyleGalvin/AbnfExperiments
{ "content": "rulelist = 1*( rule / (*c-wsp c-nl) )\nrule = rulename defined-as elements c-nl\n; continues if next line starts\nrulename = ALPHA *(ALPHA / DIGIT / \"-\")\n\n" }
UTF-8
ABNF
157
glyn
b9a8c692805eec444af484fbd8844d5c07adadc8
3245c4b49e77d599b517e13a0ac209db823eb9c5
/tests/rfc7405/tel.abnf
5d5bb3e0294fe464f95833ce96dcaae0707ae424
glyn/bap
{ "content": ";\n; TEL URI ABNF (RFC3966 rather than original RFC2806)\n; (All rulenames prefixed with 'TEL-' to make them unique)\n;\n\nTEL-telephone-uri = \"tel:\" TEL-telephone-subscriber\nTEL-telephone-subscriber = TEL-global-number / TEL-local-number\nTEL-global-number = TEL-global-number-digits *TEL-par\nTEL-local-number = TEL-local-number-digits *TEL-par TEL-context *TEL-par\nTEL-par = TEL-parameter / TEL-extension / TEL-isdn-subaddress\nTEL-isdn-subaddress = \";isub=\" 1*TEL-uric\nTEL-extension = \";ext=\" 1*TEL-phonedigit\nTEL-context = \";phone-context=\" TEL-descriptor\nTEL-descriptor = TEL-domainname / TEL-global-number-digits\nTEL-global-number-digits = \"+\" *TEL-phonedigit DIGIT *TEL-phonedigit\n\n; (PHK) CORRECTING ABNF ERROR\n; TEL-local-number-digits =\n; *TEL-phonedigit-hex (HEXDIG / \"*\" / \"#\")*TEL-phonedigit-hex\nTEL-local-number-digits =\n (*TEL-phonedigit-hex) (HEXDIG / \"*\" / \"#\") (*TEL-phonedigit-hex)\n; END CORRECTION\n\nTEL-domainname = *( TEL-domainlabel \".\" ) TEL-toplabel [ \".\" ]\nTEL-domainlabel = TEL-alphanum\n / TEL-alphanum *( TEL-alphanum / \"-\" ) TEL-alphanum\nTEL-toplabel = ALPHA / ALPHA *( TEL-alphanum / \"-\" ) TEL-alphanum\nTEL-parameter = \";\" TEL-pname [\"=\" TEL-pvalue ]\nTEL-pname = 1*( TEL-alphanum / \"-\" )\nTEL-pvalue = 1*TEL-paramchar\nTEL-paramchar = TEL-param-unreserved / TEL-unreserved / TEL-pct-encoded\nTEL-unreserved = TEL-alphanum / TEL-mark\nTEL-mark = \"-\" / \"_\" / \".\" / \"!\" / \"~\" / \"*\" /\n \"'\" / \"(\" / \")\"\nTEL-pct-encoded = \"%\" HEXDIG HEXDIG\nTEL-param-unreserved = \"[\" / \"]\" / \"/\" / \":\" / \"&\" / \"+\" / \"$\"\nTEL-phonedigit = DIGIT / [ TEL-visual-separator ]\nTEL-phonedigit-hex = HEXDIG / \"*\" / \"#\" / [ TEL-visual-separator ]\nTEL-visual-separator = \"-\" / \".\" / \"(\" / \")\"\nTEL-alphanum = ALPHA / DIGIT\nTEL-reserved = \";\" / \"/\" / \"?\" / \":\" / \"@\" / \"&\" /\n \"=\" / \"+\" / \"$\" / \",\"\nTEL-uric = TEL-reserved / TEL-unreserved / TEL-pct-encoded\n\n;\n; Expose key rules from TEL with their original names\n;\n\ntelephone-subscriber = TEL-telephone-subscriber\nglobal-number = TEL-global-number\n" }
UTF-8
ABNF
2,343
wilkerlucio
c42bcac38571f0fd96a3a04b5a59acc76078a8a1
87e398f8f5f4c9a5bcc0362f81a101287956a5b6
/resources/ecl-v1.5.abnf
504426c61a867edf6ebd585e2f38de24b008f128
wilkerlucio/hermes
{ "content": "expressionConstraint = ws ( refinedExpressionConstraint / compoundExpressionConstraint / dottedExpressionConstraint / subExpressionConstraint ) ws\nrefinedExpressionConstraint = subExpressionConstraint ws \":\" ws eclRefinement\ncompoundExpressionConstraint = conjunctionExpressionConstraint / disjunctionExpressionConstraint / exclusionExpressionConstraint\nconjunctionExpressionConstraint = subExpressionConstraint 1*(ws conjunction ws subExpressionConstraint)\ndisjunctionExpressionConstraint = subExpressionConstraint 1*(ws disjunction ws subExpressionConstraint)\nexclusionExpressionConstraint = subExpressionConstraint ws exclusion ws subExpressionConstraint\ndottedExpressionConstraint = subExpressionConstraint 1*(ws dottedExpressionAttribute)\ndottedExpressionAttribute = dot ws eclAttributeName\nsubExpressionConstraint = [constraintOperator ws] [memberOf ws] (eclFocusConcept / \"(\" ws expressionConstraint ws \")\") *(ws filterConstraint)\neclFocusConcept = eclConceptReference / wildCard\ndot = \".\"\nmemberOf = \"^\"\neclConceptReference = conceptId [ws \"|\" ws term ws \"|\"]\neclConceptReferenceSet = \"(\" ws eclConceptReference *(mws eclConceptReference) ws \")\"\nconceptId = sctId\nterm = 1*nonwsNonPipe *( 1*SP 1*nonwsNonPipe )\nwildCard = \"*\"\nconstraintOperator = childOf / childOrSelfOf / descendantOrSelfOf / descendantOf / parentOf / parentOrSelfOf / ancestorOrSelfOf / ancestorOf\ndescendantOf = \"<\"\ndescendantOrSelfOf = \"<<\"\nchildOf = \"<!\"\nchildOrSelfOf = \"<<!\"\nancestorOf = \">\"\nancestorOrSelfOf = \">>\"\nparentOf = \">!\"\nparentOrSelfOf = \">>!\"\nconjunction = ((\"a\"/\"A\") (\"n\"/\"N\") (\"d\"/\"D\") mws) / \",\"\ndisjunction = (\"o\"/\"O\") (\"r\"/\"R\") mws\nexclusion = (\"m\"/\"M\") (\"i\"/\"I\") (\"n\"/\"N\") (\"u\"/\"U\") (\"s\"/\"S\") mws\neclRefinement = subRefinement ws [conjunctionRefinementSet / disjunctionRefinementSet]\nconjunctionRefinementSet = 1*(ws conjunction ws subRefinement)\ndisjunctionRefinementSet = 1*(ws disjunction ws subRefinement)\nsubRefinement = eclAttributeSet / eclAttributeGroup / \"(\" ws eclRefinement ws \")\"\neclAttributeSet = subAttributeSet ws [conjunctionAttributeSet / disjunctionAttributeSet]\nconjunctionAttributeSet = 1*(ws conjunction ws subAttributeSet)\ndisjunctionAttributeSet = 1*(ws disjunction ws subAttributeSet)\nsubAttributeSet = eclAttribute / \"(\" ws eclAttributeSet ws \")\"\neclAttributeGroup = [\"[\" cardinality \"]\" ws] \"{\" ws eclAttributeSet ws \"}\"\neclAttribute = [\"[\" cardinality \"]\" ws] [reverseFlag ws] eclAttributeName ws (expressionComparisonOperator ws subExpressionConstraint / numericComparisonOperator ws \"#\" numericValue / stringComparisonOperator ws QM stringValue QM / booleanComparisonOperator ws booleanValue)\ncardinality = minValue to maxValue\nminValue = nonNegativeIntegerValue\nto = \"..\"\nmaxValue = nonNegativeIntegerValue / many\nmany = \"*\"\nreverseFlag = \"R\"\neclAttributeName = subExpressionConstraint\nexpressionComparisonOperator = \"=\" / \"!=\"\nnumericComparisonOperator = \"=\" / \"!=\" / \"<=\" / \"<\" / \">=\" / \">\"\nstringComparisonOperator = \"=\" / \"!=\"\nbooleanComparisonOperator = \"=\" / \"!=\"\nfilterConstraint = \"{{\" ws filter *(ws \",\" ws filter) ws \"}}\"\nfilter = termFilter / languageFilter / typeFilter / dialectFilter\ntermFilter = termKeyword ws booleanComparisonOperator ws (typedSearchTerm / typedSearchTermSet)\ntermKeyword = (\"t\"/\"T\") (\"e\"/\"E\") (\"r\"/\"R\") (\"m\"/\"M\")\ntypedSearchTerm = ( [ match ws \":\" ws ] matchSearchTermSet ) / ( wild ws \":\" ws wildSearchTermSet )\ntypedSearchTermSet = \"(\" ws typedSearchTerm *(mws typedSearchTerm) ws \")\"\nwild = (\"w\"/\"W\") (\"i\"/\"I\") (\"l\"/\"L\") (\"d\"/\"D\")\nmatch = (\"m\"/\"M\") (\"a\"/\"A\") (\"t\"/\"T\") (\"c\"/\"C\") (\"h\"/\"H\")\nmatchSearchTerm = 1*(nonwsNonEscapedChar / escapedChar)\nmatchSearchTermSet = QM ws matchSearchTerm *(mws matchSearchTerm) ws QM\nwildSearchTerm = 1*(anyNonEscapedChar / escapedWildChar)\nwildSearchTermSet = QM wildSearchTerm QM\nlanguageFilter = language ws booleanComparisonOperator ws (languageCode / languageCodeSet)\nlanguage = (\"l\"/\"L\") (\"a\"/\"A\") (\"n\"/\"N\") (\"g\"/\"G\") (\"u\"/\"U\") (\"a\"/\"A\") (\"g\"/\"G\") (\"e\"/\"E\")\nlanguageCode = 2alpha\nlanguageCodeSet = \"(\" ws languageCode *(mws languageCode) ws \")\"\ntypeFilter = typeIdFilter / typeTokenFilter\ntypeIdFilter = typeId ws booleanComparisonOperator ws (eclConceptReference / eclConceptReferenceSet)\ntypeId = (\"t\"/\"T\") (\"y\"/\"Y\") (\"p\"/\"P\") (\"e\"/\"E\") (\"i\"/\"I\") (\"d\"/\"D\")\ntypeTokenFilter = type ws booleanComparisonOperator ws (typeToken / typeTokenSet)\ntype = (\"t\"/\"T\") (\"y\"/\"Y\") (\"p\"/\"P\") (\"e\"/\"E\")\ntypeToken = synonym / fullySpecifiedName / definition\ntypeTokenSet = \"(\" ws typeToken *(mws typeToken) ws \")\"\nsynonym = (\"s\"/\"S\") (\"y\"/\"Y\") (\"n\"/\"N\")\nfullySpecifiedName = (\"f\"/\"F\") (\"s\"/\"S\") (\"n\"/\"N\")\ndefinition = (\"d\"/\"D\") (\"e\"/\"E\") (\"f\"/\"F\")\ndialectFilter = (dialectIdFilter / dialectAliasFilter) [ ws acceptabilitySet ]\ndialectIdFilter = dialectId ws booleanComparisonOperator ws (eclConceptReference / dialectIdSet)\ndialectId = (\"d\"/\"D\") (\"i\"/\"I\") (\"a\"/\"A\") (\"l\"/\"L\") (\"e\"/\"E\") (\"c\"/\"C\") (\"t\"/\"T\") (\"i\"/\"I\") (\"d\"/\"D\")\ndialectAliasFilter = dialect ws booleanComparisonOperator ws (dialectAlias / dialectAliasSet)\ndialect = (\"d\"/\"D\") (\"i\"/\"I\") (\"a\"/\"A\") (\"l\"/\"L\") (\"e\"/\"E\") (\"c\"/\"C\") (\"t\"/\"T\")\ndialectAlias = alpha *( dash / alpha / integerValue)\ndialectAliasSet = \"(\" ws dialectAlias [ws acceptabilitySet] *(mws dialectAlias [ws acceptabilitySet] ) ws \")\"\ndialectIdSet = \"(\" ws eclConceptReference [ws acceptabilitySet] *(mws eclConceptReference [ws acceptabilitySet] ) ws \")\"\nacceptabilitySet = acceptabilityIdSet / acceptabilityTokenSet\nacceptabilityIdSet = eclConceptReferenceSet\nacceptabilityTokenSet = \"(\" ws acceptabilityToken *(mws acceptabilityToken) ws \")\"\nacceptabilityToken = acceptable / preferred\nacceptable = (\"a\"/\"A\") (\"c\"/\"C\") (\"c\"/\"C\") (\"e\"/\"E\") (\"p\"/\"P\") (\"t\"/\"T\")\npreferred = (\"p\"/\"P\") (\"r\"/\"R\") (\"e\"/\"E\") (\"f\"/\"F\") (\"e\"/\"E\") (\"r\"/\"R\")\nnumericValue = [\"-\"/\"+\"] (decimalValue / integerValue)\nstringValue = 1*(anyNonEscapedChar / escapedChar)\nintegerValue = digitNonZero *digit / zero\ndecimalValue = integerValue \".\" 1*digit\nbooleanValue = true / false\ntrue = (\"t\"/\"T\") (\"r\"/\"R\") (\"u\"/\"U\") (\"e\"/\"E\")\nfalse = (\"f\"/\"F\") (\"a\"/\"A\") (\"l\"/\"L\") (\"s\"/\"S\") (\"e\"/\"E\")\nnonNegativeIntegerValue = (digitNonZero *digit ) / zero\nsctId = digitNonZero 5*17( digit )\nws = *( SP / HTAB / CR / LF / comment ) ; optional white space\nmws = 1*( SP / HTAB / CR / LF / comment ) ; mandatory white space\ncomment = \"/*\" *(nonStarChar / starWithNonFSlash) \"*/\"\nnonStarChar = SP / HTAB / CR / LF / %x21-29 / %x2B-7E /UTF8-2 / UTF8-3 / UTF8-4\nstarWithNonFSlash = %x2A nonFSlash\nnonFSlash = SP / HTAB / CR / LF / %x21-2E / %x30-7E /UTF8-2 / UTF8-3 / UTF8-4\nSP = %x20 ; space\nHTAB = %x09 ; tab\nCR = %x0D ; carriage return\nLF = %x0A ; line feed\nQM = %x22 ; quotation mark\nBS = %x5C ; back slash\nstar = %x2A ; asterisk\ndigit = %x30-39\nzero = %x30\ndigitNonZero = %x31-39\nnonwsNonPipe = %x21-7B / %x7D-7E / UTF8-2 / UTF8-3 / UTF8-4\nanyNonEscapedChar = SP / HTAB / CR / LF / %x20-21 / %x23-5B / %x5D-7E / UTF8-2 / UTF8-3 / UTF8-4\nescapedChar = BS QM / BS BS\nescapedWildChar = BS QM / BS BS / BS star\nnonwsNonEscapedChar = %x21 / %x23-5B / %x5D-7E / UTF8-2 / UTF8-3 / UTF8-4\nalpha = %x41-5A / %x61-7A\ndash = %x2D\nUTF8-2 = %xC2-DF UTF8-tail\nUTF8-3 = %xE0 %xA0-BF UTF8-tail / %xE1-EC 2( UTF8-tail ) / %xED %x80-9F UTF8-tail / %xEE-EF 2( UTF8-tail )\nUTF8-4 = %xF0 %x90-BF 2( UTF8-tail ) / %xF1-F3 3( UTF8-tail ) / %xF4 %x80-8F 2( UTF8-tail )\nUTF8-tail = %x80-BF" }
UTF-8
ABNF
7,337
input-output-hk
0a58f59c8073e30714dcbb2ee6b38ebcaa4a58a7
fe6b14e1755fdab5db73b97bbba7dec26c369adf
/chain-impl-mockchain/doc/format.abnf
50188412fd817970cdad52565487786cf6a1eba7
input-output-hk/chain-libs
{ "content": "; VERSION 0.8\n\n; ####################\n; HEADER\n; ####################\n\nHEADER-ID = 32OCTET\nHEADER = HEADER-SIZE %x00 (HEADER-UNSIGNED / HEADER-BFT / HEADER-GP)\nHEADER-SIZE = SIZE-BYTES-16BIT\nHEADER-UNSIGNED = %x00 HEADER-COMMON\nHEADER-BFT = %x01 HEADER-COMMON CONSENSUS-BFT\nHEADER-GP = %x02 HEADER-COMMON CONSENSUS-GP\nHEADER-COMMON = CONTENT-SIZE BLOCK-DATE CHAIN-LENGTH CONTENT-ID PARENT-ID\nCONTENT-SIZE = SIZE-BYTES-32BITS\nBLOCK-DATE = BLOCK-EPOCH BLOCK-SLOT\nBLOCK-EPOCH = U32\nBLOCK-SLOT = U32\nCHAIN-LENGTH = U32\nPARENT-ID = HEADER-ID\nCONSENSUS-BFT = BFT-LEADER-ID BFT-SIGNATURE\nCONSENSUS-GP = POOL-ID VRF-OUTPUT KES-SIGNATURE\n\n; ####################\n; CONTENT\n; ####################\n\nCONTENT-ID = 32OCTET\nCONTENT = *FRAGMENT\n\n; ####################\n; FRAGMENT\n; ####################\n\nFRAGMENT-ID = 32OCTET\nFRAGMENT = FRAGMENT-SIZE %x00 FRAGMENT-SPEC\nFRAGMENT-SIZE = SIZE-BYTES-32BIT\nFRAGMENT-SPEC = %x00 INITIAL\n / %x01 OLD-UTXO-DECL\n / %x02 SIMPLE-TRANSACTION\n / %x03 OWNER-STAKE-DELEGATION\n / %x04 STAKE-DELEGATION\n / %x05 POOL-REGISTRATION\n / %x06 POOL-RETIREMENT\n / %x07 POOL-UPDATE\n / %x08 UPDATE-PROPOSAL\n / %x09 UPDATE-VOTE\n\n; ####################\n; FRAGMENT only present in genesis block\n; ####################\n\nINITIAL = SIZE-ELEMENT-16BIT *CONFIG-ELEMENT\nCONFIG-ELEMENT = CONFIG-TAGLEN CONFIG-VALUE\nCONFIG-TAGLEN = U16 ; tag number + length\nCONFIG-VALUE = 0*64OCTET ; using length\n\nOLD-UTXO-DECLS = SIZE-ELEMENT-8BIT 1*254OLD_UTXO_DECL\nOLD-UTXO-DECL = VALUE SIZE-BYTE-16BIT OLD-ADDRESS\nOLD-ADDRESS = *OCTET\n\n; ####################\n; FRAGMENT common transaction\n; ####################\n\nTRANSACTION = IOW\n\n; ####################\n; FRAGMENT stake delegation\n; ####################\n\nOWNER-DELEGATION = OWNER-DLG-CERT IOW\nOWNER-DLG-CERT = DLG-TYPE\n\nSTAKE-DELEGATION = DLG-CERT IOW STAKE-AUTH\nDLG-CERT = UNTAG-ACCOUNT-ID DLG-TYPE\nSTAKE-AUTH = ACCOUNT-SIG\n\nDLG-TYPE = DLG-NONE / DLG-FULL / DLG-RATIO\nDLG-NONE = %x00\nDLG-FULL = %x01 POOL-ID\nDLG-RATIO = %x02-FF %x02-08 2*8DLG-RATIO-POOL\nDLG-RATIO-POOL = %x01-FF POOL-ID\n\nPOOL-ID = 32OCTET ; blake2b256 of REGISTRATION-CERT\n\n; ####################\n; FRAGMENT Pool management\n; ####################\n\nPOOL-REGISTRATION = REGISTRATION-CERT IOW POOL-SIG\nPOOL-RETIREMENT = RETIREMENT-CERT IOW POOL-SIG\nPOOL-UPDATE = UPDATE-CERT IOW POOL-SIG\n\nREGISTRATION-CERT = POOL-SERIAL\n TIME-SINCE-EPOCH0\n POOL-PERMISSIONS\n POOL-KEYS\n POOL-OWNERS\n POOL-OPERATORS\n POOL-REWARD-SCHM\n POOL-REWARD-ACNT\nPOOL-SERIAL = 16OCTET\nPOOL-PERMISSIONS = U64 ; for now management threshold\nPOOL-KEYS = VRF-PUBLICKEY KES-PUBLICKEY\nPOOL-OWNERS = SIZE-ELEMENT-1-31 1*31POOL-OWNER\nPOOL-OPERATORS = SIZE-ELEMENT-0-3 0*3POOL-OPERATOR\nPOOL-OWNER = SINGLE-ACNT-ID\nPOOL-OPERATOR = SINGLE-ACNT-ID\nPOOL-REWARD-SCHM = 4U64 ; fixed, ratio numerator, denominator, and optional limit value\nPOOL-REWARD-ACNT = %x00 / ACCOUNT-ID\n\nRETIREMENT-CERT = POOL-ID\n TIME-SINCE-EPOCH0 ; time in seconds\nUPDATE-CERT = POOL-ID ; pool id\n POOL-ID ; last known pool registration hash. on first update it would be the poolid\n REGISTRATION-CERT ; the update for the pool which is just a full pool registration certificate\n\nPOOL-SIG = OWNERS-SIG / OP-SIGNATURE\nOPERATOR-SIG = %x00 SINGLE-ACNT-SIG\nOWNERS-SIG = SIZE-ELEMENT-1-31 1*31OWNER-SIG\nOWNER-SIG = U8 ; owner index in registration\n SINGLE-ACNT-SIG\n\n; ####################\n; FRAGMENT Update proposal and vote\n; ####################\n\nUPDATE-PROPOSAL = PROPOSAL-CERT IOW BFT-SIGNATURE\nUPDATE-VOTE = VOTE-CERT IOW BFT-SIGNATURE\n\nPROPOSAL-CERT = BFT-LEADER-ID ; proposer id\n CHANGES\n\nVOTE-CERT = PROPOSAL-ID\n BFT-LEADER-ID; voter id\n\nCHANGES = SIZE-ELEMENT-16BIT ; number of changes\n *CONFIG-ELEMENT ; as many as indicated in the number of changes\n\nPROPOSAL-ID = FRAGMENT-ID\n\n; ####################\n; TRANSACTION CONSTRUCTION\n;\n; note: IOW stand for Inputs-Outputs-Witnesses\n; ####################\n\nIOW = BLOCK-DATE ; end validity of this IOW\n SIZE-ELEMENT-8BIT ; number of inputs\n SIZE-ELEMENT-8BIT ; number of outputs\n *INPUT ; as many as indicated in the number of inputs\n *OUTPUT ; sa many as indicated in the number of outputs\n *WITNESS ; as many as indicated in the number of inputs\nINPUT = INPUT-UTXO / INPUT_ACCOUNT\nINPUT-UTXO = IDX VALUE FRAGMENT-ID\nINPUT-ACCOUNT = %xff VALUE UNTAG-ACCOUNT-ID\nIDX = %x00-fe\nOUTPUT = ADDRESS VALUE\nWITNESS = WITNESS-OLDUTXO / WITNESS-UTXO / WITNESS-ACCOUNT / WITNESS-MULTISIG\nWITNESS-OLDUTXO = %x00 LEGACY-XPUB LEGACY-SIGNATURE\nWITNESS-UTXO = %x01 ED25519-SIGNATURE\nWITNESS-ACCOUNT = %x02 ACCOUNT-NONCE SINGLE-ACNT-SIG\nWITNESS-MULTISIG = %x03 ACCOUNT-NONCE MULTI-ACNT-SIG\n\nVALUE = U64\n\n; ####################\n; ADDRESS\n; ####################\n\nADDRESS = ADDRESS-SINGLE / ADDRESS-GROUP / ADDRESS-ACCOUNT / ADDRESS-MULTISIG\nADDRESS-SINGLE = (%x03 / %x83) SPENDINGKEY\nADDRESS-GROUP = (%x04 / %x84) SPENDINGKEY SINGLE-ACNT-ID\nADDRESS-ACCOUNT = (%x05 / %x85) SINGLE-ACNT-ID\nADDRESS-MULTISIG = (%x06 / %x86) MULTI-ACNT-ID\n\n; ####################\n; ACCOUNT\n; ####################\n\nACCOUNT-NONCE = U32\nACCOUNT-ID = (%x01 SINGLE-ACNT-ID) / (%x02 MULTI-ACNT-ID)\nACCOUNT-SIG = (%x01 SINGLE-ACNT-SIG) / (%x02 MULTI-ACNT-SIG)\nUNTAG-ACCOUNT-ID = SINGLE-ACNT-ID / MULTI-ACNT-ID\nSINGLE-ACNT-ID = ED25519-PUBLICKEY\nSINGLE-ACNT-SIG = ED25519-SIGNATURE\nMULTI-ACNT-ID = 32OCTET\nMULTI-ACNT-SIG = TODO\n\n; ####################\n; CRYPTO\n; ####################\n\nBFT-LEADER-ID = ED25519-PUBLICKEY\nBFT-SIGNATURE = ED25519-SIGNATURE\nLEGACY-SIGNATURE = ED25519-SIGNATURE\nLEGACY-XPUB = 64OCTET\nVRF-PUBLICKEY = 32OCTET\nVRF-OUTPUT = 96OCTET\nKES-PUBLICKEY = 32OCTET\nKES-SIGNATURE = 484OCTET\nED25519-PUBLICKEY = 32OCTET\nED25519-SIGNATURE = 64OCTET\n\n; ####################\n; PRIMITIVES\n; ####################\n\nTIME-SINCE-EPOCH0 = U64 ; in seconds since genesis block\nSIZE-ELEMENT-8BIT = U8 ; size in elements (8 bits)\nSIZE-ELEMENT-1-31 = %x01-1f ; size of 1 to 31, in elements\nSIZE-ELEMENT-0-3 = %x00-03 ; size of 0 to 3, in elements\nSIZE-ELEMENT-16BIT = U16 ; size in elements (16 bits)\nSIZE-ELEMENT-OO = U8 ; size of operators & owners : 5 bits for owners, 3 high bits for operators\nSIZE-BYTES-16BIT = U16 ; size in bytes (16 bits)\nSIZE-BYTES-32BIT = U32 ; size in bytes (32 bits)\nU8 = OCTET ; unsigned integer 8 bit\nU16 = 2OCTET ; unsigned integer 16 bit (BE)\nU32 = 4OCTET ; unsigned integer 32 bit (BE)\nU64 = 8OCTET ; unsigned integer 64 bit (BE)\n" }
UTF-8
ABNF
7,447
asmwarrior
b3ce279dd2c43baaecb41ec1c66b934f486a16d0
ae97ae80061f2cef8bc626f038a0d8c19f3ced21
/tests/abnf/rfc5322.abnf
b304616a39b477f3e86c49119b1af544191a8e90
asmwarrior/PeppaPEG
{ "content": "quoted-pair = (\"\\\" (VCHAR / WSP)) / obs-qp\n\nFWS = ([*WSP CRLF] 1*WSP) / obs-FWS\n\nctext = %d33-39 / %d42-91 / %d93-126 / obs-ctext\n\nccontent = ctext / quoted-pair / comment\n\ncomment = \"(\" *([FWS] ccontent) [FWS] \")\"\n\nCFWS = (1*([FWS] comment) [FWS]) / FWS\n\natext = ALPHA / DIGIT / \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" / \"*\" / \"+\" / \"-\" / \"/\" / \"=\" / \"?\" / \"^\" / \"_\" / \"`\" / \"{\" / \"|\" / \"}\" / \"~\"\n\natom = [CFWS] 1*atext [CFWS]\n\ndot-atom-text = 1*atext *(\".\" 1*atext)\n\ndot-atom = [CFWS] dot-atom-text [CFWS]\n\nspecials = \"(\" / \")\" / \"<\" / \">\" / \"[\" / \"]\" / \":\" / \";\" / \"@\" / \"\\\" / \",\" / \".\" / DQUOTE\n\nqtext = %d33 / %d35-91 / %d93-126 / obs-qtext\n\nqcontent = qtext / quoted-pair\n\nquoted-string = [CFWS] DQUOTE *([FWS] qcontent) [FWS] DQUOTE [CFWS]\n\nword = atom / quoted-string\n\nphrase = 1*word / obs-phrase\n\nunstructured = (*([FWS] VCHAR) *WSP) / obs-unstruct\n\ndate-time = [ day-of-week \",\" ] date time [CFWS]\n\nday-of-week = ([FWS] day-name) / obs-day-of-week\n\nday-name = \"Mon\" / \"Tue\" / \"Wed\" / \"Thu\" / \"Fri\" / \"Sat\" / \"Sun\"\n\ndate = day month year\n\nday = ([FWS] 1*2DIGIT FWS) / obs-day\n\nmonth = \"Jan\" / \"Feb\" / \"Mar\" / \"Apr\" / \"May\" / \"Jun\" / \"Jul\" / \"Aug\" / \"Sep\" / \"Oct\" / \"Nov\" / \"Dec\"\n\nyear = (FWS 4*DIGIT FWS) / obs-year\n\ntime = time-of-day zone\n\ntime-of-day = hour \":\" minute [ \":\" second ]\n\nhour = 2DIGIT / obs-hour\n\nminute = 2DIGIT / obs-minute\n\nsecond = 2DIGIT / obs-second\n\nzone = (FWS ( \"+\" / \"-\" ) 4DIGIT) / obs-zone\n\naddress = mailbox / group\n\nmailbox = name-addr / addr-spec\n\nname-addr = [display-name] angle-addr\n\nangle-addr = [CFWS] \"<\" addr-spec \">\" [CFWS] / obs-angle-addr\n\ngroup = display-name \":\" [group-list] \";\" [CFWS]\n\ndisplay-name = phrase\n\nmailbox-list = (mailbox *(\",\" mailbox)) / obs-mbox-list\n\naddress-list = (address *(\",\" address)) / obs-addr-list\n\ngroup-list = mailbox-list / CFWS / obs-group-list\n\naddr-spec = local-part \"@\" domain\n\nlocal-part = dot-atom / quoted-string / obs-local-part\n\ndomain = dot-atom / domain-literal / obs-domain\n\ndomain-literal = [CFWS] \"[\" *([FWS] dtext) [FWS] \"]\" [CFWS]\n\ndtext = %d33-90 / %d94-126 / obs-dtext\n\nmessage = (fields / obs-fields) [CRLF body]\n\nbody = (*(*998text CRLF) *998text) / obs-body\n\ntext = %d1-9 / %d11 / %d12 / %d14-127\n\nfields = *(trace *optional-field / *(resent-date / resent-from / resent-sender / resent-to / resent-cc / resent-bcc / resent-msg-id)) *(orig-date / from / sender / reply-to / to / cc / bcc / message-id / in-reply-to / references / subject / comments / keywords / optional-field)\n\norig-date = \"Date:\" date-time CRLF\n\nfrom = \"From:\" mailbox-list CRLF\n\nsender = \"Sender:\" mailbox CRLF\n\nreply-to = \"Reply-To:\" address-list CRLF\n\nto = \"To:\" address-list CRLF\n\ncc = \"Cc:\" address-list CRLF\n\nbcc = \"Bcc:\" [address-list / CFWS] CRLF\n\nmessage-id = \"Message-ID:\" msg-id CRLF\n\nin-reply-to = \"In-Reply-To:\" 1*msg-id CRLF\n\nreferences = \"References:\" 1*msg-id CRLF\n\nmsg-id = [CFWS] \"<\" id-left \"@\" id-right \">\" [CFWS]\n\nid-left = dot-atom-text / obs-id-left\n\nid-right = dot-atom-text / no-fold-literal / obs-id-right\n\nno-fold-literal = \"[\" *dtext \"]\"\n\nsubject = \"Subject:\" unstructured CRLF\n\ncomments = \"Comments:\" unstructured CRLF\n\nkeywords = \"Keywords:\" phrase *(\",\" phrase) CRLF\n\nresent-date = \"Resent-Date:\" date-time CRLF\n\nresent-from = \"Resent-From:\" mailbox-list CRLF\n\nresent-sender = \"Resent-Sender:\" mailbox CRLF\n\nresent-to = \"Resent-To:\" address-list CRLF\n\nresent-cc = \"Resent-Cc:\" address-list CRLF\n\nresent-bcc = \"Resent-Bcc:\" [address-list / CFWS] CRLF\n\nresent-msg-id = \"Resent-Message-ID:\" msg-id CRLF\n\ntrace = [return] 1*received\n\nreturn = \"Return-Path:\" path CRLF\n\npath = angle-addr / ([CFWS] \"<\" [CFWS] \">\" [CFWS])\n\nreceived = \"Received:\" *received-token \";\" date-time CRLF\n\nreceived-token = word / angle-addr / addr-spec / domain\n\noptional-field = field-name \":\" unstructured CRLF\n\nfield-name = 1*ftext\n\nftext = %d33-57 / %d59-126\n\nobs-NO-WS-CTL = %d1-8 / %d11 / %d12 / %d14-31 / %d127\n\nobs-ctext = obs-NO-WS-CTL\n\nobs-qtext = obs-NO-WS-CTL\n\nobs-utext = %d0 / obs-NO-WS-CTL / VCHAR\n\nobs-qp = \"\\\" (%d0 / obs-NO-WS-CTL / LF / CR)\n\nobs-body = *((*LF *CR *((%d0 / text) *LF *CR)) / CRLF)\n\nobs-unstruct = *((*LF *CR *(obs-utext *LF *CR)) / FWS)\n\nobs-phrase = word *(word / \".\" / CFWS)\n\nobs-phrase-list = [phrase / CFWS] *(\",\" [phrase / CFWS])\n\nobs-FWS = 1*WSP *(CRLF 1*WSP)\n\nobs-day-of-week = [CFWS] day-name [CFWS]\n\nobs-day = [CFWS] 1*2DIGIT [CFWS]\n\nobs-year = [CFWS] 2*DIGIT [CFWS]\n\nobs-hour = [CFWS] 2DIGIT [CFWS]\n\nobs-minute = [CFWS] 2DIGIT [CFWS]\n\nobs-second = [CFWS] 2DIGIT [CFWS]\n\nobs-zone = \"UT\" / \"GMT\" / \"EST\" / \"EDT\" / \"CST\" / \"CDT\" / \"MST\" / \"MDT\" / \"PST\" / \"PDT\" / %d65-73 / %d75-90 / %d97-105 / %d107-122\n\nobs-angle-addr = [CFWS] \"<\" obs-route addr-spec \">\" [CFWS]\n\nobs-route = obs-domain-list \":\"\n\nobs-domain-list = *(CFWS / \",\") \"@\" domain *(\",\" [CFWS] [\"@\" domain])\n\nobs-mbox-list = *([CFWS] \",\") mailbox *(\",\" [mailbox / CFWS])\n\nobs-addr-list = *([CFWS] \",\") address *(\",\" [address / CFWS])\n\nobs-group-list = 1*([CFWS] \",\") [CFWS]\n\nobs-local-part = word *(\".\" word)\n\nobs-domain = atom *(\".\" atom)\n\nobs-dtext = obs-NO-WS-CTL / quoted-pair\n\nobs-fields = *(obs-return / obs-received / obs-orig-date / obs-from / obs-sender / obs-reply-to / obs-to / obs-cc / obs-bcc / obs-message-id / obs-in-reply-to / obs-references / obs-subject / obs-comments / obs-keywords / obs-resent-date / obs-resent-from / obs-resent-send / obs-resent-rply / obs-resent-to / obs-resent-cc / obs-resent-bcc / obs-resent-mid / obs-optional)\n\nobs-orig-date = \"Date\" *WSP \":\" date-time CRLF\n\nobs-from = \"From\" *WSP \":\" mailbox-list CRLF\n\nobs-sender = \"Sender\" *WSP \":\" mailbox CRLF\n\nobs-reply-to = \"Reply-To\" *WSP \":\" address-list CRLF\n\nobs-to = \"To\" *WSP \":\" address-list CRLF\n\nobs-cc = \"Cc\" *WSP \":\" address-list CRLF\n\nobs-bcc = \"Bcc\" *WSP \":\" (address-list / (*([CFWS] \",\") [CFWS])) CRLF\n\nobs-message-id = \"Message-ID\" *WSP \":\" msg-id CRLF\n\nobs-in-reply-to = \"In-Reply-To\" *WSP \":\" *(phrase / msg-id) CRLF\n\nobs-references = \"References\" *WSP \":\" *(phrase / msg-id) CRLF\n\nobs-id-left = local-part\n\nobs-id-right = domain\n\nobs-subject = \"Subject\" *WSP \":\" unstructured CRLF\n\nobs-comments = \"Comments\" *WSP \":\" unstructured CRLF\n\nobs-keywords = \"Keywords\" *WSP \":\" obs-phrase-list CRLF\n\nobs-resent-from = \"Resent-From\" *WSP \":\" mailbox-list CRLF\n\nobs-resent-send = \"Resent-Sender\" *WSP \":\" mailbox CRLF\n\nobs-resent-date = \"Resent-Date\" *WSP \":\" date-time CRLF\n\nobs-resent-to = \"Resent-To\" *WSP \":\" address-list CRLF\n\nobs-resent-cc = \"Resent-Cc\" *WSP \":\" address-list CRLF\n\nobs-resent-bcc = \"Resent-Bcc\" *WSP \":\" (address-list / (*([CFWS] \",\") [CFWS])) CRLF\n\nobs-resent-mid = \"Resent-Message-ID\" *WSP \":\" msg-id CRLF\n\nobs-resent-rply = \"Resent-Reply-To\" *WSP \":\" address-list CRLF\n\nobs-return = \"Return-Path\" *WSP \":\" path CRLF\n\nobs-received = \"Received\" *WSP \":\" *received-token CRLF\n\nobs-optional = field-name *WSP \":\" unstructured CRLF\n" }
UTF-8
ABNF
6,818
triflicacid
63788dc9a2625d59e8876d8ff1fcc59316521623
5ac907275f3fdac9f9c9ff1857cdb84f37c9823c
/ABNF/tests/lexer/str_flag.abnf
55ae85a2fdac114cf3c4d0f7f868ce4832bf8326
triflicacid/cpp-abnf
{ "content": "var = %i\"A\" \"A\" %s\"A\" ; Explicit case-insensitive, implicit case-insensitive, case-sensitive" }
UTF-8
ABNF
92
ZxxLang
672a616fbd9a3f7235d8bae01644dd58e55a28a0
d47c0488dfb728d304d54ab0df53a0ea5b6ad1aa
/grammar/abnfa.abnf
9d03fa12310de349ab3d4391ad34f5bcb4217468
ZxxLang/abnfa
{ "content": "; ABNFA Definition of ABNFA\n\nABNF-Actions =\n ; Custom configuration\n to-language 'ABNFA'\n to-fileTypes ['abnf']\n to-scopeName 'source.abnf'\n to-description 'ABNFA to AST'\n\n ; Specific configuration for meta\n to-typefield 'type'\n to-locfield 'loc'\n\n ; AST node structure described\n meta (\n mode 'string'\n typefield 'type'\n locfield 'loc'\n crlf ''\n indent ''\n infix <infix>\n custom OBJECT<BOOL, STRING, stringList>\n nullable UNIQUE<STRING>\n typenames UNIQUE<STRING>\n types ARRAY<type>\n formnames UNIQUE<STRING>\n formulas ARRAY<list, action, string, codes, bits, index>\n comments ARRAY<comment>\n )\n\n stringList ARRAY<STRING>\n\n type (\n kind ''\n fields OBJECT<field>\n annotation ARRAY<STRING, INT>\n )\n\n field (\n kind ''\n value <INT,STRING,BOOL>\n annotation ARRAY<STRING, INT>\n )\n\n infix (\n node ''\n left ''\n operator ''\n right ''\n priority ARRAY<stringList>\n )\n\n repeat (\n min %d1\n max %d1\n )\n\n list (\n repeat mixins\n choice false\n factor ARRAY<list, action, string, codes, bits, index>\n )\n\n codes (\n repeat mixins\n value ARRAY<RUNE>\n isRange false\n )\n\n bits (\n repeat mixins\n value ''\n )\n\n string (\n repeat mixins\n value ''\n sensitive true\n )\n\n action (\n repeat mixins\n refer ''\n name ''\n factor ARRAY<STRING, INT, FLOAT>\n )\n\n index (\n repeat mixins\n refer %d0\n action %d0\n )\n\n comment (\n value ''\n )\n\nresult = grammar--meta\n\ngrammar =\n *c-nl 'ABNF-Actions' defined-as meta *(1*c-wsp meta)\n 1*(*WSP c-nl) rulelist *(WSP / comment--comment(/comments) / to--eol)\n\nmeta =\n 'to-' (\n 'mode' 1*WSP (\n modes--STRING(mode)\n / to--fault('Unsupported %s mode')\n )\n / 'crlf' 1*WSP \"'\" *quotes-vchar--STRING(crlf, unescape) \"'\"\n / 'indent' 1*WSP \"'\" *quotes-vchar--STRING(indent, unescape) \"'\"\n / 'locfield' 1*WSP \"'\" *ALPHA--STRING(locfield) \"'\"\n / 'typefield' 1*WSP \"'\" *ALPHA--STRING(typefield) \"'\"\n / 'nullable' 1*WSP '<' nullable--UNIQUE(nullable) '>'\n / 'infix' 1*WSP infix--infix(infix)\n / custom--OBJECT(custom)\n / to--fault('Illegal configuration %q', -3)\n )\n / rulename--STRING(typenames) 1*WSP\n (\n type-declare--type(types)\n / to--fault('Illegal type annotation %q', typenames)\n )\n\nmodes = 'string' / 'byte' / 'bits'\n\nnullable = rulename--STRING *(',' [SP] rulename--STRING)\n\ncustom =\n rulename--STRING(key) 1*WSP (\n 'true' to--true(val)\n / 'false' to--false(val)\n / string\n / '[' *WSP strings--stringList(val) *WSP ']'\n / to--fault('Invalid custom configuration %q', key)\n )\n\nor = 1*c-wsp '/' 1*c-wsp\n\nstrings = string *(or string)\n\nstring =\n \"'\" *quotes-vchar--STRING(val, unescape) \"'\"\n\nquotes-vchar =\n %x20-21 / %x23-26 / %x28 / %x2A-5B / %x5D-7E\n / '\\' (\n '\"' / ; quotation mark U+0022\n \"'\" / ; quotation mark U+0027\n '\\' / ; reverse solidus U+005C\n 'x' 2HEXDIG / ; xXX U+XX\n 'u' ( ; uXXXX U+XXXXXX\n '{' 1*6HEXDIG '}' /\n 4HEXDIG\n )\n )\n\ninfix =\n '(' c-wsp\n 'node' 1*WSP \"'\" rulename--STRING(node) \"'\" 1*c-wsp\n 'left' 1*WSP \"'\" 1*ALPHA--STRING(left) \"'\" 1*c-wsp\n 'operator' 1*WSP \"'\" 1*ALPHA--STRING(operator) \"'\" 1*c-wsp\n 'right' 1*WSP \"'\" 1*ALPHA--STRING(right) \"'\" 1*c-wsp\n 'priority' 1*WSP '[' *c-wsp priority--ARRAY(priority) *c-wsp ']'\n\n c-wsp ')'\n\npriority = infixes--stringList *(1*c-wsp infixes--stringList)\n\ninfixes = '[' *c-wsp strings *c-wsp ']'\n\ntype-declare =\n '(' 1*(1*c-wsp field-declare--OBJECT(fields)) 1*c-wsp ')'\n to--STRING(kind, struct)\n / type-annotation\n\nfield-declare =\n rulename--STRING(key) 1*WSP (\n field-annotation--field(val)\n / to--fault('Invalid type-annotation: %s', key)\n )\n\ntype-annotation =\n type-kinds--STRING(kind) annotation--ARRAY(annotation)\n / annotation--ARRAY(annotation)\n\nfield-annotation =\n '%d' 1*DIGIT--INT(value) to--STRING(kind, INT)\n / \"'\" *quotes-vchar--STRING(value, unescape) \"'\"\n to--STRING(kind, STRING)\n / 'true' to--true(value) to--STRING(kind, BOOL)\n / 'false' to--false(value) to--STRING(kind, BOOL)\n / mixins--STRING(kind)\n / field-kinds--STRING(kind) annotation--ARRAY(annotation)\n / annotation--ARRAY(annotation)\n\ntype-kinds = field-kinds / 'interface'\nfield-kinds = 'ARRAY' / 'UNIQUE' / 'OBJECT'\nmixins = 'mixins'\n\nannotation =\n '<'\n rulename--STRING\n *(',' [SP] rulename--STRING)\n '>'\n\nrulename = ALPHA *(['-'] (ALPHA / DIGIT ))\n\ndefined-as = *c-wsp '=' *c-wsp\n\nc-wsp = WSP / c-nl WSP\n\nc-nl = [comment--comment(/comments)] 1*to--eol\n ; comment or newline\n\ncomment = ';' *comment-val--STRING(value)\ncomment-val = WSP / VCHAR\n\nrulelist = rule *( *WSP c-nl [rule] )\n\nrule =\n rulename--STRING(formnames) defined-as\n alternation--pending(formulas)\n\nalternation =\n concatenation--pending(factor) (\n 1*(or concatenation--pending(factor))\n to--true(choice) to--type(list)\n / to--discard\n )\n\nconcatenation =\n repetition--pending(factor) (\n 1*(1*c-wsp repetition--pending(factor)) to--type(list)\n / to--discard\n )\n\nrepetition = option / [repeat] (group / element)\n\nrepeat =\n '*' to--INT(min,0) (1*DIGIT--INT(max) / to--INT(max, -1))\n / 1*DIGIT--INT(min) (\n '*' ( 1*DIGIT--INT(max) / to--INT(max, -1) )\n / to--copy(min, max)\n )\n\nelement =\n num-val\n / char-val to--type(string)\n / action to--type(action)\n\noption =\n '[' *c-wsp (\n element *c-wsp ']'\n / alternation--pending(factor) *c-wsp ']' to--type(list)\n ) to--INT(min,0)\n\ngroup =\n '(' *c-wsp alternation--pending(factor) *c-wsp ')' to--type(list)\n\naction =\n rulename--STRING(refer) ['--' (\n 1*ALPHA--STRING(name) [\n '(' *SP argument *(*SP ',' *SP argument ) *SP ')'\n ]\n / to--fault('Invalid arguments of %s', refer)\n )]\n\nargument =\n \"'\" *quotes-vchar--STRING(factor, unescape) \"'\"\n / number-val--pending(factor)\n / field--STRING(factor)\n / to--fault('Invalid arguments on %s', refer)\n\nnumber-val =\n ['-'] 1*DIGIT (\n '.' 1*DIGIT to--type(FLOAT)\n / to--type(INT)\n )\n\nfield = ['/' / '?'] ['+' / '!'] rulename\n\nchar-val =\n \"'\" 1*ex27--STRING(value) \"'\"\n / '\"' 1*ex22--STRING(value) '\"' to--false(sensitive)\n\nex22 = %x20-21 / %x23-7E\nex27 = %x20-26 / %x28-7E\n\nnum-val =\n '%' (\n 'x' hex-val to--type(codes)\n / 'b' 1*53BIT--STRING(value) to--type(bits)\n / to--fault('Unsupport formula %q', -1)\n )\n\nhex-val =\n 1*HEXDIG--RUNE(value,'16') (\n '-' 1*HEXDIG--RUNE(value,'16') to--true(isRange)\n / *('.' 1*HEXDIG--RUNE(value,'16'))\n )\n\nALPHA = %x61-7A / %x41-5A\n\nBIT = %x30-31\n\nDIGIT = %x30-39 ; 0-9\n\nHEXDIG = DIGIT / %x41-46\n\nSP = %x20\n\nWSP = %x20 / %x09 ; space and horizontal tab\n\nVCHAR = %x21-7E ; visible (printing) characters" }
UTF-8
ABNF
7,103
downloadpizza
276d33ee96ecf4a647ce1db7eaf89d4f930df422
dfe9b0143ffd83abca9674c5b2b7826591d80a14
/gura.abnf
820c2975223f6aff0df9974d6e37ed60e2f6cac3
downloadpizza/gura
{ "content": ";; This document describes Gura's syntax, using the ABNF format (defined in\n;; RFC 5234 -- https://www.ietf.org/rfc/rfc5234.txt).\n;;\n;; All valid Gura documents will match this description, however certain\n;; invalid documents would need to be rejected as per the semantics described\n;; in the supporting text description.\n\n;; It is possible to try this grammar interactively, using instaparse.\n;; http://instaparse.mojombo.com/\n;;\n;; To do so, in the lower right, click on Options and change `:input-format` to\n;; ':abnf'. Then paste this entire ABNF document into the grammar entry box\n;; (above the options). Then you can type or paste a sample Gura document into\n;; the beige box on the left. Tada!\n\n;; Overall Structure\ngura = expression *( newline expression )\n\nexpression = ws [ comment ]\nexpression =/ ws variable-definition ws [ comment ]\nexpression =/ import ws [ comment ]\nexpression =/ object\n\n;; Variables\ndollar-sign = %x24 ; $\nvariable-definition = dollar-sign keyval ws [ comment ]\nvariable-value = ws dollar-sign unquoted-key ws [ comment]\n\n;; Imports\nimport-keyword = %x69 %x6d %x70 %x6f %x72 %x74 ; \"import\"\nimport = import-keyword wschar basic-string\n\n; Objects\nobject = ws unquoted-key keyval-sep ws [comment] newline object\nobject =/ keyval-with-spaces *( newline object )\n\n\n;; Whitespace\nws = *wschar\nwschar = %x20 ; Space\nwschar =/ %x09 ; Horizontal tab\n\n\n;; Newline\nnewline = %x0A ; LF\nnewline =/ %x0D.0A ; CRLF\n\n\n;; Comment\ncomment-start-symbol = %x23 ; #\nnon-ascii = %x80-D7FF / %xE000-10FFFF\nnon-eol = %x09 / %x20-7F / non-ascii\ncomment = comment-start-symbol *non-eol\n\n\n;; Key-Value pairs\nkeyval-with-spaces = ws keyval ws [ comment ]\nkeyval = unquoted-key keyval-sep val\nunquoted-key = 1*( ALPHA / DIGIT / %x2D / %x5F ) ; A-Z / a-z / 0-9 / - / _\nkeyval-sep = ws %x3A ws ; ':' Colon\n\n;; Values\nval = string / boolean / array / float / integer / variable-value\n\n\n;; String\nstring = ml-basic-string / basic-string / ml-literal-string / literal-string\n\n\n;; Basic String\nbasic-string = quotation-mark *basic-char quotation-mark\n\nquotation-mark = %x22 ; \"\n\nbasic-char = basic-unescaped / escaped\nbasic-unescaped = wschar / %x21 / %x23-5B / %x5D-7E / non-ascii\nescaped = escape escape-seq-char\n\nescape = %x5C ; \\\nescape-seq-char = %x22 ; \" quotation mark U+0022\nescape-seq-char =/ %x5C ; \\ reverse solidus U+005C\nescape-seq-char =/ %x62 ; b backspace U+0008\nescape-seq-char =/ %x66 ; f form feed U+000C\nescape-seq-char =/ %x6E ; n line feed U+000A\nescape-seq-char =/ %x72 ; r carriage return U+000D\nescape-seq-char =/ %x74 ; t tab U+0009\nescape-seq-char =/ %x75 4HEXDIG ; uXXXX U+XXXX\nescape-seq-char =/ %x55 8HEXDIG ; UXXXXXXXX U+XXXXXXXX\n\n\n;; Multiline Basic String\nml-basic-string = ml-basic-string-delim [ newline ] ml-basic-body\n ml-basic-string-delim\nml-basic-string-delim = 3quotation-mark\nml-basic-body = *mlb-content *( mlb-quotes 1*mlb-content ) [ mlb-quotes ]\n\nmlb-content = mlb-char / newline / mlb-escaped-nl\nmlb-char = mlb-unescaped / escaped\nmlb-quotes = 1*2quotation-mark\nmlb-unescaped = wschar / %x21 / %x23-5B / %x5D-7E / non-ascii\nmlb-escaped-nl = escape ws newline *( wschar / newline )\n\n\n;; Literal String\nliteral-string = apostrophe *literal-char apostrophe\napostrophe = %x27 ; ' apostrophe\nliteral-char = %x09 / %x20-26 / %x28-7E / non-ascii\n\n\n;; Multiline Literal String\nml-literal-string = ml-literal-string-delim [ newline ] ml-literal-body\n ml-literal-string-delim\nml-literal-string-delim = 3apostrophe\nml-literal-body = *mll-content *( mll-quotes 1*mll-content ) [ mll-quotes ]\n\nmll-content = mll-char / newline\nmll-char = %x09 / %x20-26 / %x28-7E / non-ascii\nmll-quotes = 1*2apostrophe\n\n\n;; Integer\ninteger = dec-int / hex-int / oct-int / bin-int\n\nminus = %x2D ; -\nplus = %x2B ; +\nunderscore = %x5F ; _\ndigit1-9 = %x31-39 ; 1-9\ndigit0-7 = %x30-37 ; 0-7\ndigit0-1 = %x30-31 ; 0-1\n\nhex-prefix = %x30.78 ; 0x\noct-prefix = %x30.6F ; 0o\nbin-prefix = %x30.62 ; 0b\n\ndec-int = [ minus / plus ] unsigned-dec-int\nunsigned-dec-int = DIGIT / digit1-9 1*( DIGIT / underscore DIGIT )\n\nhex-int = hex-prefix HEXDIG *( HEXDIG / underscore HEXDIG )\noct-int = oct-prefix digit0-7 *( digit0-7 / underscore digit0-7 )\nbin-int = bin-prefix digit0-1 *( digit0-1 / underscore digit0-1 )\n\n\n;; Float\nfloat = float-int-part ( exp / frac [ exp ] )\nfloat =/ special-float\n\nfloat-int-part = dec-int\nfrac = decimal-point zero-prefixable-int\ndecimal-point = %x2E ; .\nzero-prefixable-int = DIGIT *( DIGIT / underscore DIGIT )\n\nexp = \"e\" float-exp-part\nfloat-exp-part = [ minus / plus ] zero-prefixable-int\n\nspecial-float = [ minus / plus ] ( inf / nan )\ninf = %x69.6e.66 ; inf\nnan = %x6e.61.6e ; nan\n\n\n;; Boolean\nboolean = true / false\n\ntrue = %x74.72.75.65 ; true\nfalse = %x66.61.6C.73.65 ; false\n\n\n;; Array\narray = array-open [ array-values ] ws-comment-newline array-close\n\narray-open = %x5B ; [\narray-close = %x5D ; ]\n\narray-values = ws-comment-newline val-object ws-comment-newline array-sep array-values\narray-values =/ ws-comment-newline val-object ws-comment-newline [ array-sep ]\n\nval-object = ( val / object )\n\narray-sep = %x2C ; , Comma\n\nws-comment-newline = *( wschar / [ comment ] newline )\n\n\n;; Built-in ABNF terms, reproduced here for clarity\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n" }
UTF-8
ABNF
5,684
alittlesail
9dd12c2afd58e4c01a0f4e439f5b9c5199b3ee1b
40be51accf7cf55c372e8557b78928d55b62c1b6
/Export/Web/Module/AUIPlugin/Other/ABnf/AJson.abnf
6aac7a5fdde378feaaadbaab29b5d147b758177c
alittlesail/ALittle-DeployClient
{ "content": "// 语法树的跟【Root是系统内置,必须定义Root作为语法根节点,没有定义会报错】\nRoot = Value?;\n\n// 字符串\nText : \"\\\"\"@ [106,135,89] = \"\\\"([^\\\"\\\\]|\\\\.)*\\\"\";\n// 整型数值\nNumber : \"[0-9]\" [103,150,163] = \"0x[0-9a-fA-F]+\" | \"[0-9]+(%.[0-9]+)?\";\n// 空\nNull [53,155,185] = <null>;\n// bool\nBool [204,120,50] = <true> | <false>;\n// Json值\nValue = Text | Bool | Number | Null | Array | Object;\n// 数组\nArray = '['@ (Value ArrayValuePair*)? ']';\n// Array元素\nArrayValuePair = ','@ Value;\n// 映射表\nObject = '{'@ (ObjectValue ObjectValuePair*)? '}';\n// 键\nObjectKey [152,118,170] = Text;\n// 键值对\nObjectValue = ObjectKey ':'@ Value;\n// Object元素\nObjectValuePair = ','@ ObjectValue;" }
UTF-8
ABNF
723
rt-cpan
126354c18e71c102e485b558f162ea634ee86ff0
caeeba65136d7b667e3e14cc35ec86579cd57e52
/Ticket/Attachment/558390/281774/tap.abnf
ab76fe75b83a187fb7824b1ac36617c022c87fa8
rt-cpan/rt-cpan.github.io
{ "content": "; Overall structure\nStream = Header (Plan Body / Body Plan) Footer\nHeader = [Comments] [Version]\nFooter = [Comments]\nBody = *(Comment / TAP-Line)\nTAP-Line = Test-Result / Bail-Out / Unknown\nUnknown = *(%x01-FF) EOL\n\n; TAP version\nVersion = \"TAP version\" SP Version-Number EOL ; ie. \"TAP version 13\"\nVersion-Number = Positive-Integer\n\n; Plan\nPlan = ( Plan-Simple / Plan-Todo / Plan-Skip-All ) EOL\nPlan-Simple = \"1..\" Number-Of-Tests\nPlan-Todo = Plan-Simple \"todo\" 1*(SP Test-Number) \";\" ; Obsolete\nPlan-Skip-All = \"1..0\" SP \"skip\" SP Reason\nReason = String\nNumber-Of-Tests = 1*DIGIT ; The number of tests contained in this stream\nTest-Number = Positive-Integer ; The sequence of a test result\n\n; Test result\nTest-Result = Status [SP Test-Number] [SP Description]\n [SP \"#\" SP Directive [SP Reason]] EOL\nStatus = \"ok\" / \"not ok\" ; Whether the test succeeded or failed\nDescription = Safe-String ; A description of this test.\nDirective = \"SKIP\" / \"TODO\"\n\n; Bail out\nBail-Out = \"Bail out!\" [SP Reason] EOL\n\n; Comments\nComment = \"#\" String EOL\nComments = 1*Comment\n\n; Values\nEOL = LF / CRLF ; Specific to the system producing the stream\nSafe-String = 1*(%x01-09 %x0B-0C %x0E-22 %x24-FF) ; UTF8 without EOL or \"#\"\nString = 1*(Safe-String / \"#\") ; UTF8 without EOL\nPositive-Integer = (\"1\" / \"2\" / \"3\" / \"4\" / \"5\" / \"6\" / \"7\" / \"8\" / \"9\") *DIGIT\n\n; Overall structure\nPassing-Stream = Header\n (Plan-With-Tests Passing-Body / Passing-Body Plan-With-Tests / Plan-Skip-All)\n Footer\nPassing-Body = [Comments] 1*Passing-Line *(Passing-Line / Comment) [Comments]\nPassing-Line = (Simple-OK / Passing-TODO / Failing-TODO / Passing-SKIP) EOL\nFailing-Line = (Simple-Fail / Failing-SKIP) EOL\n\n; Plans that must have tests\nPlan-With-Tests = ( Plan-Simple / Plan-Todo )\n\n; Passing and failing test lines\nSimple-OK = \"ok\" [SP Test-Number] [SP Description] ; pass\nSimple-Fail = \"not ok\" [SP Test-Number] [SP Description] ; fail\nPassing-TODO = Simple-OK SP TODO-Directive ; pass (with warning)\nFailing-TODO = Simple-FAIL SP TODO-Directive ; pass\nPassing-SKIP = Simple-OK SP SKIP-Directive ; pass\nFailing-SKIP = Simple-FAIL SP SKIP-Directive ; fail (with warning)\nTODO-Directive = \"# TODO\" [SP Reason]\nSKIP-Directive = \"# SKIP\" [SP Reason]" }
UTF-8
ABNF
2,610