Alexandre Archambault
Alexandre Archambault
When run with `--thin`, Ammonite only exposes the class path of its compiler and repl-api modules: ```text $ cs resolve com.lihaoyi:ammonite-repl-api_2.13.5:2.3.8-65-0f0d597f com.lihaoyi:ammonite-compiler_2.13.5:2.3.8-65-0f0d597f com.github.javaparser:javaparser-core:3.2.5:default com.lihaoyi:ammonite-compiler-interface_2.13.5:2.3.8-65-0f0d597f:default com.lihaoyi:ammonite-compiler_2.13.5:2.3.8-65-0f0d597f:default com.lihaoyi:ammonite-interp-api_2.13.5:2.3.8-65-0f0d597f:default com.lihaoyi:ammonite-ops_2.13:2.3.8-65-0f0d597f:default com.lihaoyi:ammonite-repl-api_2.13.5:2.3.8-65-0f0d597f:default com.lihaoyi:ammonite-util_2.13:2.3.8-65-0f0d597f:default com.lihaoyi:fansi_2.13:0.2.9:default...
`--thin` was added https://github.com/com-lihaoyi/Ammonite/pull/941, and we [settled on making it opt-in](https://github.com/com-lihaoyi/Ammonite/pull/941#issuecomment-502023482) at the time (cc @lihaoyi). I'd have a slight preference for it to be opt-out too. It leads to...
Or we could go for a middle ground somehow: hide Ammonite's internals by default (like `--thin` does), but keep exposing most `com.lihaoyi::*` libraries.
FYI @tgodzik, I found conditions under which position errors still happen on the first line… Maybe this is what you saw in https://github.com/scalameta/metals/pull/1538#issuecomment-627462563? I'll try to find time to fix...
> so I assumed it was fixed. It was -partly- fixed.
> I'd say the first thing we should implement are assemblies, but we should do so in a way that leaves the door open for further backends in future: coursier-bootstraps,...
For Scala Native and Scala.JS, narrowing the scope of what needs to be cross-compiled might need a bit of work too (see the very last point I mentioned in [my...
> Duplicate of #919 I think that's what I was referring but couldn't recall to in the OP. (I had no recollection of mentions of native stuff though.)
I never really messed with mainargs stuff. I'll let @lihaoyi (or anyone else?) review this.
It could work with [ammonite-spark](https://github.com/alexarchambault/ammonite-spark), although I haven't tried to run Ammonite scripts with it.