 Mond
==========

Mond is a simple scripting language written entirely in C#. It supports advanced features like:
* [sequences](https://github.com/Rohansi/Mond/wiki/Sequences) ([generators](http://en.wikipedia.org/wiki/Generator_(computer_programming)))
* [list comprehension](https://github.com/Rohansi/Mond/wiki/List-Comprehension)
* lambda expressions
* prototype-based inheritance
* [simple embedding](https://github.com/Rohansi/Mond/wiki/Basic-Usage)
* sane variable scopes

### Documentation
Please check [the wiki](https://github.com/Rohansi/Mond/wiki) for documentation.

### Example
```
seq range(start, end) {
    for (var i = start; i <= end; i++)
        yield i;
}

fun where(list, filter) -> [x : x in list, filter(x)];
fun select(list, transform) -> [transform(x) : x in list];

fun toArray(list) {
    var array = [];

    foreach (var value in list) {
        array.add(value);
    }

    return array;
}

return range(0, 1000)
       |> where(x -> x % 2 == 0)
       |> select(x -> x / 2)
       |> toArray();
```

 Mond
==========

Mond is a simple scripting language written entirely in C#. It supports advanced features like:
* [sequences](https://github.com/Rohansi/Mond/wiki/Sequences) ([generators](http://en.wikipedia.org/wiki/Generator_(computer_programming)))
* [list comprehension](https://github.com/Rohansi/Mond/wiki/List-Comprehension)
* lambda expressions
* prototype-based inheritance
* [simple embedding](https://github.com/Rohansi/Mond/wiki/Basic-Usage)
* sane variable scopes

[![Build status](https://ci.appveyor.com/api/projects/status/di5tqqt73bu6aire)](https://ci.appveyor.com/project/Rohansi/mond)

### Documentation
Please check [the wiki](https://github.com/Rohansi/Mond/wiki) for documentation.

### Example
```
seq range(start, end) {
    for (var i = start; i <= end; i++)
        yield i;
}

fun where(list, filter) -> [x : x in list, filter(x)];
fun select(list, transform) -> [transform(x) : x in list];

fun toArray(list) {
    var array = [];

    foreach (var value in list) {
        array.add(value);
    }

    return array;
}

return range(0, 1000)
       |> where(x -> x % 2 == 0)
       |> select(x -> x / 2)
       |> toArray();
```

Add AppVeyor status badge to readme
Add AppVeyor status badge to readme