boo

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 resources for learning about these things other than studying the source code? ...

Boo - Excel Automation, trouble selecting ranges

Hi All, I'm investigating Boo and thought it would be a useful exercise to try converting a couple of venerable VB Scripts that automate Excel (2007, in this instance). A lot of things seem to translate very easily, however I'm having a huge amount of trouble selecting ranges - whenever I try to get or set them I get a TargetInvocationE...

How to escape identifiers in Boo?

If I have an identifier with a same name as existing keyword, how do I escape it? ...

Is WSA compiler in BOO safe to use?

In our program we use boo as macro system about 2 years. All works like a charm, but python syntax is weird for newcomers. As I know boo has white space agnostic (WSA) compiler with ruby like syntax: instead of def Hello(): print 'Hello' you can write: def Hello(): #notice colon!!! print 'Hello' end here is ideal :) def Hello() ...

Boo Constructor Chaining

In C# when I want to chain constructors together I'd do this... public class OperationMacro : GeneratePropertyMacro { public OperationMacro() : base("Operation") { //Whatever else I need to do... } } What is the equivalent syntax in Boo? ...

Is it possible to save a dynamic assembly to disk?

I recently bought Ayende's book Building DSLs in Boo (buy it, read it, it's awesome) but I'm coming up against an implementation problem and I want to see what the generated code looks like. I would normally use reflector to look at the code but in this case the assemblies are dynamic and only in memory. Is there a way to save dynamic ...

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 long as it compiles. ...

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 one line box at the bottom for input, much like the program irssi (the IRC client) does. I...

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 doesn't know what type the value in the hash is. Is there any way I can declare to the compil...

How to create nested macro in BOO

Hi, 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: 'text'" in the 3rd line of the code. ...

How stable and mature is Boo?

I had a look at Boo and it looks pretty awesome! I'm just curious about how stable it is at this stage? I mean, would you consider using it in real live production code? ...

Compiling Ayende's Binsor with trunk Boo

I'm trying to update our references, including Boo. When compiling Binsor, I'm getting a bunch of errors, which I'm hacking away one at a time. After much source browsing and googling, I'm unable to figure out how to fix the following line (TransformUnknownReferences.cs, line 115): ExternalConstructor constructor = new ExternalConstruct...

Can a Domain Specific Language (DSL) be localized?

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 month. Dutch users might write weekdagen tussen 10 en 11 behalve op de eerste maandag van de ...

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 complicated to enable us to push this responsibility out to support partners. Any suggesti...

Python3 function annotations for type hinting versus Boo

I've started on a medium-sized project in python, and I decided to use python 3 because I'm not using any large external libraries and py3k has some nice new syntactic sugar and more importantly function annotations. However, it seems like none of WingIDE, Pydev, or pycharm actually have any support for type hinting using function annota...

Boo, garbage collector

does Boo have a garbage collector? what type? ...

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 in boo? ...

Which programming language(s) does Windows Phone 7 (WP7) support?

As I recall, WP7 supports C# but does not support any of the .Net dynamic languages (Ruby or Python). Are any other programming languages besides C# supported? Could an app be developed using Boo? ...

Windows Mobile device states that the assembly System.Windows.Forms 2.0.0.0 cannot be found.

I am a newbie to .NET programming and I'm trying to create a simple Windows Forms application for a Windows Mobile device using the .NET Compact Framework 2.0. I develop using Boo and using Nant to build my application. My application compiles but it won't run. When I launch the application on my devices it states that the assembly Syste...

Optimal language to develop with Unity?

Hello everyone. I would like to ask you all about the Unity framework and programming. Unity supports three different languages; Boo, C# and JavaScript. Say you were new to programming and developing on OS X. What is the best language to learn and use alongside Unity to create games? ...