Ammonite lets you use the Scala language for scripting purposes: in the REPL or as scripts. A Modernized Scala REPL. With syntax highlighting, multi-line editing, the ability to load maven artifacts directly in the REPL, and many other quality-of-life improvements missing in the default Scala REPL. Lightweight Programming in Scala. Create scripts that you can run easily from the command line, with
NOTE: Ammonite is now deprecated. For Scala scripting functionality, please see the scripting functionality present in the Mill build tool (https://mill-build.org/mill/scalalib/intro.html#_single_file_scripts) For Scala REPL functionality, most of Ammonite's REPL features (Ctrl-C handling, pretty-printed output, dynamically importing libraries, etc.) has been ported to the upstream Scala REPL 3.8.
All things that appear in this world are illusion. If you view all appearance as nonappearance, then you will see your true nature. ~ Zen saying I was just reading the Scala man page, looking for something else, when I ran across this tip on how to speed up the execution of Scala shell scripts, using the savecompiled flag of the scala command: -savecompiled Save the compiled version of scripts in
モチベーション 先日、TypeScriptとPython向けに AWS Cloud Development Kit がGAになりました。 aws.amazon.com 現在GAではないのですが、JavaもこのAWS CDKの対象言語となっています。 じゃあ、JavaでできるならScalaでもできるよね?(決まり文句) Scalaでインフラコードを書けるのは嬉しそう。 というわけでScalaからAWS CDKを叩けるか試してみました。 セットアップ AWS CDKのインストール npm install -g aws-cdk Ammoniteのインストール ammonite.io 今回はScalaスクリプトを使ってAWS CDKのAPIを叩いてみます。 以下は執筆時の最新版をインストールしています。 sudo sh -c '(echo "#!/usr/bin/env sh" && curl -
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く