Boo (programming language): Difference between revisions

Content deleted Content added
Removing backlinks to Nemerle because "Wikipedia:Articles for deletion/Nemerle";
Paisen20 (talk | contribs)
 
(140 intermediate revisions by more than 100 users not shown)
Line 1:
{{Short description|none}}
{{More citations needed|date=July 2011}}
{{Infobox programming language
| name = Boo
| logo = [[File:BooLogo.png]]
| paradigm = [[Object-oriented analysis and design|Object oriented]]
| year = {{Start date and age|2003}}
| designer = [[Rodrigo B. De Oliveira]]
| developer = [[Rodrigo B. De Oliveira]] = Mason Wheeler
| latest_release_version = 0.9.47
| latest_release_date = 2011-01-21{{Start date and age|2013|03|25|df=y}}
| typing = [[static typing|static]], [[strong typing|strong]], [[Type inference|inferred]], [[duck typing|duck]]
| implementations =
| dialects =
| influenced_by = [[C Sharp (programming language)|C#]], [[Python (programming language)|Python]]
| influenced = Genie, [[Vala (programming language)|Vala]]
|influenced =
| programming_language = [[C Sharp (programming language)|C#]]
| platform = [[Common Language Infrastructure]] ([[.NET Framework]] & [[Mono (software)|Mono]])/
|license = [[MIT License|MIT]]/[[BSD licenses|BSD]] style license
| license = [[BSD licenses|BSD 3-Clause]]<ref>{{cite web |url=https://github.com/bamboo/boo/blob/master/license.txt |title=license.txt |access-date=August 5, 2015 |website=github.com}}</ref>
|website = [http://boo.codehaus.org/ boo.codehaus.org]
| website = {{URL|https://github.com/boo-lang}}
}}
 
'''Boo''' is an [[Object oriented programming|object -oriented]], [[Type system#Static typing|statically typed]], [[general-purpose programming language]] that seeks to make use of the [[Common Language Infrastructure]]'s support for [[Unicode]], [[I18n|internationalization]], and web applications, while using a [[Python (programming language)|Python]]-inspired syntax<ref>{{cite web | url = http://boo.codehaus.org/BooManifesto.pdf | title = The boo Programming Language | author = Rodrigo Barreto de Oliveira | year = 2005 | format access-date=February [[PDF]]22, |2009 accessdate|url-status=dead |archive-url=https://web.archive.org/web/20090206045607/http://boo.codehaus.org/BooManifesto.pdf |archive-date=February 226, 2009}}</ref> and a special focus on language and compiler extensibility. Some features of note include [[type inference]], [[generator (computer science)|generators]], [[multimethods]], optional [[duck typing]], [[Macro (computer science)|macros]], true [[Closure (computer science)|closures]], [[currying]], and [[first-class function]]s. Boo has been actively developed since 2003.
 
Boo was one of the three scripting languages for the [[Unity (game engine)|Unity game engine]] ([[Unity Technologies]] employed De Oliveira, its designer), until official support was dropped in 2014 due to the small userbase.<ref>{{cite web |url=https://blogs.unity3d.com/2014/09/03/documentation-unity-scripting-languages-and-you/ |title=Documentation, Unity scripting languages and you |author=aleksandr |date=September 3, 2014 |website=Unity Blogs}}</ref> The Boo Compiler was removed from the engine in 2017.<ref>{{cite web |url=https://blogs.unity3d.com/2017/08/11/unityscripts-long-ride-off-into-the-sunset/ |title=UnityScript's long ride off into the sunset |author=Richard Fine |date=August 11, 2017 |website=Unity Blogs}}</ref> Boo has since been abandoned by De Oliveira, with development being taken over by Mason Wheeler.<ref>{{cite web |url=https://github.com/boo-lang/boo/issues/201 |title=State of Boo · Issue #201 · boo-lang/boo |date=October 2, 2019 |website=GitHub |access-date=January 19, 2023}}</ref>
Boo is [[free software]] released under an [[MIT License|MIT]]/[[BSD licenses|BSD]]–style license. It is compatible with both the [[Microsoft]] [[.NET Framework|.NET]] and [[Mono (software)|Mono]] frameworks.
 
Boo is [[free software]] released under anthe [[MIT License|MIT]]/[[BSD licenses|BSD 3-Clause license]]–style license. It is compatible with both the [[Microsoft]] [[.NET Framework|.NET]] and [[Mono (software)|Mono]] frameworks.
== Code samples ==
=== Hello world program ===
<source lang="python">
print "Hello, world!"
</source>
 
== Syntax ==
=== Fibonacci series generator function ===
{{rewrite|2=section|date=May 2023}}
 
<sourcesyntaxhighlight lang="pythonboo">
print ("Hello, world!World")
</syntaxhighlight>
 
<syntaxhighlight lang="boo">
def fib():
a, b = 0L, 1L
# #The 'L's make the numbers double word length (typically 64 bits)
while true:
yield b
Line 40 ⟶ 45:
for index as int, element in zip(range(5), fib()):
print("${index+1}: ${element}")
</syntaxhighlight>
</source>
 
== See also ==
{{Portal|Free and open-source software}}
* [[Fantom (programming language)|Fantom]]
* [[Groovy (programming language)|Apache Groovy]]
* [[IronPython]]
* [[IronRuby]]
* [[Nemerle]]
* [[REBOL]]
* [[StaDyn (programming language)|StaDyn]]
 
==References==
{{Reflist}}
 
== External links ==
<references/>
 
* [httphttps://boogithub.codehaus.orgcom/boo-lang/boo Official website]
==External links==
* [http://jbryankelly.files.wordpress.com/2012/07/thinksciboorev2_hb.pdf How To Think Like a Computer Scientist: Learning to Program with Boo]
*[http://boo.codehaus.org/ Official website]
* [https://docs.google.com/file/d/0B8oSXKT4_sy7ZERmYnozaFlTY2M/edit?usp=sharing.pdf Boo Succinctly Revealed]
*[http://boolangstudio.codeplex.com/ BooLangStudio VSIP for Visual Studio 2008]
* [https://web.archive.org/web/20140521221019/http://protoman.net/index.php?p=bootorial%2Findex Bootorial]
*[http://www.icsharpcode.net/OpenSource/SD/ #develop free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform]
*[http://vs2010boo.codeplex.com/ Boo syntax highlighting for Visual Studio 2010]
 
{{Common Language Infrastructure}}
{{DotNET}}
 
[[Category:Class-based programmingProgramming languages]]
[[Category:Free compilers and interpreters]]
[[Category:Procedural programming languages]]
[[Category:.NET programming languages]]
[[Category:Brazilian inventions]]
[[Category:Class-based programming languages]]
[[Category:Free compilers and interpretersopen source compilers]]
[[Category:Object-oriented programming languages]]
[[Category:Procedural programming languages]]
[[Category:Programming languages created in 2003]]
[[Category:Software using the BSD license]]
[[Category:Statically typed programming languages]]
[[Category:2003 software]]
 
[[ar:بوو]]
[[bg:Boo]]
[[cs:Boo (programovací jazyk)]]
[[de:Boo (Programmiersprache)]]
[[es:Boo (lenguaje de programación)]]
[[fr:Boo (langage)]]
[[gl:Boo (programación)]]
[[ja:Boo (プログラミング言語)]]
[[pl:Boo]]
[[pt:Boo]]
[[ru:Boo]]
[[sv:Boo (programmeringsspråk)]]
[[zh:BOO]]