Questions tagged [boo]

Boo is an object oriented, statically typed programming language for the Common Language Infrastructure, with a Python-inspired syntax and a special focus on language and compiler extensibility.

Boo is an open source, object oriented, statically typed programming language for the Common Language Infrastructure, with 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 has been actively developed since 2003.

131 questions
3
votes
2 answers

Has anbody used Boo and can you comment on your experiences?

I'm looking for a groovy equivalent on .NET http://boo.codehaus.org/ So far Boo looks interesting, but it is statically typed, yet does include some of the metaprogramming features I'd be looking for. Can anyone comment on the experience of using…
Daniel Honig
  • 4,268
  • 6
  • 26
  • 24
3
votes
1 answer

In Boo, how do I specify an array parameter?

In Boo, let's say I'm overriding a method that takes a parameter that takes string[] urls. Type inference, for whatever reason, isn't matching up to the base class, so I need to explicitly specify the type of the parameter. class MyClass: MyBase …
JasonTrue
  • 19,244
  • 4
  • 34
  • 61
2
votes
1 answer

Boo - preventing arbitrary imports

I am currently assessing application scripting language candidates for hosting within a .Net application and have come across Boo. However I am struggling to see from the documentation if there is going to be anyway from preventing the user from…
Alan Macdonald
  • 1,872
  • 20
  • 36
2
votes
3 answers

Is Boo a good choice for writing unit tests?

I'm developing in C# on the Castle stack. I'm new to unit testing, and I've heard that a more flexible language (than C#) might make writing tests easier. Do you think it is worth the time to learn Boo just for writing unit tests? We use the…
nocache
  • 194
  • 1
  • 7
2
votes
1 answer

Boo ASP.NET MVC template

I've been searching around for a way to use Boo in ASP.NET MVC project. What I would like is a way to easily create an MVC project with Boo, like the included templates that the MVC project has for C# and VB. Does anyone know of a way to get Boo…
Patric Hua
  • 165
  • 2
  • 12
2
votes
1 answer

Compiler for CLR

I am working towards building a small language or dst that makes use of .net/clr. Aside from reading a lot the most progress I made is a C# program that takes some basic input (no ebnf actual lexing or fancy parsing) and used ILgenerator to create a…
GreatGaja
  • 315
  • 2
  • 11
2
votes
1 answer

Reusable nested macro in boo?

I am writing a DSL using boo and I would like to keep it as DRY as possible. I was wondering if there is any way to reuse nested macro. E.g. in topmacro1: submacro: topmacro1['submacro'] = 'defined' topmacro2: submacro: …
2
votes
0 answers

Race condition in Rhino DSL?

In my current project I am working with Boo/Rhino DSL (what a great thing(s) by the way). In digging in the code I came across the following piece of code: engine.Cache.WriteLock( () => { engine.Storage.NotifyOnChange(urls, delegate(string…
mfeingold
  • 7,094
  • 4
  • 37
  • 43
2
votes
2 answers

Optimal language to develop with Unity?

I would like to ask you all about the Unity framework and programming. Unity supports three different languages; Boo, C# and Unityscript. Say you were new to programming and developing on OS X. What is the best language to learn and use alongside…
Jonathan Musso
  • 1,374
  • 3
  • 21
  • 45
2
votes
2 answers

Boo, garbage collector

does Boo have a garbage collector? what type?
Neo
  • 888
  • 1
  • 7
  • 19
2
votes
2 answers

Can a Domain Specific Language (DSL) be localized (i.e. translated)?

I have never written a DSL, but I am considering it as a feature for a new project (hypothetical). It would be for end users to be able to express in natural language concepts such as weekdays between 10 and 11 except on the first monday of the…
Michiel van Oosterhout
  • 22,839
  • 15
  • 90
  • 132
2
votes
1 answer

Validate Boo script syntactically without running it

I have use BOO as an embedded script language in my own program. And I want to check the syntax errors of a script which a user writes. So I don't need to run the script by something like interpreter.Eval method and I need just running the first…
2
votes
2 answers

Boo: Explicitly specifying the type of a hash

I am new to Boo, and trying to figure out how to declare the type of a hash. When I do: myHash = {} myHash[key] = value (later) myHash[key].method() the compiler complains that "method is not a member of object". I gather that it…
Kiv
  • 31,940
  • 6
  • 44
  • 59
2
votes
4 answers

How to make a text box in a command line window?

I'm working with .NET (specifically Boo, but answers would work in C# too) and I want to know how I could create an editable box inside the command line, such that I could display a section of output in the top part of the command line, and have a…
The.Anti.9
  • 43,474
  • 48
  • 123
  • 161
2
votes
1 answer

Error when adding a Boo method to a C# multicast delegate

I'm developing some Boo code that needs to be notified by an existing delegate in C#. I'm getting a Boo compilation error in the constructor of the ActionBoo class. Please see the error message along with every alternative I tried. # Boo import…
mmmaes
  • 23
  • 2
1 2 3
8 9