Lit is a dynamicaly-typed language, inspired by highly-hackable Lua and familiar C-styled JavaScipt. You can try it out in your browser!
|Arrays start from||1||0||0|
|Easy to embed||Example|
|Syntax sugar like
Sounds good? Check out some challenge solutions or try lit for yourself!
Lit has no external dependencies (besides Emscripten, but that's only for the HTML5 builds), so you will only need gcc, make & cmake.
On linux, you will also need to install libreadline:
sudo apt-get install libreadline6-dev
git clone https://github.com/egordorichev/lit/ && cd lit git submodule init git submodule update cmake . make sudo make install
That should install lit, and you should be able to access it from the console. Let's write our first program:
Just run it, and you should see the familiar message in your terminal:
That's it! If you want to learn more about lit, visit the wiki!
If you want syntax highlighting in Visual Studio Code, see lit-vscode.
This is not the first version of lit. And not second. Sadly, most of the versions got lost along the way, but you still can checkout previous version of lit, that was staticly-typed!