https://github.com/andrey-moura/lavi
The Lavi is an interpreted object-oriented multi-purpose programming language
https://github.com/andrey-moura/lavi
brasil brazil compiler interpreter lexer programming-language
Last synced: 16 days ago
JSON representation
The Lavi is an interpreted object-oriented multi-purpose programming language
- Host: GitHub
- URL: https://github.com/andrey-moura/lavi
- Owner: andrey-moura
- License: mit
- Created: 2024-10-19T02:40:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-05-23T13:28:12.000Z (28 days ago)
- Last Synced: 2026-05-23T14:27:40.697Z (28 days ago)
- Topics: brasil, brazil, compiler, interpreter, lexer, programming-language
- Language: C++
- Homepage: https://lavi-lang.org
- Size: 7.13 MB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Lavi programming language
An interpreted object-oriented multi-purpose programming language
## Table of Contents
* [Examples](#Examples)
* [Availability](#Availability)
* [Install](#Install)
* [Install VSCode extension](#Install-VSCode-extension)
* [Building](#Building)
* [Building with UI enabled](#Building-with-UI-enabled)
* [The Language specification](./SPECIFICATION.md)
## Examples
If you want to run examples, try:
```sh
lavi examples/minimal.lv
```
This file has the content:
out 'Hello from minimal!'
The result is:
```
Hello from minimal!
```
## Availability
Environment | Build
--- | --- |
Ubuntu 22.04 | [](https://github.com/andrey-moura/lavi/actions/workflows/build-ubuntu-22.04.yml)
Ubuntu 24.04 | [](https://github.com/andrey-moura/lavi/actions/workflows/build-ubuntu-24.04.yml)
Windows Server 2022 | [](https://github.com/andrey-moura/lavi/actions/workflows/build-windows-2022.yml)
WebAssembly | [](https://github.com/andrey-moura/lavi/actions/workflows/build-wasm.yml)
## Install
### Installation from lavi.org
#### Under Linux
```sh
wget --content-disposition lavi.org/releases/lavi/latest
sudo dpkg -i lavi-x.x.x.deb
```
#### Under Windows
Download https://lavi.org/releases/lavi-installer/latest and run it.
### Install VSCode extension
Download the VSIX file from the https://lavi.org/releases/lavi-vscode/latest and follow the instructions available in the [Install from a VSIX](https://code.visualstudio.com/docs/configure/extensions/extension-marketplace#_install-from-a-vsix).
## Building
On Linux or Windows Developer Command Prompt
```sh
git clone https://github.com/andrey-moura/lavi --recursive
cd lavi
cmake -DCMAKE_BUILD_TYPE=Release -B build .
cmake --build build --config Release --parallel
```
After building, run as sudo on Linux or with an Administrator Command Prompt on Windows
```sh
cmake --install build
```
### Building with UI enabled
The UI is enabled by default.