The Artima Developer Community
Sponsored Link

Java Buzz Forum
Pnuts Updates (1.1beta: try/catch/finally, do..while, and simple generators)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Toyokazu Tomatsu

Posts: 66
Nickname: tomatsu
Registered: Jul, 2003

Toyokazu Tomatsu is a developer of Pnuts.
Pnuts Updates (1.1beta: try/catch/finally, do..while, and simple generators) Posted: May 9, 2004 9:54 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Toyokazu Tomatsu.
Original Post: Pnuts Updates (1.1beta: try/catch/finally, do..while, and simple generators)
Feed Title: Pnuts Addict
Feed URL: http://pnuts.org/~tomatsu/jroller-rss.xml
Feed Description: Toyokazu Tomatsu's Weblog
Latest Java Buzz Posts
Latest Java Buzz Posts by Toyokazu Tomatsu
Latest Posts From Pnuts Addict

Advertisement
I've put the first beta of Pnuts 1.1 on the web. It has a couple of new syntax, such as try/catch/finally, do..while, and yield keyword. Most of the part is compatible with 1.0rc2, but we distribute 1.0 and 1.1 in parallel, since the new version is not strictly compatible with 1.0rc2.

Hhere is an example of generator:

function integers(){
   i = 0
   while (true) yield i++
}
for (i : integers()){
   if (i > 10) break
   println(i)
}

Read: Pnuts Updates (1.1beta: try/catch/finally, do..while, and simple generators)

Topic: Geronimo team announces the first milestone: 1.0 M1 Previous Topic   Next Topic Topic: Generating Images with JSPs and Servlets

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use