On Mon, Jan 12, 2009 at 4:11 PM, Charles Oliver Nutter
<[email protected]> wrote:
> ...
> Wow that's awesome...
Yeah :)
> can you give an overview of Boo for our friendly
> readers?
Sure.
Boo is a wrist friendly statically typed language with optional
dynamic typing and a special focus on meta-programming.
Wrist friendlyness comes in the form of a heavily python inspired
syntax (significant whitespace and all), type inference, support for
features such as closures, first class functions and generators with a
lot of sugar on top.
On the meta-programming front boo supports a few different strategies
of which the most commonly used are macro definitions:
macro assert:
condition, = assert.Arguments
yield [| raise
java.lang.IllegalStateException($(condition.ToCodeString())) if not
$condition |]
The [| ... |] thingie is a code literal (quasi-quotation) and $ is the
code splicing operator.
The syntax itself can be redefined and extended through the new OMeta
based parsing infrastructure
(http://blogs.codehaus.org/people/bamboo/archives/001722_boo_ometa_and_extensible_parsing_i.html).
Boo is a language playground.
> It meets several goals I've had for Duby, which would mean I
> might not have to implement them :)
Nice :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---