Com S 541 Lecture -*- Outline -*- * Tools for working with Scala based on: scala.epfl.ch ** Downloading tools ------------------------------------------ DOWNLOADING THE TOOLS From scala.epfl.ch - Installation of command-line tools - Eclipse plugin ------------------------------------------ ** Eclipse Plugin ------------------------------------------ ECLIPSE PLUGIN Change your shortcut for starting eclipse to pass option: -vmargs -Xmx256M Set up Scala by following prompts To run, use external tools configuration with Location: Working Directory: ${project_loc} Arguments: -cp ${project_loc}/bin ${string_prompt} ------------------------------------------ ** Command line tools ------------------------------------------ COMMAND LINE TOOLS scala - the virtual machine (like java) scalaint - interactive interpreter (like hugs) scalac - the compiler scaladoc - documentation generator scala-info - tells about environment, etc. ------------------------------------------ basic use similar to Java scalac pkg/Foo.scala scala pkg.Foo ** Documentation ------------------------------------------ DOCUMENTATION From scala.epfl.ch About the language: - The Scala Language specification - Scala by Example About the APIs: - HTML browsable documents doc/api/index.html - also use the Java or .NET documents for base classes (Object, String...) ------------------------------------------