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
mkdir ./build # make build directory
cmake -S ./ -B ./build # generate make file to build directory
cd build && make # compile loli
Then in the build directory you can find files: loli
& libloli.so
(loli.exe
& libloli.dll
on Windows)