百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

aria

> 编程语言
开源

Aria 编程语言

337 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Aria 编程语言

Aria: A Fresh, Safe, and Flexible Language for High-Level Development

Please read this post for the latest update on Aria.

Welcome to Aria. Aria is a modern, dynamic scripting language. It is meant to be a "sweet spot" language, easy to pick-up and with a good balance between ease of use, safety, and flexibility. Aria's design choices help you build great programs quickly.

Aria has modern, safer error handling: Aria replaces unreliable None pointer checks with a modern, multi-tiered approach to error handling. By emphasizing algebraic data types (e.g. Maybe), Aria makes errors explicit, safer, and easier to manage, with fewer runtime surprises.

null, the billion dollar mistake just does not exist in Aria, making code safer, easier to maintain and error handling more robust.

aria
func main() {
    val x = Int.parse("abc123");
    match x {
        case Ok(val) => {
            println("Parsed value: {0}".format(val));
        },
        case Err(err) => {
            println("Failed to parse integer: {0}".format(err));
        }
    }
}

Aria is memory safe from the start: Aria’s virtual machine, built on the Rust ecosystem, ensures memory safety out of the box, protecting you from common pitfalls like data corruption and security vulnerabilities. This lets you focus on building without worrying about risks you cannot manage.

Memory safety protects your code from issues such as memory corruption and dangling pointers. These issues can be hard to track down in large, complex systems. Aria brings these guarantees right from the start, so you can focus on building, not debugging.

Aria is designed for flexibility: Whether you need (some) type checks, an intuitive module system, or want to avoid the complexity of inheritance while still working with a modern object-based design, Aria adapts to your needs. It provides just enough structure to keep your code clean, without the overhead.

Aria’s object-based design uses composition instead of inheritance, which removes a lot of complexity from the language. This makes Aria easier to learn, your code easier to understand and maintain, and libraries more composable. Many parts of the Aria library adopt mixins to bring code reuse, and you can too.

aria
mixin Double {
    func double() {
        return this + this;
    }
}

extension Int {
    include Double
}

extension Float {
    include Double
}

func main() {
    println(3.double());
    println(3.14.double());
}

Aria has a simple yet usable standard library, with date/time handling, networking, file system access, JSON support and more.

aria
import Instant from aria.date.instant;

func main() {
    val now = Instant.now();

    println("The current date and time is: {0}".format(now));
}
aria
import JsonValue from aria.json.parser;

func main() {
    val json_data = JsonValue.parse('{"name": "Aria", "version": "0.9"}')!.flatten();
    println("Language: {0}, Version: {1}".format(json_data["name"], json_data["version"]));
}

Aria is currently supported on Linux and macOS. Contributions for other operating systems are welcome and encouraged!

A Taste of Aria

Aria is easy to learn. Here's a quick example that fetches data from a web API and prints the result.

In this example, Aria fetches user data from GitHub’s API and prints the number of public repositories for a given user. This shows how simple it is to interact with external APIs and handle dynamic data in Aria.

…

Running this is as simple as:

bash
$ aria github_user.aria
User egranata has 5 public repositories.

Getting Started

Ready to try Aria? Want to contribute to the language? Great! Whether you’re fixing bugs, adding features, or improving the documentation, we’d love your help!

If it's your first time contributing, check out good starter bugs or help wanted on GitHub.

For all this and more, visit our website!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbytecodecompilercompilersgood-first-issue

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言