relrod / rublets

An IRC bot that uses SELinux Sandboxes to let you evaluate code in a large number languages.
14 stars 1 forks source link

Compile OCaml instead of using the REPL. #12

Closed relrod closed 12 years ago

relrod commented 12 years ago
13:47:54 < Qrntz> the fact it calls an interpreter instead of a compiler on the file is not nice :(
13:48:19 < Qrntz> the repl loop requires double semicolons to know where the phrase ends
13:48:24 < Qrntz> this is made obsolete by compiling the code

In this case, I think it's better to compile code rather than throwing it as STDIN to the OCaml REPL.