I want to make a slight modification to REPL.jl and try it out. Does anyone know if I can dev
the REPL package without building Julia from source or something like that? ] dev REPL
doesn't seem to work.
Looks like something like this might work...
Romeo Valentin said:
Looks like something like this might work...
I believe the instructions for PKG.jl will work for any standard library including repl.jl
I was indeed able to do using REPL
, but since I'm already in the "upstream" REPL I'm not sure how to actually open the modified REPL.
I would have assumed that Julia would be using your fork automatically but I don't have any experience here. I was just going off of https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653
If you start Julia with --project
pointing to REPL and change the UUID in REPL/Project.toml
it will at least precompile when you do using REPL
and pkgdir(REPL)
will point to the right place. Whether your REPL session is affected needs further investigation but seems somewhat doubtful.
https://github.com/JuliaLang/julia/blob/53f452a7216d5e8af9ccadb4c8a86bcf61466a87/base/client.jl#L412
Last updated: Dec 28 2024 at 04:38 UTC