# HG changeset patch # User wenzelm # Date 1599819439 -7200 # Node ID 3b17e7688dc6a6f095ec9cd7cb71e7dc2aa594e4 # Parent a6587b40399d5f20aaa0134478faffe58c024ff2 updated documentation; diff -r a6587b40399d -r 3b17e7688dc6 src/Doc/System/Environment.thy --- a/src/Doc/System/Environment.thy Fri Sep 11 11:44:03 2020 +0200 +++ b/src/Doc/System/Environment.thy Fri Sep 11 12:17:19 2020 +0200 @@ -308,13 +308,16 @@ stand-alone program with the command-line arguments provided as \<^verbatim>\argv\ array. - \<^enum> An internal tool that is registered in \<^verbatim>\Isabelle_Tool.internal_tools\ - within the Isabelle/Scala namespace of \<^verbatim>\Pure.jar\. This is the preferred - entry-point for high-end tools implemented in Isabelle/Scala --- compiled - once when the Isabelle distribution is built. These tools are provided by - Isabelle/Pure and cannot be augmented in user-space. + \<^enum> An internal tool that is registered in \<^verbatim>\etc/settings\ via the shell + function \<^bash_function>\isabelle_scala_service\, referring to a + suitable instance of class \<^scala_type>\isabelle.Isabelle_Scala_Tools\. + This is the preferred approach for non-trivial systems programming in + Isabelle/Scala: instead of adhoc interpretation of \<^verbatim>\scala\ scripts, + which is somewhat slow and only type-checked at runtime, there are + properly compiled \<^verbatim>\jar\ modules (see also the shell function + \<^bash_function>\classpath\ in \secref{sec:scala}). - There are also some administrative tools that are available from a bare + There are also various administrative tools that are available from a bare repository clone of Isabelle, but not in regular distributions. \ diff -r a6587b40399d -r 3b17e7688dc6 src/Doc/System/Scala.thy --- a/src/Doc/System/Scala.thy Fri Sep 11 11:44:03 2020 +0200 +++ b/src/Doc/System/Scala.thy Fri Sep 11 12:17:19 2020 +0200 @@ -4,7 +4,7 @@ imports Base begin -chapter \Isabelle/Scala systems programming\ +chapter \Isabelle/Scala systems programming \label{sec:scala}\ text \ Isabelle/ML and Isabelle/Scala are the two main implementation languages of