blob: 8f19514015cf8c17c11e1be4579a1528b51a9ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
version=2
rule=:msg: %{"name":"numbers", "type":"repeat",
"parser":[
{"name":"n1", "type":"number"},
{"type":"literal", "text":":"},
{"name":"n2", "type":"number"}
],
"while":[
{"type":"literal", "text":", "}
]
}% b %w:word%
|