[Mono-list] ANN: boo 0.5.4 is out!

Rodrigo B. de Oliveira rodrigobamboo at gmail.com
Mon May 23 14:33:25 EDT 2005


What is boo? http://boo.codehaus.org/
Where do I get it? http://boo.codehaus.org/Download

Thanks to Peter Johanson this release brings initial support for c#
style explicit interface member implementation:

    class Disposable(IDispose):
        def IDisposable.Dispose():
            print "Dispose!"

Also on this release:
  * char literals: char('f')
  * unicode literals in strings: \u0032
  * a Set class (Boo.Lang.Useful.Collections.Set)
  * Singleton design pattern implementation
(Boo.Lang.Useful.Attributes.SingletonAttribute)
  * the compiler will now call class provided '==' and '!=' operators;
  * the compiler will now look for an implicit conversion operator to
boolean when evaluating the conditions for the if/while/unless
statements;
  * the version of antlr shipped with boo can now generate boo code.
In other words you can now finally write parsers in your favorite
programming language!
  * 'for' and unpack statements now also work with IEnumerator
allowing fine grained control over iteration:
      e = [1, 2, 3, 4].GetEnumerator()
      first, second = e
      for item in e:
          print item # prints 3
          break
      last, = e # consumes the last item, notice the ending comma
  * better support for value typed properties;
  * extended generator expression syntax: (x, y) for x in range(1, 3)
for y in range(3, 0)
  * the 'in' and 'not in' operators will now work with any type that
provides a op_Member and op_NotMember implementation respectively;
  * + lots of minor improvements;

Special thanks go in silly order to:
    * Peter Johanson
    * Sorin Ionescu
    * Doug Holton
    * Arron Washington
    * Daniel Grunwald
    * Edwin de Jonge

And if you haven't done it already, check the great support for boo in
both MonoDevelop and SharpDevelop.

Best wishes,
bamboo


More information about the Mono-list mailing list