请输入您要查询的百科知识:

 

词条 Boo (programming language)
释义

  1. Code samples

      Hello world program    Fibonacci series generator function  

  2. See also

  3. References

  4. External links

{{more citations needed|date=July 2011}}{{Infobox programming language
|name = Boo
|logo =
|paradigm = Object oriented
|year = {{Start date and age|2003}}
|designer = Rodrigo B. De Oliveira
|developer = Rodrigo B. De Oliveira
|latest_release_version = 0.9.7
|latest_release_date = {{Start date and age|2013|03|25|df=y}}
|typing = static, strong, inferred, duck
|implementations =
|dialects =
|influenced_by = C#, Python
|influenced = Genie, Vala
|programming_language = C#
|platform = Common Language Infrastructure (.NET Framework & Mono)/
|license = BSD 3-Clause[1]
|website = {{URL|https://github.com/boo-lang}}, {{URL|http://boo-lang.org}}
}}

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.

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
  1. Print the first 5 numbers in the series:

for index as int, element in zip(range(5), fib()):

See also

{{Portal|Free and open-source software}}
  • Fantom
  • Apache Groovy
  • IronPython
  • IronRuby
  • Nemerle
  • REBOL

References

1. ^{{cite web | url=https://github.com/bamboo/boo/blob/master/license.txt | title=license.txt | accessdate=August 5, 2015 | website=github.com}}
2. ^{{cite web | url = http://boo.codehaus.org/BooManifesto.pdf | title = The boo Programming Language | author = Rodrigo Barreto de Oliveira | year = 2005 | format = PDF | accessdate = February 22, 2009 | deadurl = yes | archiveurl = https://web.archive.org/web/20090206045607/http://boo.codehaus.org/BooManifesto.pdf | archivedate = February 6, 2009 | df = }}
3. ^{{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}}

External links

  • Official website
  • [https://github.com/boo-lang/ The sources of Boo hosted on GitHub]
  • [https://github.com/boo-lang/boo/wiki 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
  • [https://docs.google.com/file/d/0B8oSXKT4_sy7ZERmYnozaFlTY2M/edit?usp=sharing.pdf Boo Succinctly Revealed]
  • [https://web.archive.org/web/20140521221019/http://protoman.net/index.php?p=bootorial%2Findex Bootorial]
{{Common Language Infrastructure}}{{Portal bar|.NET Framework}}

11 : Programming languages|.NET programming languages|Brazilian inventions|Class-based programming languages|Free compilers and interpreters|Object-oriented programming languages|Procedural programming languages|Programming languages created in 2003|Software using the BSD license|Statically typed programming languages|2003 software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/30 22:18:47