An open API service indexing awesome lists of open source software.

https://github.com/starssxhfdmh/sald

A modern dynamic programming language built with Rust.
https://github.com/starssxhfdmh/sald

async custom-language custom-programming-language language programming-language rust tokio

Last synced: 29 days ago
JSON representation

A modern dynamic programming language built with Rust.

Awesome Lists containing this project

README

          


Sald Logo

Sald


A modern dynamic programming language built with Rust.


Documentation
Package Manager
Playground

---

## Features

- Class-based OOP with inheritance
- Async/await for asynchronous programming
- Rich standard library (File, Http, Json, System, Process, etc.)
- Package manager (`salad`)
- Language server (`sald-lsp`)
- Interactive REPL

## Installation

### Quick Install

**Linux:**
```bash
curl -fsSL https://raw.githubusercontent.com/starssxhfdmh/sald/master/install.sh | bash
```

**Windows:**
```powershell
irm https://raw.githubusercontent.com/starssxhfdmh/sald/master/install.ps1 | iex
```

### Build from Source

```bash
git clone https://github.com/starssxhfdmh/sald.git
cd sald && cargo build --release
```

## Quick Start

```bash
# Run a script
sald script.sald

# Start REPL
sald

# Create new project
salad new my-project
```

## Example

```sald
class Greeter {
fun init(self, name) {
self.name = name
}

fun greet(self) {
Console.println($"Hello, {self.name}!")
}
}

let g = Greeter("World")
g.greet()
```

## Benchmarks


Sald vs Python Benchmark


Sald vs Python performance comparison

## Resources

- [Documentation](https://starssxhfdmh.github.io/sald-docs/) — Complete language reference
- [Package Manager](https://saladpm.vercel.app) — Browse and publish packages
- [Playground](https://starssxhfdmh.github.io/sald-playground) — Try Sald in your browser

## License

MIT License