From f5c9fde94a52bc7305a1685099ff55fbea0a7d7a Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 16 May 2026 11:21:44 +0200 Subject: [PATCH 1/4] Updated lib version --- content/docs/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/index.mdx b/content/docs/index.mdx index e57b7a3..a3906e4 100644 --- a/content/docs/index.mdx +++ b/content/docs/index.mdx @@ -11,7 +11,7 @@ Mist is currently distributed as a Cargo crate. To get started, you'll need to h Run the following command to install the Mist compiler: ```bash title="Terminal" -cargo install mist-lang@0.0.1-alpha2 +cargo install mist-lang@0.0.2-alpha0 ``` Once the installation finishes, verify it by checking the version: From feda2a3a55206ef92303666fbeaaa77b22b5366c Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 16 May 2026 11:31:17 +0200 Subject: [PATCH 2/4] Updated commands and export syntax --- content/docs/components/functions.mdx | 7 +++++++ content/docs/index.mdx | 29 +++++++++++++++------------ 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/content/docs/components/functions.mdx b/content/docs/components/functions.mdx index 975cb0b..449deeb 100644 --- a/content/docs/components/functions.mdx +++ b/content/docs/components/functions.mdx @@ -30,6 +30,13 @@ pub i32 get_version() { } ``` +You can also point to a specific point (super or crate, or a custom path): +```mist +pub(crate) i32 get_version() { + return 1; +} +``` + ## Mutable Parameters Parameters follow Rust’s ownership rules but use Mist’s local variable syntax. Use `mut` to allow a function to modify its local binding of a value. diff --git a/content/docs/index.mdx b/content/docs/index.mdx index a3906e4..dc64003 100644 --- a/content/docs/index.mdx +++ b/content/docs/index.mdx @@ -72,26 +72,29 @@ void main() { ### Build and Run -To turn your Mist code into an executable, use the `build` command: +To turn your Mist code into an executable, use the `run` command: ```bash title="Terminal" -mist build -``` - -Once the build is successful, you can run your program using standard Cargo commands: - -```bash title="Terminal" -cargo run +mist run ``` > **Pro Tip:** If you encounter any rust errors, head to the build directory and analyze the output, if you see anything unusual in the output, report the issue at https://github.com/mist-go/mist +Or if you only want to transpile to rust + +```bash title="Terminal" +mist transpile +``` + + --- ## Command Reference -| Command | Description | -| -------------- | ---------------------------------------------------------------- | -| `mist build` | Compiles your `.mist` files into Rust code in the output folder. | -| `mist version` | Displays the current version of the Mist compiler. | -| `mist help` | Stuck? Use this to see all available commands and options. | +| Command | Description | +| ---------------- | ----------------------------------------------- | +| `mist run` | Runs the project in the current directory | +| `mist build` | builds the project in the current directory | +| `mist transpile` | transpiles the project in the current directory | +| `mist version` | prints the compiler version | +| `mist help` | prints this message | From ef60e684f916be82412891ecad67d754d9732b42 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 16 May 2026 11:54:14 +0200 Subject: [PATCH 3/4] new release may 16 2026 --- content/blog/new-release-16-may-2026.mdx | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 content/blog/new-release-16-may-2026.mdx diff --git a/content/blog/new-release-16-may-2026.mdx b/content/blog/new-release-16-may-2026.mdx new file mode 100644 index 0000000..1344984 --- /dev/null +++ b/content/blog/new-release-16-may-2026.mdx @@ -0,0 +1,31 @@ +--- +title: A new release of Mist in may 2026 (), what's new +author: Klesti Selimaj +date: 2026-05-16 +--- + +Greetings, i've been pulled two all nighters in a row for this, i've added some essential features that will refine mist. + +## publicity +Changed the keyword from `public` to `pub` +Mist now supports many types of pub(s) like rust: +- `pub` +- `pub(crate)` +- `pub(super)` +- `pub(some::path)` + +And `use` and `mod` also have exporting: +`pub use ;` +`pub mod utils;` + +## Errors +While the pest errors are unchanged, we now have unexpected statement errors which may seem unimpressive, except for the fact that i refactored 1000-2000 lines of code + +https://github.com/mist-go/mist/pull/29 + +https://github.com/mist-go/mist/pull/28 + +Both of these are improving the parser architecture in many ways, both for errors and extending the graph. + +## recovery +Error recovery is one of the most important steps for extending Mist's toolchain, it allows LSPs to work, and multiple syntax errors to appear, this is half of what needed that many lines to work on. From f17667c1ec4cd5b16930cf99ad73a05a73b19bf3 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 16 May 2026 11:54:35 +0200 Subject: [PATCH 4/4] new release may 16 2026 --- content/blog/new-release-16-may-2026.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/new-release-16-may-2026.mdx b/content/blog/new-release-16-may-2026.mdx index 1344984..1a05f81 100644 --- a/content/blog/new-release-16-may-2026.mdx +++ b/content/blog/new-release-16-may-2026.mdx @@ -1,5 +1,5 @@ --- -title: A new release of Mist in may 2026 (), what's new +title: A new release of Mist in may 2026 (0.0.2-alpha0), what's new author: Klesti Selimaj date: 2026-05-16 ---