Skip to content

Commit

Permalink
commit generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk committed Oct 5, 2022
1 parent 2ad84ef commit 7cfa706
Show file tree
Hide file tree
Showing 3 changed files with 6,440 additions and 3,287 deletions.
65 changes: 47 additions & 18 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,16 @@
{
"type": "SYMBOL",
"name": "argument"
},
{
"type": "SYMBOL",
"name": "keycode"
}
]
},
"_word_common": {
"type": "CHOICE",
"members": [
{
"type": "PATTERN",
"value": "\\|(([+=][+=][+=][+=]+)|([+-][+-][+-][+-]+))\\|"
},
{
"type": "PATTERN",
"value": "[\\t ]'[\\t ]"
Expand Down Expand Up @@ -229,6 +229,10 @@
"type": "PATTERN",
"value": "\\{\\}"
},
{
"type": "PATTERN",
"value": "\\{\\{+[0-9]*"
},
{
"type": "STRING",
"value": "("
Expand All @@ -239,6 +243,43 @@
}
]
},
"keycode": {
"type": "CHOICE",
"members": [
{
"type": "PATTERN",
"value": "<[-a-zA-Z0-9_]+>"
},
{
"type": "PATTERN",
"value": "<[SCMAD]-.>"
},
{
"type": "PATTERN",
"value": "CTRL-."
},
{
"type": "PATTERN",
"value": "CTRL-SHIFT-."
},
{
"type": "PATTERN",
"value": "CTRL-(Break|PageUp|PageDown|Insert|Del)"
},
{
"type": "PATTERN",
"value": "CTRL-\\{char\\}"
},
{
"type": "PATTERN",
"value": "META-."
},
{
"type": "PATTERN",
"value": "ALT-."
}
]
},
"uppercase_name": {
"type": "SEQ",
"members": [
Expand Down Expand Up @@ -590,20 +631,8 @@
}
},
{
"type": "CHOICE",
"members": [
{
"type": "IMMEDIATE_TOKEN",
"content": {
"type": "PATTERN",
"value": "~[\\t ]*\\n"
}
},
{
"type": "PATTERN",
"value": "~[\\t ]*\\n"
}
]
"type": "PATTERN",
"value": "~\\n"
}
]
},
Expand Down
21 changes: 21 additions & 0 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
"type": "codespan",
"named": true
},
{
"type": "keycode",
"named": true
},
{
"type": "optionlink",
"named": true
Expand Down Expand Up @@ -121,6 +125,10 @@
"type": "codespan",
"named": true
},
{
"type": "keycode",
"named": true
},
{
"type": "optionlink",
"named": true
Expand Down Expand Up @@ -160,6 +168,10 @@
"type": "codespan",
"named": true
},
{
"type": "keycode",
"named": true
},
{
"type": "optionlink",
"named": true
Expand Down Expand Up @@ -224,6 +236,11 @@
]
}
},
{
"type": "keycode",
"named": true,
"fields": {}
},
{
"type": "line",
"named": true,
Expand Down Expand Up @@ -260,6 +277,10 @@
"type": "h3",
"named": true
},
{
"type": "keycode",
"named": true
},
{
"type": "optionlink",
"named": true
Expand Down
Loading

0 comments on commit 7cfa706

Please sign in to comment.