-
Sorry for keeping on talking about OCaml, but OCaml has quite a decent REPL, to the point one can do "repl driven development."
-
Rust has GitHub - murarth/rusti: REPL for the Rust programming language which does not support the latest compiler.
-
What is the difference between Rust & OCaml that causes Rust to not have a REPL? Is it the Rust language itself (i.e. zero cost abstractions don't work well with REPLs), or is it an artifact of current Rust compilers, or ... ?
1 Like
Check out GitHub - google/evcxr. The repo seems active.
Btw, MIRI growing more capable, perhaps that could be used as a basis for an interepreter? (from my understanding both rusti and evcxr basically just compile every line to a separate program and do some shared memory hacks to persist variables)
4 Likes
Basically, because it's complicated This issue has a lot of discussion on some of the issues.
6 Likes
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.