5 ms·
Papyrus, a Rust REPL
- carreau 7y agoAny comparison with https://github.com/google/evcxr https://github.com/google/evcxr ?
- correct_horse 7y agoWould love to see a blurb in the readme about how it works. Also useful is a comparison to evcxr, the poorly named rust interpreter I use every once in a while.
- saagarjha 7y agoIt looks like it creates a shared library out of the source code and loads it.
- nathias 7y agoI'm disappointed the docs aren't in papyrus font ...
- eerrt 7y agounderrated comment
- maximilianroos 7y agoReminds me of the epic SNL: https://www.youtube.com/watch?v=jVhlJNJopOQ https://www.youtube.com/watch?v=jVhlJNJopOQ
- buster 7y agoI'm curious how to use it for scripts? Can i add it to the shebang somehow? Any way to use/add crates to use in the script?
- arcticbull 7y agoYou can do that with cargo-script if you’re curious, though it’s not under active development it looks like. https://github.com/DanielKeep/cargo-script/blob/master/README.md https://github.com/DanielKeep/cargo-script/blob/master/READM...
- Lucasoato 7y agoSans' brother <3
- whateveracct 7y agoNyeh heh heh!
- Ericson2314 7y agoDoes it use miri?
- monocasa 7y agoDoesn't look like it, but I could be missing it.
- JeremyNT 7y agoI've been digging into rust over the holiday season, and having been spoiled by repls in higher level languages immediately found myself wishing for one to tinker with. When you're first exploring a language it can make for a super fast feedback loop when learning the syntax and examining features interactively. I came across papyrus on crates.io, but it seems relatively new and I found little information on it. Can anybody recommends it versus evcxr for a rust newbie?