https://github.com/lume-lang/lume
🌙 Comfortable and succinct programming language. Type-safe, expressive and to the point.
https://github.com/lume-lang/lume
compiler expressive programming-language statically-typed
Last synced: 21 days ago
JSON representation
🌙 Comfortable and succinct programming language. Type-safe, expressive and to the point.
- Host: GitHub
- URL: https://github.com/lume-lang/lume
- Owner: lume-lang
- License: mit
- Created: 2025-03-08T13:55:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-25T13:09:22.000Z (25 days ago)
- Last Synced: 2026-02-25T16:56:53.231Z (25 days ago)
- Topics: compiler, expressive, programming-language, statically-typed
- Language: Rust
- Homepage:
- Size: 4.4 MB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🌙 Lume
Lume is a lightweight yet powerful programming language designed for simplicity and efficiency. It's syntax is intuitive, making it easy for developers to pick up and start building applications quickly.
## Examples
Here's a quick glimpse of Lume's capabilities:
A simple hello-world application:
```lm
import std::io (print)
fn main() {
print("Hello, World!");
}
```
Types can also be defined with `struct`:
```lm
import std::io (print)
struct Counter {
value: Int32;
}
impl Counter {
pub fn new() -> Counter {
return Counter { value: 0 };
}
pub fn increment(self) {
self.value++;
}
pub fn decrement(self) {
self.value--;
}
pub fn value(self) -> Int32 {
return self.value;
}
}
fn main() {
let counter = Counter::new();
counter.increment();
print("Value: {0}", counter.value());
counter.decrement();
print("Value: {0}", counter.value());
}
```
# License
The repository defines the reference compiler for Lume and is licensed under the [MIT License](./LICENSE.md).