Languages Features Calendar About Lists Add Language
GitHub icon



Boo is a programming language created in 2003 by Rodrigo B. De Oliveira.

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 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 small userbase. Read more on Wikipedia...

Try now: Riju ยท TIO

#144on PLDB 19Years Old 861.0Users

Example code from Riju:

print "Hello, world!"

Example code from hello-world:

print "Hello World"

Example code from the Hello World Collection:

# Hello World in Boo print "Hello World"

Example code from Wikipedia:

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}")

Language features

Feature Supported Example Token
MultiLine Comments โœ“
Integers โœ“
# \d+
Floats โœ“
# (\d+\.\d*|\d*\.\d+)([fF][+-]?[0-9]+)?
Hexadecimals โœ“
# 0x[a-fA-F0-9]+
Octals โœ“
# 0\d+
Strings โœ“
"Hello world"
Print() Debugging โœ“ print
Comments โœ“
# A comment
Line Comments โœ“
# A comment
Semantic Indentation โœ“

Trending Boo repos on GitHub

repo stars description
SILENTTRINITY 858 "An asynchronous collaborative post-exploitation agent powered by Python and .NET's DLR"

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements ยท Email ยท GitHub