https://github.com/zed-coding/zed-lang
A Modern, type-safe and super fast programming language.
https://github.com/zed-coding/zed-lang
language proglang programming rust zed
Last synced: 7 months ago
JSON representation
A Modern, type-safe and super fast programming language.
- Host: GitHub
- URL: https://github.com/zed-coding/zed-lang
- Owner: zed-coding
- License: apache-2.0
- Created: 2025-02-15T11:56:05.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-02-22T17:25:59.000Z (10 months ago)
- Last Synced: 2025-02-22T18:18:34.769Z (10 months ago)
- Topics: language, proglang, programming, rust, zed
- Language: Rust
- Homepage: https://zedcode.dev
- Size: 193 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Zed Programming Language
[](https://github.com/zed-coding/zed-lang/graphs/contributors)
[](https://github.com/zed-coding/zed-lang/stargazers)
[](https://github.com/zed-coding/zed-lang/issues)
[](https://github.com/zed-coding/zed-lang/blob/main/LICENSE)
[](https://github.com/zed-coding/zed-lang/releases)

A simple programming language that compiles to x86_64 assembly, featuring functions, control flow, strings, and basic arithmetic operations.
## Quick Start
```bash
# Clone the repository
git clone https://github.com/zed-coding/zed-lang
cd zed-lang
# Build everything
make
# Create a new project
zed new my-project
cd my-project
# Write some code in src/main.zed
println("Hello from Zed!\n");
# Build and run
zed run
```
## Features
- Simple and clean syntax
- Functions with recursion support
- Control flow (if/else, while)
- String literals with escape sequences
- 64-bit integer arithmetic
- Top-level code execution
- Detailed error messages
## Example
```zed
fn factorial(n) {
if (n < 2) {
return 1;
}
return n * factorial(n - 1);
}
println("Calculating factorial of 5:\n");
result = factorial(5);
println(result);
println("\n");
```
## Documentation
For detailed information about the language, build system, and tools, see [docs/docs.md](docs/docs.md).
## Contributing
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details on how to:
- Build from source
- Submit changes
- Report issues
- Add features
- Improve documentation
## Prerequisites
- Rust compiler and Cargo
- GNU Assembler (as)
- GNU Linker (ld)
## VS Code Extension
Install our VS Code extension for:
- Syntax highlighting
- Bracket matching
- Auto-closing pairs
- Comment toggling
- Multi-line comment support
## License
This project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details.
Copyright 2024 The Zed Programming Language Authors.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you shall be licensed under the Apache License, Version 2.0, without any additional terms or conditions.
## Project Status
Zed is currently in active development. While it's stable enough for learning and experimentation, we recommend against using it in production environments at this time.
## Author
Voltaged (VoltagedDebunked)
Email: rusindanilo@gmail.com