Embedded programming language
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
}
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!
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 is available at https://loli-foundation.github.io/loli/
You can find examples at https://github.com/loli-foundation/loli-examples