Skip to content

Instantly share code, notes, and snippets.

@stevenliebregt
Last active April 24, 2020 18:10
Show Gist options
  • Save stevenliebregt/39025116501b1f1b5d6725d5d067c368 to your computer and use it in GitHub Desktop.
Save stevenliebregt/39025116501b1f1b5d6725d5d067c368 to your computer and use it in GitHub Desktop.
{
"file": [
{
"nodeDefinitions": [
{
"nodeDefinition": [
{
"type": 3,
"text": "A"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "INPUT_HIGH"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "B"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "INPUT_HIGH"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "Cin"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "INPUT_LOW"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "Cout"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "PROBE"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "S"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "PROBE"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE1"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "OR"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE2"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "AND"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE3"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "AND"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE4"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "NOT"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE5"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "AND"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE6"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "OR"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE7"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "NOT"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE8"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "NOT"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE9"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "AND"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE10"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "AND"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"nodeDefinition": [
{
"type": 3,
"text": "NODE11"
},
{
"type": 5,
"text": ":"
},
{
"type": 2,
"text": "OR"
},
{
"type": 6,
"text": ";\r\n"
}
]
}
]
},
{
"type": 4,
"text": "\r\n"
},
{
"edgeDefinitions": [
{
"edgeDefinition": [
{
"type": 3,
"text": "Cin"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE3"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE7"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE10"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "A"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE1"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE2"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "B"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE1"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE2"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE1"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE3"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE5"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE2"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE4"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE6"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE3"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE6"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE4"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE5"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE5"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE8"
},
{
"type": 1,
"text": ","
},
{
"type": 3,
"text": "NODE9"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE6"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "Cout"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE7"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE9"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE8"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE10"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE9"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE11"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE10"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "NODE11"
},
{
"type": 6,
"text": ";\r\n"
}
]
},
{
"edgeDefinition": [
{
"type": 3,
"text": "NODE11"
},
{
"type": 5,
"text": ":"
},
{
"type": 3,
"text": "S"
},
{
"type": 6,
"text": ";\r\n"
}
]
}
]
}
]
}
T__0=1
NODE_DESCRIPTOR=2
IDENTIFIER=3
GROUP_SEPARATOR=4
SEPARATOR=5
EOL=6
NEWLINE=7
WS=8
','=1
':'=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment