Última atividade 6 hours ago

An example of V2's intermediate representation.

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