Popularity
3.9
Growing
Activity
2.2
-
311
15
25

Programming language: C#
License: MIT License
Tags: Compilers    
Latest version: v0.7.0

Mond alternatives and similar packages

Based on the "Compilers, Transpilers and Languages" category.
Alternatively, view Mond alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Mond or a related project?

Add another 'Compilers, Transpilers and Languages' Package

README

Features

Trying it

You can try it in your browser! If you're interested, the backend code for that website is available here.

The Mond REPL in action

Alternatively, the Mond REPL is available as a dotnet tool:

dotnet tool install -g Mond.Repl

Example

const Seq = require("Seq.mnd");

const randomApi =
    "https://www.random.org/decimal-fractions/?num=1&dec=9&col=1&format=plain";

Async.start(seq() {
    // concurrently request for 10 random numbers
    var numberTasks = Seq.range(0, 10)
        |> Seq.select(() -> Http.getAsync(randomApi))
        |> Seq.toArray();

    // wait for all the requests to finish
    var numbers = yield Task.whenAll(numberTasks);

    // parse and sum the numbers
    var total = numbers
        |> Seq.select(s -> Json.deserialize(s))
        |> Seq.aggregate(0, (acc, n) -> acc + n);

    printLn("average = {0}".format(total / 10));
});

Async.runToCompletion();

Install

Mond is available on NuGet. To install it, use the following command in the Package Manager Console.

PM> Install-Package Mond

The remote debugger is also available on NuGet.

PM> Install-Package Mond.RemoteDebugger

Syntax highlighting and debugging functionality is provided in Visual Studio Code with the Mond VSCode extension.

Documentation

Please check the wiki for documentation.

Build Status

Build status