Boo is a new (2004) object oriented statically typed programming language for the Common Language Infrastructure with a Python inspired syntax and a special focus on language and compiler extensibility. Features of note include generators, multimethods, optional duck typing, macros, and first class functions.
Boo is open source boo licensed under an MIT/BSD style license and is maintained at http://boo.codehaus.org
Hello World:
- print("Hello, world!")
- Fibonacci Series:
- def fib():
- a as long, b as long = 0, 1
- while true:
- yield b
- a, b = b, a + b