[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Announcement: Release of Scala v1.1.0-b1

  • To: xml-dev@l...
  • Subject: Announcement: Release of Scala v1.1.0-b1
  • From: Burak Emir <Burak.Emir@e...>
  • Date: Wed, 18 Feb 2004 10:24:54 +0100
  • User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

scala 1.0
Hello,

Version 1.1.0-b1 of Scala was released yesterday. Scala is a programming 
language somewhere between Java and Standard ML that is compiled to Java 
bytecode. Readers of this list might be interested in an undocumented 
XML markup option of the compiler (-Xmarkup). With this, it is possible 
to write:

class MyClass {
   /** a function creating a html document containing a message
    */
   def createBody( msg:String ) = {
	<html>
            <head>
              <title>{ msg }</title>
            </head>
            <body background="#fff">
               <h1>{ msg }</h1>
               <p> created automatically on { getDate() }</p>
	   </body>
         </html>;
   }
  // last expression of a block is the result
  // C,Java-style comments are not allowed in literals.
}

The other changes compared to the previously available version are:

- New syntax to conveniently define several variables, values, methods
or classes which have the same initialising expression.

- New support for enumerations in the standard library.

- Change in the license to remove the advertising clause.

- Support for value classes in the scalap tool.

- Several bugs fixed in the compiler, standard library and installers.

The Scala team.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.