2023-03-04 17:13:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cat << EOF > oracle_table.py
|
2023-03-04 17:42:43 +00:00
|
|
|
from grammar import Tok, Variable
|
2023-03-04 17:13:20 +00:00
|
|
|
|
|
|
|
oracle_table = (
|
|
|
|
EOF
|
|
|
|
|
|
|
|
if python build_oracle.py >> oracle_table.py; then
|
|
|
|
echo ")" >> oracle_table.py
|
|
|
|
echo "Built oracle_table.py"
|
|
|
|
else
|
|
|
|
rm oracle_table.py
|
|
|
|
python build_oracle.py
|
|
|
|
fi
|