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.
- Host: GitHub
- URL: https://github.com/starssxhfdmh/sald
- Owner: starssxhfdmh
- License: mit
- Created: 2025-12-14T05:49:30.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2025-12-25T03:51:49.000Z (about 2 months ago)
- Last Synced: 2025-12-26T16:04:08.049Z (about 2 months ago)
- Topics: async, custom-language, custom-programming-language, language, programming-language, rust, tokio
- Language: Rust
- Homepage:
- Size: 1.47 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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 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