3 ms·
There’s very rarely any where you can actually interact with the running program. At best you can usually load in a method and poke it, but that’s not the same.
by phyrex 3y ago
There’s very rarely any where you can actually interact with the running program. At best you can usually load in a method and poke it, but that’s not the same.
- Lyngbakr 3y agoSo, the REPL mentioned in the article differs from, say, the Julia REPL[0]? Is it simply using the same term for slightly different things? [0] https://docs.julialang.org/en/v1/stdlib/REPL/ https://docs.julialang.org/en/v1/stdlib/REPL/
- selimthegrim 3y agoThe Julia REPL front end is written in Scheme IIRC
- sundarurfriend 3y agoI believe it's Julia's current default parser that's written in a Scheme, the REPL is a normal Julia standard library written in Julia itself: https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/src/ https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/s...
- adgjlsfhk1 3y agoalso we are very close to moving Julia's parsing (but not lowering) to pure Julia as well.
- selimthegrim 3y agoOK thanks for the correction!
- sundarurfriend 3y agoOne of the other comments in this thread links to: https://mikelevins.github.io/posts/2020-12-18-repl-driven/ https://mikelevins.github.io/posts/2020-12-18-repl-driven/ which makes a distinction between "having a REPL" and "supporting repl-driven programming". Modern languages which have a REPL generally don't support the sort of repl-driven programming they refer to. Julia's Revise.jl [1] supports one way of repl-driven programming, and it is in fact the recommended way of doing Julia, but from my understanding it's still very different from the Lisp ways. [1] https://timholy.github.io/Revise.jl/stable/ https://timholy.github.io/Revise.jl/stable/