sources for scala modules

66 views
Skip to first unread message

HjP

unread,
Sep 15, 2016, 10:50:29 AM9/15/16
to scala-user
Why are the sources of the scala (2.11.8) modules XML API, Parser Combinators API, Swing API, .. not available from scala-lang.org?

Tim Ruhland

unread,
Sep 15, 2016, 4:47:38 PM9/15/16
to scala-user
Since the 2.11.1 release, the following packages are "shipped as separate libraries":

  • scala.xml - XML parsing, manipulation, and serialization (scala-xml.jar)
  • scala.swing - A convenient wrapper around Java's GUI framework called Swing (scala-swing.jar)
  • scala.util.continuations - Delimited continuations using continuation-passing-style (scala-continuations-library.jar, scala-continuations-plugin.jar)
  • scala.util.parsing - Parser combinators, including an example implementation of a JSON parser (scala-parser-combinators.jar)
  • scala.actors - Actor-based concurrency (deprecated and replaced by Akka actors, scala-actors.jar)

Read the release notes, linked above, for insight. Look for the section on Deprecations. 

These packages, except for actors, are "community maintained". Actors is replaced by akka. 
To see documentation and sources for the community maintained packages go to the Scala github repository
Use the filter window to find the repository for the particular package and then read the README.md. 
Those documents will contain links to the api docs. Or you can go the Scala API Docs page for the latest release.


HjP

unread,
Sep 15, 2016, 5:26:33 PM9/15/16
to scala-user
Thanks for this clarification. Nevertheless, it seems that http://www.scala-lang.org/download/2.11.8.html still ships  the mentioned modules together with the core library, whereas it doesn't ship their sources at all.

Seth Tisue

unread,
Sep 27, 2016, 2:34:31 PM9/27/16
to scala-user
Note that the source link on e.g. http://www.scala-lang.org/download/2.11.8.html just links to GitHub. If someone wanted to tackle adding links to the module sources as well, the relevant file to edit in your pull request would be src/main/scala/MakeDownloadPage.scala in the https://github.com/scala/make-release-notes repo.

Seth Tisue / Scala team / Lightbend, Inc.
Reply all
Reply to author
Forward
0 new messages