/loli

The Loli programming language

Primary LanguageCMIT LicenseMIT

Loli logo

Loli

Embedded programming language

Build Status

fn range(start: Integer, end: *Integer = -1): List[Integer]
{
    var result: List[Integer] = []
    if end == -1: {
        end = start
        start = 0
    }
    for n in start...end:
    {
        result.push(n)
    }
    return result
}

Make everything, it will work everywhere

Loli applications can run in any operation system and architecture. It can be embedded into HTML code and be used to make wonderfull websites.

Write once. Run everywhere!

Building from sources

Compiling depends make and CMake 3.6 or later

cmake -S ../ -B ./          # generate make file to build directory
make                        # compile loli

Then in the directory you can find files: loli & libloli.so (loli.exe & libloli.dll on Windows)

Documentation

Documentation is available at https://loli-foundation.github.io/loli/

Examples

You can find examples at https://github.com/loli-foundation/loli-examples