最后活跃于 8 hours ago

An example of V2's intermediate representation.

修订 085a009343d71bef0f9c955d235f4ccef7e5e365

v2.json 原始文件 Playground
1{
2 "foo": {
3 "conditions": [
4 {
5 "stack": "bar",
6 "pattern": [
7 {
8 "type": "variable",
9 "symbol": "baz"
10 },
11 {
12 "type": "literal",
13 "symbol": "quux"
14 }
15 ]
16 }
17 ],
18 "results": [
19 {
20 "label": "another rule group",
21 "pattern": [
22 {
23 "type": "variable",
24 "symbol": "foo"
25 },
26 {
27 "type": "literal",
28 "symbol": "bar"
29 }
30 ]
31 }
32 ]
33 }
34}