Boo (programming language)
File:BooLogo.png | |
Paradigm | Object oriented |
---|---|
Appeared in | 2003 |
Designed by | Rodrigo B. De Oliveira |
Developer | Rodrigo B. De Oliveira |
Stable release | 0.9.3 (2009-12-28) |
Typing discipline | static, strong, duck |
Influenced by | Python |
OS | .NET Framework, Mono Runtime |
License | MIT/BSD style license |
Website | boo.codehaus.org |
Boo is an object oriented, statically typed programming language in active development since 2003, which seeks to make use of the Common Language Infrastructure's support for Unicode, internationalization and web applications, while using a Python-inspired syntax[1] and a special focus on language and compiler extensibility. Some features of note include type inference, generators, multimethods, optional duck typing, macros, true closures, currying, and first-class functions.
Boo is free software released under an MIT/BSD–style license. It is compatible with both the Microsoft .NET and Mono frameworks.
Code samples
Hello world program
print "Hello, world!"
Fibonacci series generator function
def fib():
a, b = 0L, 1L #The 'L's make the numbers 64-bit
while true:
yield b
a, b = b, a + b
# Print the first 5 numbers in the series:
for index as int, element in zip(range(5), fib()):
print("${index+1}: ${element}")
See also
References
- ↑ Rodrigo Barreto de Oliveira (2005). "The boo Programming Language" (PDF). http://boo.codehaus.org/BooManifesto.pdf. Retrieved February 22, 2009.
External links
|
ar:بوو bg:Boo cs:Boo (programovací jazyk) de:Boo (Programmiersprache) es:Boo (informática) fr:Boo (langage) gl:Boo (programación) it:Boo (linguaggio di programmazione) pl:Boo pt:Boo ru:Boo sv:Boo (programmeringsspråk) zh:BOO
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...
- Pages using deprecated source tags
- Pages with syntax highlighting errors
- Pages using duplicate arguments in template calls
- Pages with broken file links
- Class-based programming languages
- Free compilers and interpreters
- Procedural programming languages
- .NET programming languages
- Object-oriented programming languages
- Statically-typed programming languages