myriad/languages/ocaml/run.sh
2019-07-09 05:19:41 -04:00

2 lines
96 B
Bash

printf %s "$1" > program.ml
ocamlopt -cclib --static -o program program.ml && ./program || true