Repository navigation
CarbonLangV0.01 Alpha Release
Pre-release๐ Carbon Lang โ First Public Binary Release
Say hello to Carbon Lang โ a lightweight, expressive, and beginner-friendly programming language designed with simplicity and readability at its core. This binary release lets you run Carbon programs directly from your terminal or shell without needing to build from source.
๐ ๏ธ Features in this Release
- Intuitive Syntax: Inspired by the best of Rust, C, and Python.
println!andprintn!macros for easy output handling.var_ckeyword for clean and consistent variable declarations.- Full support for:
- Integers (
int) - Floating-point numbers (
float) - Characters (
char) - Conditional logic (
if,else if,else)
- Integers (
- Readable, expressive code โ perfect for learning and rapid prototyping.
๐ฆ What's Inside?
- โ
Precompiled binaries for:
- Windows (x64)
- Linux (x64)
- macOS (Intel & Apple Silicon)
- ๐ Sample
.carbonprogram file to get started. - ๐ README and Quickstart Guide included.
๐ Example Code
println! "Hello, Carbon"
var_c a = 6
var_c b = 5
if a > b {
printn! "Hi, this works "
println! "Carbon is awesome"
}
else {
println! "5.8 lies in between 5 and 6"
}โก How to Use
- Download the binary for your platform from the Releases section.
- Make the binary executable (Linux/macOS):
chmod +x carbon- Run your Carbon file:
./carbon your_program.carbon- You can also drag and drop your
.carbonfile into the terminal if you're using graphical interfaces.
๐ฎ Roadmap (Next Features)
We're building Carbon Lang to be expressive, safe, and powerful. Hereโs whatโs coming soon:
- Function declarations and return types
- Loops:
for,while - Structs & custom types
- Type inference system
- Error handling (
try,catch) - Standard library modules
- CLI flags & REPL support
- Integration with text editors (VS Code extension in progress)
- Package manager (
carbonpkg)
๐ค Contributing
We'd love your input!
- Found a bug? Open an issue.
- Want to add a feature? Submit a pull request.
- Ideas, feedback, or just want to talk about Carbon? Join the discussion in Issues or Discussions tab.
๐ฌ This is a community-driven project, and your contributions can shape what Carbon becomes.
๐ License
This project is released under the MIT License.
Feel free to use it, modify it, and share it โ with proper attribution.
โจ Final Words
Carbon Lang is about minimal syntax and maximum clarity. Whether you're a student, hacker, or creative developer, Carbon gives you a simple yet powerful tool to bring your logic to life.
๐ Try it today. Build something brilliant.