#!/usr/bin/env bash # # Usage: # ./build.sh set -o nounset set -o pipefail set -o errexit source common.sh proc grammar { opy_ pgen2 py27.grammar $GRAMMAR } @Argv (CommandList children: [ (C {(set)} {(-o)} {(nounset)}) (C {(set)} {(-o)} {(pipefail)}) (C {(set)} {(-o)} {(errexit)}) (C {(source)} {(common.sh)}) (FuncDef name: grammar body: (BraceGroup children: [(C {(opy_)} {(pgen2)} {(py27.grammar)} {($ VSub_Name "$GRAMMAR")})] spids: [41] ) spids: [37 40] ) (C {(DQ ($ VSub_At "$@"))}) ] )