Ammonite icon indicating copy to clipboard operation
Ammonite copied to clipboard

Scala Scripting

Results 155 Ammonite issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/com-lihaoyi/Ammonite/issues/1277.

see the corresponding issue in zio/zio https://github.com/zio/zio/issues/6987 reproduce with https://gist.github.com/domdorn/d1a909f2d99575a2153c789344ce5aa3

OS: Manjaro Linux (latest stable) Ammonite Version: Welcome to the Ammonite Repl 2.1.4 (Scala 2.13.2 Java 11.0.7) Ammonite Package: https://www.archlinux.org/packages/community/any/ammonite/ (official ammonite package on Archlinux) JDK: openjdk 11.0.7 2020-04-14 ;...

I just ran into a silly PEBKAC problem. I have a template file that I've named `scala.sc` and when trying to use ammonite from the command line I ran into...

# Problem The current script-processing model is closely modelled after the interactive, dynamic REPL experience: 1. Scripts are split via `@` separators into blocks 2. The blocks of a script...

Currently, the Ammonite interpreter module has a dependency the Scalameta module `trees` https://github.com/com-lihaoyi/Ammonite/blob/0f0d597f04e62e86cbf76d3bd16deb6965331470/build.sc#L296 This dependency is only used to access internal APIs to read/write protobuf files https://github.com/com-lihaoyi/Ammonite/blob/0f0d597f04e62e86cbf76d3bd16deb6965331470/amm/interp/src/main/scala/ammonite/interp/script/SemanticdbProcessor.scala#L8 Those APIs are...

Curretnly this is possible with the help of *bash*, but I find it cumbersome. Withi thsi trick, the 1st argument is the path. This is valid if the script has...

Now that Mill's scala incremental compilation working has been modularized into a standalone module (`com.lihaoyi:mill-scalalib-worker_2.12:0.3.5-14-de175e`) we should upstream it into Ammonite so we can get incremental compilation of Ammonite `.sc`...

``` scala Welcome to the Ammonite Repl 1.0.0 (Scala 2.12.2 Java 1.8.0_131) If you like Ammonite, please support our development at www.patreon.com/lihaoyi @ import $ivy.`net.sourceforge.htmlunit:htmlunit:2.27` import $ivy.$ @ import com.gargoylesoftware.htmlunit.WebClient...