myriad/languages/ocaml/run.sh

3 lines
96 B
Bash
Raw Normal View History

2019-07-09 11:19:41 +02:00
printf %s "$1" > program.ml
ocamlopt -cclib --static -o program program.ml && ./program || true