Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Anyone ever heard of this language (http://www.programmingforums.org/showthread.php?t=12901)

crawforddavid2006 Mar 29th, 2007 1:39 AM

Anyone ever heard of this language
 
I have #Develop 2.0 and it gives me the option to program in a language called "Boo" anyone heard of it?

Arevos Mar 29th, 2007 5:10 AM

Yep. It's a .NET language with a language similar to Python. Some interesting features of note:

1. Comprehensions and generators, i.e.
:

children = [person for person in person if person.Age < 18]

2. Anonymous blocks (i.e. anonymous delegates or lambda expressions):
:

list = map({ x | x + 1 }, [1, 2, 3, 4])    # -> [2, 3, 4, 5]

3. Type inference:
:

list = (1, 2, 3, 4)    # list is automatically defined as int[]

4. User-defined macros that can alter the ASTs of their enclosed blocks:
:

addfootoallstrings:
    print "hello"    # prints "foohello"

Boo is nice, but it's a little rough around the edges at times, and has some syntactical curiosities where you think something should parse, but doesn't. That said, it's still only at version 0.7.x, and the parser itself is very well written and easy to extend.


All times are GMT -5. The time now is 2:03 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC