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
7
votes
11 answers

What technology to use in creating DSL for rules engine?

What technology would you recommend to create a DSL for a Business Rules and Validation Application Block for .NET? And why? The architecture of the framework is established and proof-tested by a production. I just want to create a .NET processor to…
Rinat Abdullin
  • 23,036
  • 8
  • 57
  • 80
7
votes
2 answers

Is anybody using the Specter BDD Framework?

I was reading the example chapter from the book by Ayende and on the website of the Boo language I saw a reference to the Specter BDD Framework. I am wondering if anybody is using it in their project, how that works out and if there are more…
Rick
  • 3,361
  • 1
  • 22
  • 29
7
votes
2 answers

Embedding boo in C#, does not recognise executing assembly

scripts/ai/Dream.boo import CultLib import LonelyHero class Dream(Enemy): pass C# var bc = new BooCompiler(); bc.Parameters.Input.Add(new FileInput("rsc/script/ai/" + "Dream" + ".boo")); bc.Parameters.Pipeline = new…
Gavin Gassmann
  • 337
  • 3
  • 17
7
votes
2 answers

Generate custom setter using attributes

In classes whose instances I persist using an object database, I keep having to do this: private string _name; public string Name { get { return this._name; } set { _name = value; this.Save(); } } whereas I would much rather type…
andyhasit
  • 14,137
  • 7
  • 49
  • 51
6
votes
2 answers

How do I configure an ASP.NET MVC project to work with Boo

I want to build an ASP.NET MVC application with Boo instead of C#. If you know the steps to configure this type of project setup, I'd be interested to know what I need to do. The MVC project setup is no problem. What I'm trying to figure out how to…
Chris Sutton
  • 2,771
  • 5
  • 26
  • 32
5
votes
5 answers

What is the best script language for Unity3D

I am starting with game dev using Unity3d and I can see there's 3 supported languages for creating scripts: C#, unityscript and Boo... although, coming from a web-design past I am obviously used with javascript, but after few attempts I could notice…
zanona
  • 12,345
  • 25
  • 86
  • 141
5
votes
2 answers

The DLR, Boo, and the JVM

I'm just starting to try to learn more about the .Net VM underpinnings, and am immediately thrown off by something. I know there's this new thing called the DLR that allows for all the dynamic stuff in C# and the running of the IronX languages. …
Dax Fohl
  • 10,654
  • 6
  • 46
  • 90
5
votes
3 answers

How do I manage application configuration in ASP.NET?

I am having difficulty with managing configuration of an ASP.Net application to deploy for different clients. The sheer volume of different settings which need twiddling takes up large amounts of time, and the current configuration methods are too…
GlennS
  • 5,251
  • 6
  • 28
  • 31
5
votes
5 answers

A guide to Boo's metaprogramming and extensibility features?

I'm interested in learning about Boo's more powerful features such as syntactic macros, parser support (Ometa?), compiler pipeline, etc. My impression is that these areas have been in flux and somewhat under-documented. Are there any good…
Mike K
  • 644
  • 5
  • 14
5
votes
4 answers

Is there a way to verify that code will work on the 360 while doing XNA dev?

I'm working on a casual game on XNA with the intention of deploying to the Xbox 360. I'm not going to have access to hardware for a few weeks and I'm on a tight deadline, so I'd like to test that a few things -- Boo and a few custom libraries --…
Serafina Brocious
  • 30,433
  • 12
  • 89
  • 114
5
votes
6 answers

Can you do LINQ-like queries in a language like Python or Boo?

Take this simple C# LINQ query, and imagine that db.Numbers is an SQL table with one column Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because it…
apenwarr
  • 10,838
  • 6
  • 47
  • 58
5
votes
4 answers

Is Boo 100% C# compatible?

Boo seems like a very cool language. Is it 100% C# compatible? I mean: can I use any C# DLL/class? Could I make use of the XNA framework?
Geo
  • 93,257
  • 117
  • 344
  • 520
5
votes
1 answer

Difficult boo syntactic macro

I'm creating a DSL for an extensible card game engine I'm working on, with boo. I have a card macro that creates a class for a new type of card, and initializes some properties in the constructor. That macro has a few submacros for setting other…
R. Martinho Fernandes
  • 228,013
  • 71
  • 433
  • 510
4
votes
2 answers

Delete a variable in boo

I know that the similarities between boo and Python are only superficial, but still, how can I do an equivalent of the following Python code in boo? a = 'a' del a a = 1 I've tried a = 'a' a = null System.GC.Collect() …
eje211
  • 2,385
  • 3
  • 28
  • 44
4
votes
2 answers

Method chaining on a new line in boo

Is it possible to make method chaining in a new line, like you can do in C#? var foo = bar .MethodOne() .MethodTwo()
Emil C
  • 1,315
  • 4
  • 15
  • 27
1
2
3
8 9