A lightweight, expressive scripting language with Python-like syntax, built in Rust.
NOTE:
Lucia is not done yet. Anything can change at any moment.
Lucia is built to be clean, expressive, and simple to learn -
but with enough depth to handle serious scripting needs.
It's designed for speed and safety, without sacrificing elegance.
- Clean, easy-to-read syntax inspired by Python and Lua (Kotlin too)
- Static types
- No abstraction for references - everything is explicit
- Entirely written in Rust for reliability and speed
- Designed to run efficiently across all major platforms
- Beginner-friendly, while allowing advanced usage
- Integrated package manager Lym
- Open source under GPLv3
- Introduction
- Installation guide
- Config guide
- Syntax
- C FFI
- Embedding
- Examples
- Conventions
- Standard libraries API
- REPL Guide
- Versioning
- Contributing guide
- Changelog
- Known issues/bugs
- TODOs
Lucia runs at 375 hello worlds per second in debug, or 712 in release.
For more benchmarks refer to benchmarks.md
If you don't want to donate, but still want to help:
- Star the repository
- Contribute to the codebase
- Report issues or suggest features
- Share the project with others
- Rewrite to Rust
- Optimize lexer
- Optimize AST
- Optimize parser
- Optimize function calls
- Optimize interpreter
- Do all TODOs
Tested on:
Built on:
Join us on Discord: discord.gg/placeholder-rn
Check out the legacy (Python) version of Lucia:
SirPigari/lucia
This project is licensed under the GPLv3 License.