Logo Lanfrica

AsseySilivestir/swahiliscript

Domaine:

natural language processing

Type de record:

software
Créateur:
Ass
Hôte:
KiswahiliScript - A Swahili programming language with full-featured IDE # Bantu **A modern, high-performance programming language** Founded by Silivestir Peter Assey from Tanzania --- Bantu is a clean, expressive programming language with a tree-walking interpreter built in C++17. It features a familiar syntax inspired by JavaScript and Python, with built-in support for web development through the **sua** framework. The language is designed to be fast, simple, and approachable — whether you are building scripts, APIs, or learning to program for the first time. ## Features - **Clean Syntax** — Familiar keywords (`def`, `if`, `for`, `each..in`, `print`) with optional type annotations - **Fast Interpreter** — Built with C++17, optimized with `-O3 -flto -march=native` - **Built-in Web Framework** — `sua` for HTTP servers with `sua.get`, `sua.post`, `sua.start`, and more - **Interactive REPL** — Run `bantu` with no arguments for an interactive shell - **Standalone Executables** — `bantu build` creates self-contained runnable scripts - **VS Code Extension** — Syntax highlighting, code snippets, hover docs, and run commands - **Cross-Platform** — Works on Linux, macOS, and Windows ## Quick Start ### Install from Source ```bash git clone github.com cd swahiliscript/compiler mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make -j$(nproc) sudo make install ``` ### Or use the install script ```bash curl -fsSL raw.githubusercontent.com | bash ``` ### Run Your First Program ```bash # Create a new project bantu init myproject cd myproject # Run it bantu run main.b # Build a standalone executable bantu build main.b ``` ## CLI Commands | Command | Description | |---------|-------------| | `bantu` | Start the interactive REPL | | `bantu run ` | Run a Bantu file | | `bantu run` | Run `main.b` in the current directory | | `bantu build ` | Compile to a standalone executable | | `bantu build` | Build `main.b` in the current di …

Licenses