TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Ad Astra – scripting language platform for Rust

6 点作者 Eliah_Lakhin9 个月前
Ad Astra is a dynamically typed scripting language designed for embedded use in Rust programs.<p>It belongs to the same category as languages like Rhai and Rune, where developers expose APIs implemented in Rust to a dynamic, domain-specific scripting environment, enabling a rapid edit-compile-run cycle.<p>Informally, you might think of Ad Astra as a &quot;Lua&quot; for Rust.<p>Such systems have many applications, including the development of plugin platforms based on scripts for video game engines.<p>Ad Astra primarily focuses on ergonomics, both for the scripting platform developer and the script user:<p>1. For the platform developer, Ad Astra&#x27;s API offers a convenient macro system for exporting APIs into the script engine. In many cases, you can export Rust APIs as they are, without changes and without the need to maintain an extra abstraction layer.<p>2. For the script user, the platform provides an advanced IDE environment through the built-in LSP language server. This environment helps the user develop script source code and explore exported APIs.<p>You can try Ad Astra&#x27;s features in the interactive Playground on the project&#x27;s website: <a href="https:&#x2F;&#x2F;ad-astra.lakhin.com&#x2F;playground.html" rel="nofollow">https:&#x2F;&#x2F;ad-astra.lakhin.com&#x2F;playground.html</a>.<p>Feedback is much appreciated, and I&#x27;ll be glad to answer any questions.<p>Ilya

1 comment

trevyn9 个月前
Proprietary license? What is this, 1990?