Text this: Adapting Proofs-as-Programs