This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Text.ParserCombinators.Parsec | |
import System.Environment (getArgs) | |
import Safe | |
data Expr = | |
Var Name -- variable | |
| App Expr Expr -- application | |
| Lambda Name Expr -- lambda abstraction | |
deriving | |
(Eq,Show) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# basic manual argument parsing | |
usage() { | |
echo "Usage: $0 [--foo FOO] [-v]" 1>&2 | |
} | |
foo="" | |
verbose=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
dafny verify --solver-log example.smt2 --boogie /normalizeNames:0 example.dfy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
verus --log-smt example.rs | |
# output is in .verus-log/root.smt2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# iris-release.sh prepares a commit for https://github.com/coq/opam to | |
# add a new version of std++ and Iris to the Coq opam repository. | |
# | |
# Requires a clone of opam-coq-archive. The opam files from std++ and Iris are | |
# retrieved by downloading their releases by tag. | |
set -eu |
OlderNewer