haku - first draft
This commit is contained in:
parent
2a68cfbf63
commit
d813675d47
5 changed files with 1205 additions and 0 deletions
10
static/syntax/ebnf.json
Normal file
10
static/syntax/ebnf.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"patterns": [
|
||||
{ "regex": "[a-zA-Z_][a-zA-Z0-9_]*", "is": "keyword2" },
|
||||
{ "regex": "\"(\\\\\"|[^\"])*\"", "is": "string" },
|
||||
{ "regex": "'('|[^'])*'", "is": "string" },
|
||||
{ "regex": "[+*?=|,-]", "is": "operator" }
|
||||
],
|
||||
"keywords": {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue