v1.0 #2
Eng-AliKazemi
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Rustcript v1.0: Initial Public Release
We are thrilled to announce the first public release of Rustcript, a secure, embeddable scripting language designed to bring dynamic flexibility to the world of high-performance Rust applications.
This initial release marks a major milestone, offering a stable and feature-rich interpreter ready for integration. Rustcript was born from the need to decouple dynamic logic, like business rules, configurations, and event handlers, from the compiled core of an application. It empowers developers to adopt an "Engine vs. Brain" architecture, where the Rust "engine" handles heavy lifting, and the Rustcript "brain" can be updated on-the-fly without a single recompilation.
What is Rustcript?
Rustcript is a library-first scripting language with a clean, readable syntax. It allows you to execute external
.rcscript files from within your Rust application. Instead of hardcoding rules that change frequently, you can express them in simple scripts that can be modified and deployed independently, dramatically accelerating development cycles.Key Features in v1.0
This release includes a comprehensive set of features to provide a powerful and complete scripting experience:
x = 10), modern block-based control flow (if condition [...]), and clear command structures.if/else_if/else,match/case,while,for,foreach, andtry/catchfor robust logic.RustcriptObjecttrait allows you to safely expose your native Rust structs and their methods directly to the script, creating a powerful and type-safe bridge.import '...'and prevent naming collisions with namespaced imports (import '...' as MyModule).math,rand,json,os,io) and methods for core types provide extensive functionality out of the box.A Focus on Security
Security is not an afterthought; it is a core design principle of Rustcript.
os_access) and file system access (file_io) are disabled by default viaCargo.tomlfeature flags.file_iofeature is enabled, all file operations are confined to a secure sandbox directory, with built-in protection against path traversal attacks.Getting Started
git clone https://github.com/Eng-AliKazemi/Rustcript.git cd Rustcriptcargo build --release --features "os_access file_io"For detailed integration instructions and a full language reference, please see the Language Manual (
MANUAL.md).What's Included in this Release
/examplesdirectory, covering every feature of the language.tests/test_runner.rc) that validates the interpreter's functionality.README.md,MANUAL.md, and a dedicatedAI_INSTRUCTIONS.mdfor AI-powered development.The Future is Community-Driven
This v1.0 release is a stable foundation, but it's just the beginning. The future development of Rustcript will be shaped by its users. We encourage you to share your ideas, use cases, and feedback.
Thank you for your interest in Rustcript. We can't wait to see what you build with it
This discussion was created from the release v1.0.
Beta Was this translation helpful? Give feedback.
All reactions