if
(boolean value)- We can do without annotations, with a monolith instruction for
if
/then
/else
- Affects
then
- Affects
else
- We can do without annotations, with a monolith instruction for
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import sys | |
from collections import defaultdict | |
def split_and_group_errors(input_path): | |
# Regex to detect the start of an error block and capture the diagnostic name | |
start_pattern = re.compile( | |
r'^(?P<file>.+?):(?P<line>\d+):(?P<col>\d+): error: .* \[(?P<diag>[^\]]+)\]' | |
) | |
groups = defaultdict(list) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": true, | |
"strategy": true, | |
"@extra_comment": "here" | |
} |
To bundle, run the following from the root of https://github.com/krakend/krakend-schema:
$ jsonschema bundle krakend.json --resolve v2.6
Gists don't let me upload binary files directly. To get the output.bin
binary file, run:
echo "0x03 0x01 0x01 0x66 0x6f 0x6f 0xfa 0x01" | xxd -r > output.bin