replit / polygott

Base Docker image for the Repl.it evaluation server
https://replit.com
MIT License
395 stars 103 forks source link

Fixed OCaml support. #179

Closed firefish111 closed 1 month ago

firefish111 commented 4 years ago

Currently, OCaml support is broken and displays this: image

This is because ocamlc -o main is running, which compiles the OCaml code. But it is expecting another argument which it isn't receiving. A solution would be to interpret it as ocaml main.ml (the solution in the pull request) or

ocamlc -o main main.ml
rm *.cmi *.cmo