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
1
vote
2 answers

XAML and Boo in Sharpdevelop

I am able to create and run boo console applications in Sharpdevelop. Is there a way to specify the UI using XAML markup and write the code behind in boo for WPF development in Sharpdevelop? If not is there any other alternative for WPF development…
cmarsjupe
  • 13
  • 2
1
vote
1 answer

How do you emulate a dictionary / hashtable in boo?

If you want to make a boo class that behaves like a dictionary or hashtable, what is the correct syntax? In Python you'd override __getitem__ and __setitem__, but I've been unable to find the equivalent magic methods in Boo and I don't think I can…
theodox
  • 12,028
  • 3
  • 23
  • 36
1
vote
1 answer

Boo Language Calculation on Web Drop Down List

The software we use LanDesk Service Desk uses Boo Language calculations to allow for dynamic windows. I have a drop down list on a form that has one of two options. "Acute" and "Ambulatory". Based on which is chosen, one of two possible fields…
johnsonr
  • 13
  • 4
1
vote
3 answers

Unity3D large maps advice - How big is too big?

Using the Unity3D engine. I'm making a multiplayer game for fun, using Unity's standard networking. If servers hold 25-50 players, what map size is recommended? How big can I make a very detailed map before it is too big for effective gameplay? How…
Mingan Beyleveld
  • 281
  • 2
  • 5
  • 19
1
vote
2 answers

Multiple Return Type Syntax in Boo?

I'm trying to define a method in Boo which returns two things, but the compiler is spitting out the message: expecting "COLON", found ','. Here's how I tried defining the method: from System.Collections.Generic import HashSet # ValueParameter is…
ArtOfWarfare
  • 20,617
  • 19
  • 137
  • 193
1
vote
1 answer

Maze algorithm stack overflow

I'm trying to create a simple maze generator for my game, using the Recursive Division Method ( here ) But I'm getting stack overflow exceptions. (TBH, I'm really confused...) Here's the code (Boo Script): def slice_v(x as int, y as int, w as int,…
dcubix
  • 187
  • 2
  • 10
1
vote
2 answers

How can I show camera in scene in Unity 3d?

For a selfie option on my game, I need to create another camera (not a webcam view, but the camera that you can create by create->camera) and show it's view in a texture of a block (like in garry's mod, in projectors, you can project your view.). I…
ave
  • 287
  • 13
  • 27
1
vote
1 answer

Boo/C#: Returning a collection performance

I have a function that gets a collection by reference, iterates over it, constructs a new collection of the same length containing updated structs, returns that collection (or rather a reference to it, since it's Boo/C# code). I'm worried about…
Alisa D.
  • 134
  • 6
1
vote
1 answer

Failing to compile MonoGame on Boo compiler

SharpDevelop compiles fine, but trying to compile through booc doesn't work. Boo Compiler version 0.9.4.9 (CLR 2.0.50727.8000) Program.boo(4,8): BCE0021: Namespace 'Microsoft.Xna.Framework' not found, maybe you forgot to add an assembly…
Alisa D.
  • 134
  • 6
1
vote
1 answer

How to create nested macro in Boo

I am creating nested macros in Boo, I wrote this program: macro text: macro subMacro: text["Text"] = "Hello World" return [| block: System.Console.WriteLine( "Hello World" ); |] But I am getting the error "Unknown Identifer:…
Neo
  • 115
  • 1
  • 10
1
vote
1 answer

Boo: is the following code possible

Is there a situation when the following is a valid Boo statement: target "something" requires "something" where target and requires can be a macros/method/anything other (except for keywords)? This is a DSL question, so any language hack will do as…
Andrey Shchekin
  • 21,101
  • 19
  • 94
  • 162
1
vote
1 answer

Local variables inside lambda block in Boo

Given the following code for i in range(10): touchManager.AddButton( {t | _i = i; StartLevel(_i) } ) def StartLevel(level): print level I'd like the _i variable to hold the i value, but not beeing overwritten in the next iteration. How can i…
Diego Dorado
  • 398
  • 4
  • 12
1
vote
2 answers

Defining operators in Boo

I'm looking to move some of my lighter weight metaprogramming from Nemerle to Boo and I'm trying to figure out how to define custom operators. For example, I can do the following in Nemerle: macro @<-(func, v) { <[ $func($v) ]> } Then these…
Serafina Brocious
  • 30,433
  • 12
  • 89
  • 114
1
vote
1 answer

Does BOO run on WinRT (Windows 8 Apps)?

Can I compile BOO on WinRT for a Windows 8 App? Have you tried?
Andrea
  • 11
  • 1
1
vote
2 answers

Boo Reference Card?

I'm looking for a boo syntax sheet/reference card. A quick search on google and on boo's site didn't turn up anything, does anyone know where one is?
RCIX
  • 38,647
  • 50
  • 150
  • 207
1 2 3
8 9