Exploring the Boo scripting language

GHOSTSTORY

Article from Issue 73/2006
Author(s):

Boo is a scripting language tailor-made for Mono and .NET. This haunting mixture of Python and C# may be just what you need to get started with the .NET framework.

Rodrigo Barreto de Oliveira was frustrated; he couldn’t find a programming language that was suitable for his next project. Python didn’t have the kind of static type checking he needed, and he would have preferred better .NET integration. C# was well integrated with .NET, but it required too much typing. These disappointments led Rodrigo to develop his own scripting language. His new language would be Python-based, and it would rely on the Common Language Infrastructure (or CLI) and the Dotnet framework. He spiced the results with a couple of C# and Ruby design principles and finally came up with the object-oriented Boo [1] language, which is available for Linux thanks to the Mono environment. Saying Hello Because the ubiquitous “Hello World” with its print("Hello World") line is almost too trivial, Listing 1 gives you a GTK# variant on the theme.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Google Dart

    The Dart programming language is Google’s modern alternative to JavaScript. It will mainly run in browsers but can also be used at the command line and on servers as a replacement for PHP.

  • CoffeeScript

    Through the years, many languages have tried to improve or even replace JavaScript, including CoffeeScript, which runs in all JavaScript Runtime Environments and compiles into JavaScript.

  • Meson Build System

    Developers fed up with cryptic Makefiles should take a look at the new Meson build system, which is simple to operate, offers scripting capabilities, integrates external test tools, and supports Linux, Windows, and Mac OS X.

  • PHP Scripting Intro

    PHP is becoming an essential tool for all but the simplest websites. This month we examine PHP in the Linux environment.

  • Perl: CPAN Additions

    Many people have declared the granddaddy of scripting, Perl, to be dead. A look at new items in the CPAN software repository, however, shows that the community is still quite active.

comments powered by Disqus

Direct Download

Read full article as PDF:

Dotnet_Scripting_with_boo.pdf (176.32 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia