src/Tools/Code/lib/Tools/codegen
changeset 36694 978e6469b504
parent 34271 70af06abb13d
child 37244 a53f296f86d3
equal deleted inserted replaced
36693:40dcc319d4cd 36694:978e6469b504
    56   QND_CMD="set"
    56   QND_CMD="set"
    57 else
    57 else
    58   QND_CMD="reset"
    58   QND_CMD="reset"
    59 fi
    59 fi
    60 
    60 
    61 CTXT_CMD="ML_Context.eval_in (SOME (ProofContext.init (theory \"HOL\"))) false Position.none \"Code_Target.shell_command thyname cmd\";"
    61 CTXT_CMD="ML_Context.eval_in (SOME (ProofContext.init_global (theory \"HOL\"))) false Position.none \"Code_Target.shell_command thyname cmd\";"
    62 
    62 
    63 FULL_CMD="Unsynchronized.$QND_CMD quick_and_dirty; val thyname = \"$THY\"; val cmd = \"$CODE_CMD\"; $CTXT_CMD"
    63 FULL_CMD="Unsynchronized.$QND_CMD quick_and_dirty; val thyname = \"$THY\"; val cmd = \"$CODE_CMD\"; $CTXT_CMD"
    64 
    64 
    65 "$ISABELLE_PROCESS" -q -e "$FULL_CMD" "$IMAGE" || exit 1
    65 "$ISABELLE_PROCESS" -q -e "$FULL_CMD" "$IMAGE" || exit 1