Awesome
<h1 align="center"> <img src="docs/static/img/logo.svg" height="180px" style="height: 180px" alt="Lesma Programming Language" title="Lesma Programming Language"> <br> Lesma </h1> <div align="center"> </div>Lesma is a compiled, statically typed, imperative, and object-oriented programming language with a focus on expressiveness, elegance, and simplicity without sacrificing performance.
š Features
- š Fast Compilation: compiling at a rate of ā230k loc/s, because waiting for code to compile is a thing of the past
- ā” Blazing Fast Execution: because it should be, it's as fast as C, using LLVM's state-of-the-art optimizations, but it won't ever oblige you to make an extra effort just for the sake of performance
- š¬ Statically Typed: because IDE completion is like heaven, while unknown behaviour and runtime exceptions are like hell
- š§āšØ Simple: because the code should be easily readable, and it shouldn't make you guess what it does or take long to learn
āļø Example
š Documentation
Installation
Every Lesma release contains archives with the binary and standard library which you can grab. Alternatively, you can use the installer script to do all the work for you. The get-lesma.sh script downloads and installs the latest release.
Run the following in your terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/alinalihassan/Lesma/main/scripts/get-lesma.sh)"
š§ Build
In order to build Lesma, you need Clang and LLVM 15 installed. It's currently only supported on Linux and macOS. For a more comprehensive guide, and more information on how to install the prerequisites, read the documentation on Getting Started
- Clone the repository
git clone https://github.com/alinalihassan/Lesma
- Run CMake to configure the build
cmake . -Bbuild cmake --build build
š¬ Contributing
Pull requests are welcome. For major changes, please open an issue to discuss your proposal and what you'd like to change.
- To keep updated with releases, consider starring the project.
- Check the code of conduct and contributing guidelines
š License
This software is licensed under the MIT Ā© Alin Ali Hassan.