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
0
votes
1 answer

How to Deserialize in Boo language

Why does the second line give an error? items = serializer.DeserializeObject(json) value = items ["key"] Error: Type 'object' does not support slicing. (BCE0048) I tried various ways to indicate that "items" is a dictionary, to no avail.
Jim Lewis
  • 349
  • 2
  • 14
0
votes
0 answers

Unity javascript array problems

I have next code var D3s = new Array(9); var D3n: float[]; result = Mine(result); function Mine(block) { D3n = new float[5]; var init = false; if (block.startsWith("##new#")) { block = block.replace("##new#", ""); init =…
Oleg D
  • 109
  • 7
0
votes
1 answer

Display text in progessbar when width is 0

I am using Bootstrap 4.0.0 alpha 6: I don't understand why when the width of my progressbars are set to 0, that I still see some of the progress bar. How can I still show the text but not the bar if it is 0? .resume { width: 816px; …
TroyPilewski
  • 359
  • 8
  • 27
0
votes
1 answer

Debug Boo in Visual Studio

I just recently played with Rhino DSL and created a simple DSL using Boo. When I debugged my first code I was quite suprised to find out, that while debugging I was actually stepping through the boo file as well. That is awesome! This was with…
nyn3x
  • 909
  • 1
  • 11
  • 28
0
votes
1 answer

Isn't a DSL another name for an app which solves a particular problem?

I am learning boo (got the ebook), but one question I have is what exactly is a DSL? Better question, if a DSL is geared towards a specific problem, then isn't it just another name for really an application space (e.g. Word Processing, DBMS, maths…
GurdeepS
  • 65,107
  • 109
  • 251
  • 387
0
votes
2 answers

Bootstrap modal images not working - Multiple

I just followed w3school tutorial for this bootstrap modal image. I have two image cards in my page. So I need to popup that two images. But it's working with one image only. Link to w3school article
Janath
  • 1,218
  • 4
  • 26
  • 53
0
votes
1 answer

Typed list comprehensions in Boo?

I can't seem to grok the correct way to get a properly typed list comprehension in boo. Since the compiler works by inference I'd expect that in this example: fred as (int) fred = (1,2,3) # fred is an array of ints barney = [i for i in fred] the…
theodox
  • 12,028
  • 3
  • 23
  • 36
0
votes
0 answers

Boo string interpolation not working

I downloaded the latest build of Boo this morning, and I'm trying to get started with the language. One of the features I need for my use case is Boo's string interpolation. However, I haven't been able to get it to work at all. Here's my test code…
Terry Lewis
  • 397
  • 2
  • 8
0
votes
1 answer

How to use variables from UnityScript in Boo?

I've been trying to implement this but without any success. While I was googling around I saw that this is somehow possible but I can't reach it by myself obviously. This my file…
Amar Kalabić
  • 888
  • 4
  • 15
  • 33
0
votes
1 answer

InvalidCastException: Cannot cast from source type to destination type

I have fetched the data from xml and stored it in an array.I have coded as below Private var dataarray=new Array(); private var timearray=new Array(); private var distancearray=new Array(); private var detailStock : String; private var distancedata…
user1509674
  • 133
  • 1
  • 9
0
votes
1 answer

Boo Lists - Cast to (int)?

I attempted to follow this tutorial which was originally written for UnityScript, but to use Boo instead: http://docs.unity3d.com/Manual/Example-CreatingaBillboardPlane.html Here's what I tried: import UnityEngine class CreateMesh (MonoBehaviour):…
ArtOfWarfare
  • 20,617
  • 19
  • 137
  • 193
0
votes
3 answers

failed to start service on boot

my App has a camera photo backup service. When user turned on the service, it will automatically backup sd-card photos to remote server. But when user shut down android OS and boot again, the backup service failed to start again. I read many…
Logan Guo
  • 865
  • 4
  • 17
  • 35
0
votes
1 answer

Eval error in unity

In the same place this works: Debug.Log(gameObject); And this produces BCE0020: Boo.Lang.Compiler.CompilerError: An instance of type 'UnityEngine.Component' is required to access non static member 'gameObject'. eval("Debug.Log(gameObject);"); This…
user2136963
  • 2,526
  • 3
  • 22
  • 41
0
votes
1 answer

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…
Bergius
  • 949
  • 6
  • 14
0
votes
2 answers

Object rotation script failing(Unity3d, Boo)

I'm trying to create a security camera that pans back and forth in a game I've been building. For some reason it just keeps rotating and never reverses direction. I tried it with transform.eulerAngles.y as well with no success and couldn't find…
1 2 3
8
9