Boo (programming language)
Paradigm | Object oriented |
---|---|
Designed by | Rodrigo B. De Oliveira |
Developer | Rodrigo B. De Oliveira |
First appeared | 2003 (2003) |
Stable release | 0.9.7 / 25 March 2013 (2013-03-25) |
Typing discipline | static, strong, inferred, duck |
Implementation language | C# |
Platform | Common Language Infrastructure (.NET Framework & Mono)/ |
License | BSD 3-Clause[1] |
Website | github.com/boo-lang, boo-lang.org |
Influenced by | |
C#, Python | |
Influenced | |
Genie, Vala |
Boo is an object-oriented, statically typed, general-purpose programming language that seeks to make use of the Common Language Infrastructure's support for Unicode, internationalization, and web applications, while using a Python-inspired syntax[2] 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 was one of the three scripting languages for the Unity game engine (Unity Technologies employed De Oliveira), until it was dropped in 2014 due to the small userbase.[3]
Boo is free software released under the BSD 3-Clause license. It is compatible with the Microsoft .NET and Mono frameworks.
Contents
1 Code samples
1.1 Hello world program
1.2 Fibonacci series generator function
2 See also
3 References
4 External links
Code samples
Hello world program
print "Hello World!"
Fibonacci series generator function
def fib():
a, b = 0L, 1L # The 'L's make the numbers double word length (typically 64 bits)
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
- Fantom
- Apache Groovy
- IronPython
- IronRuby
- Nemerle
- REBOL
References
^ "license.txt". github.com. Retrieved August 5, 2015.
^ Rodrigo Barreto de Oliveira (2005). "The boo Programming Language" (PDF). Archived from the original (PDF) on February 6, 2009. Retrieved February 22, 2009.
^ aleksandr (September 3, 2014). "Documentation, Unity scripting languages and you". Unity Blogs.
External links
- Official website
- The sources of Boo hosted on GitHub
- The documentation of Boo hosted on GitHub
- Visual Boo, for Visual Studio 2010
- BooLangStudio VSIP for Visual Studio 2008
- #develop free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform
- Boo syntax highlighting for Visual Studio 2010
- How To Think Like a Computer Scientist: Learning to Program with Boo
- Boo Succinctly Revealed
- Bootorial
Clash Royale CLAN TAG#URR8PPP