diff options
author | Marvin Borner | 2024-08-01 00:56:43 +0200 |
---|---|---|
committer | Marvin Borner | 2024-08-01 02:04:17 +0200 |
commit | c3c381a09f205051ab407beacc86ec75b3207b27 (patch) | |
tree | 72d8509c028b2ed91e045e3be9324da40f6ab0af /std/generate_map.sh | |
parent | 34d940048af27ca42b85a8a63d2e48fbefd4e63d (diff) |
Much more intelligence
Diffstat (limited to 'std/generate_map.sh')
-rwxr-xr-x | std/generate_map.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/std/generate_map.sh b/std/generate_map.sh index 42e3127..193a62b 100755 --- a/std/generate_map.sh +++ b/std/generate_map.sh @@ -2,6 +2,7 @@ FILES="$(find * -type f -name "*.bruijn" ! -name "All.bruijn" ! -path "*Generic*")" +# TODO: also handle imports for :input intelligence list_defs() { grep -Po "^[^:# \t][^ \t]*" "$1" | sed -e "s#\\(.*\\)#{\"name\": \"\\1\", \"source\": \"$1\"}#g" inputs="$(awk '/^:input/ {print $2}' "$1")" |