Boo (programming language): Difference between revisions

Content deleted Content added
m disambig generator
wfy
Line 1:
'''Boo''' is a new ([[2004]]) [[object oriented]] statically [[datatype|typed]] [[programming language]] for the [[Common Language Infrastructure]] with a [[Python programming language|Python]] inspired syntax and a special focus on language and compiler extensibility. Some features of note include [[generator (computer science)|generator]]s, [[multimethods]], optional [[duck typing]], [[macro]]s, true [[Closure (computer science)|closure]]s, [[currying]], and first class functions.
 
Boo is [[open source]] licensed under an MIT/BSD style license and is maintained at http://boo.codehaus.org
 
==Code samples==
Hello World:
 
[[Hello world program]]:
print("Hello, world!")
 
[[Fibonacci Seriesseries]] generator function:
def fib():
a as long, b as long = 0, 1
Line 26 ⟶ 28:
print("done")
 
[[Currying]]:
def plus_a(a as int):
return { b as int | return a + b }
Line 34 ⟶ 36:
 
==External links==
*[http://boo.codehaus.org/ LanguageBoo Homepage]
*[http://docs.codehaus.org/pages/listpages-dirview.action?key=BOO boo wiki]