From 5d8ac8f2816494cce91bf2f79b3528954b75f7af Mon Sep 17 00:00:00 2001 From: Ivan Muzyka Date: Thu, 30 Apr 2026 18:11:52 +0300 Subject: [PATCH 01/13] Fix filename --- src/examples/{factorial.rux => Factorial.rux} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/examples/{factorial.rux => Factorial.rux} (100%) diff --git a/src/examples/factorial.rux b/src/examples/Factorial.rux similarity index 100% rename from src/examples/factorial.rux rename to src/examples/Factorial.rux From 838e013054e9ccba2b6d9c8baabdfa98e8f8b352 Mon Sep 17 00:00:00 2001 From: "Nathan C." <149914029+Natuworkguy@users.noreply.github.com> Date: Mon, 25 May 2026 17:14:58 -0400 Subject: [PATCH 02/13] Update Rux code example to print 'Hello, World!' --- src/api/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/index.md b/src/api/index.md index 79d17a3..b3586ac 100644 --- a/src/api/index.md +++ b/src/api/index.md @@ -163,7 +163,10 @@ Formats `fmt` using `args` (see [`Format`](#format)) and writes the result to st ```rux import Std::Io::*; -Print("Hello, {}!\n", name); +func Main() -> int { + Print("Hello, World!\n"); + return 0; +} ``` ## Format From 200ee82f98877e0fbf60098bbd048097cf49640a Mon Sep 17 00:00:00 2001 From: "Nathan C." <149914029+Natuworkguy@users.noreply.github.com> Date: Mon, 25 May 2026 20:13:22 -0400 Subject: [PATCH 03/13] Update hello-world.md --- src/tutorials/getting-started/hello-world.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tutorials/getting-started/hello-world.md b/src/tutorials/getting-started/hello-world.md index 95bd060..aa2ad5a 100644 --- a/src/tutorials/getting-started/hello-world.md +++ b/src/tutorials/getting-started/hello-world.md @@ -17,11 +17,11 @@ code . Insert this snippet into the `Main.rux` file ```rux -import System::Print; +import Std::Io::Print; func Main() -> int { - Print("Hello World!"); - return 0; + Print("Hello, World!\n"); + return 0; } ``` From db253ab8668a33f913bc75c3325b780e7431561e Mon Sep 17 00:00:00 2001 From: BlackSound1 Date: Mon, 25 May 2026 22:06:51 -0400 Subject: [PATCH 04/13] Fixed typo in identifiers.md --- src/docs/lexical/identifiers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/lexical/identifiers.md b/src/docs/lexical/identifiers.md index fe3999e..6218613 100644 --- a/src/docs/lexical/identifiers.md +++ b/src/docs/lexical/identifiers.md @@ -12,7 +12,7 @@ Rux is **case-sensitive**. By convention it is recommended to use **camelCase** | --------- | ---------------------------------------- | | Types | `Handle`, `HResult`, `Primitive` | | Structs | `HttpRequest`, `HttpResponse`, `Order` | -| Fiels | `red`, `green`, `blue`, `alpha` | +| Fields | `red`, `green`, `blue`, `alpha` | | Enums | `DayOfWeek`, `MonthOfYear`, `AppState` | | Functions | `ParseInput`, `ReadFile`, `CloseWindow` | | Variables | `userId`, `userName`, `fileName` | From 16fb81efc300ae50afc9f67c130bc1c418153246 Mon Sep 17 00:00:00 2001 From: Ivan Muzyka Date: Tue, 26 May 2026 17:24:02 +0300 Subject: [PATCH 05/13] Add Reddit, YouTube, rux update command --- .vitepress/config.mts | 51 +++++++++++++------- LICENSE | 2 +- package.json | 2 +- src/blog/getting-started.md | 2 +- src/cli/index.md | 2 +- src/cli/up.md | 24 --------- src/cli/update.md | 21 ++++++++ src/examples/Factorial.rux | 4 +- src/index.md | 6 ++- src/tutorials/getting-started/hello-world.md | 11 ++++- 10 files changed, 75 insertions(+), 50 deletions(-) delete mode 100644 src/cli/up.md create mode 100644 src/cli/update.md diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 29b4310..b498963 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -169,7 +169,7 @@ export default defineConfig({ { text: "rux remove", link: "/cli/remove" }, { text: "rux run", link: "/cli/run" }, { text: "rux test", link: "/cli/test" }, - { text: "rux up", link: "/cli/up" }, + { text: "rux update", link: "/cli/update" }, { text: "rux version", link: "/cli/version" }, ], }, @@ -222,7 +222,10 @@ export default defineConfig({ text: "2026", collapsed: true, items: [ - { text: "Rux 0.2.0 — A Real Language", link: "/blog/release-v0.2.0" }, + { + text: "Rux 0.2.0 — A Real Language", + link: "/blog/release-v0.2.0", + }, { text: "Rux 0.1.0 — It Compiles!", link: "/blog/release-v0.1.0" }, ], }, @@ -237,10 +240,36 @@ export default defineConfig({ socialLinks: [ { icon: "github", - link: "https://github.com/rux-lang", + link: "https://github.com/rux-lang/Rux", ariaLabel: "GitHub", }, - { icon: "x", link: "https://x.com/ruxlang", ariaLabel: "X" }, + { + icon: { + svg: '', + }, + link: "https://github.com/rux-lang/Rux/discussions", + ariaLabel: "Discussions", + }, + { + icon: "discord", + link: "https://discord.com/invite/uvSHjtZSVG", + ariaLabel: "Discord", + }, + { + icon: "reddit", + link: "https://www.reddit.com/r/ruxlang", + ariaLabel: "Reddit", + }, + { + icon: "youtube", + link: "https://www.youtube.com/@ruxlang", + ariaLabel: "YouTube", + }, + { + icon: "x", + link: "https://x.com/ruxlang", + ariaLabel: "X", + }, { icon: "bluesky", link: "https://ruxlang.bsky.social", @@ -256,18 +285,6 @@ export default defineConfig({ link: "https://t.me/ruxlang", ariaLabel: "Telegram", }, - { - icon: "discord", - link: "https://discord.com/invite/uvSHjtZSVG", - ariaLabel: "Discord", - }, - { - icon: { - svg: '', - }, - link: "https://github.com/rux-lang/Rux/discussions", - ariaLabel: "Discussions", - }, ], externalLinkIcon: true, @@ -289,7 +306,7 @@ export default defineConfig({ message: 'Released under the MIT License', copyright: - 'Copyright © 2026 Ivan Muzyka', + 'Copyright © 2026 Rux Contributors', }, }, diff --git a/LICENSE b/LICENSE index b60675b..1dc2952 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 Ivan Muzyka +Copyright (c) 2026 Rux Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 9ed097c..36a7023 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "homepage": "https://rux-lang.dev", "description": "Website for Rux programming language", "license": "MIT", - "author": "Ivan Muzyka", + "author": "Rux Contributors ", "scripts": { "dev": "vitepress dev", "build": "vitepress build", diff --git a/src/blog/getting-started.md b/src/blog/getting-started.md index 4106ae6..212260b 100644 --- a/src/blog/getting-started.md +++ b/src/blog/getting-started.md @@ -12,8 +12,8 @@ We’re currently shaping the core syntax, tooling, mascot integrations, and doc **Here’s how you can get involved:** -- Subscribe on [X](https://x.com/ruxlang), [Bluesky](https://ruxlang.bsky.social), [Mastodon](https://mastodon.social/@ruxlang), or [Telegram](https://t.me/ruxlang) to get early updates, dev logs, and sneak peeks. - Join the conversation on [Discord](https://discord.com/invite/uvSHjtZSVG), [GitHub Discussions](https://github.com/rux-lang/rux/discussions), or [Reddit](https://www.reddit.com/r/ruxlang). +- Subscribe on [X](https://x.com/ruxlang), [Bluesky](https://ruxlang.bsky.social), [Mastodon](https://mastodon.social/@ruxlang), or [Telegram](https://t.me/ruxlang) to get early updates, dev logs, and sneak peeks. - Contribute ideas — from grammar tweaks to mascot variants, we’re open to playful and technical input alike. - Discuss architecture — compiler design, type systems, and extensibility are all on the table. diff --git a/src/cli/index.md b/src/cli/index.md index bc196a3..6f38816 100644 --- a/src/cli/index.md +++ b/src/cli/index.md @@ -45,7 +45,7 @@ rux fmt | [`rux remove`](/cli/remove) | Remove a dependency from the manifest | | [`rux run`](/cli/run) | Build and run the main executable | | [`rux test`](/cli/test) | Run all test targets | -| [`rux up`](/cli/up) | Update Rux toolchain | +| [`rux update`](/cli/update) | Update dependencies | | [`rux version`](/cli/version) | Show version information | ## Global options diff --git a/src/cli/up.md b/src/cli/up.md deleted file mode 100644 index 3efa9b0..0000000 --- a/src/cli/up.md +++ /dev/null @@ -1,24 +0,0 @@ -# `rux up` - -Handles Rux toolchain updates — compiler, standard library, and package registry. - -```sh -rux up [option] -``` - -Checks for updates to the Rux compiler, package registry, and tools. By default, updates all installed toolchain components. - -## Options - -| Option | Description | -| -------- | -------------------- | -| `--self` | Update only compiler | - -## Examples - -```sh -rux up -# Checking for updates... -# Rux 0.1.2 available (current: 0.1.0) -# ... -``` diff --git a/src/cli/update.md b/src/cli/update.md new file mode 100644 index 0000000..d6c233c --- /dev/null +++ b/src/cli/update.md @@ -0,0 +1,21 @@ +# `rux update` + +Updates all registry dependencies listed in `Rux.toml`. + +```sh +rux update +``` + +Checks all registry dependencies listed in `Rux.toml` and pulls the latest changes for each one. Missing packages are cloned from the registry. Transitive dependencies are resolved and updated automatically. + +Packages are stored locally at: + +- **Windows** — `%LOCALAPPDATA%\Rux\Packages` +- **Linux / macOS** — `~/.rux/packages` + +## Examples + +```sh +rux update +# Updated 2 packages, installed 1 new package. +``` diff --git a/src/examples/Factorial.rux b/src/examples/Factorial.rux index 8c297f6..7cf1931 100644 --- a/src/examples/Factorial.rux +++ b/src/examples/Factorial.rux @@ -2,9 +2,9 @@ import Std::Io::Print; /// Computes the factorial of a number using an iterative approach func Factorial(n: uint) -> uint { - let result: uint = 1; + var result: uint = 1; for i in 2..=n { - result *= i; + result *= i as uint; } return result; } diff --git a/src/index.md b/src/index.md index e2f777f..ba929ac 100644 --- a/src/index.md +++ b/src/index.md @@ -126,4 +126,8 @@ head: ## Community -Subscribe on [X](https://x.com/ruxlang), [Bluesky](https://bsky.app/profile/ruxlang.bsky.social), [Mastodon](https://mastodon.social/@ruxlang), or [Telegram](https://t.me/ruxlang) to get early updates, dev logs, and sneak peeks. Join the conversation on [Discord](https://discord.com/invite/uvSHjtZSVG), [GitHub Discussions](https://github.com/rux-lang/rux/discussions), or [Reddit](https://www.reddit.com/r/ruxlang). We’d love to hear from you! Not sure where to ask your question or how to get involved? Our community team is here to give you the right answer and help you get started at [info@rux-lang.dev](mailto:info@rux-lang.dev). +Subscribe on [YouTube](https://www.youtube.com/@ruxlang), [X](https://x.com/ruxlang), [Bluesky](https://bsky.app/profile/ruxlang.bsky.social), [Mastodon](https://mastodon.social/@ruxlang), or [Telegram](https://t.me/ruxlang) to get early updates, dev logs, and sneak peeks. + +Join the conversation on [GitHub Discussions](https://github.com/rux-lang/rux/discussions), [Discord](https://discord.com/invite/uvSHjtZSVG), or [Reddit](https://www.reddit.com/r/ruxlang). We’d love to hear from you! + +Not sure where to ask your question or how to get involved? Our community team is here to give you the right answer and help you get started at [info@rux-lang.dev](mailto:info@rux-lang.dev). diff --git a/src/tutorials/getting-started/hello-world.md b/src/tutorials/getting-started/hello-world.md index 95bd060..547c7e0 100644 --- a/src/tutorials/getting-started/hello-world.md +++ b/src/tutorials/getting-started/hello-world.md @@ -17,14 +17,21 @@ code . Insert this snippet into the `Main.rux` file ```rux -import System::Print; +import Std::Io::Print; func Main() -> int { - Print("Hello World!"); + Print("Hello, World!"); return 0; } ``` +## Install libraries + +```sh +rux add Std +rux install +``` + ## Building and Running ```sh From 73b2b8a9efd08302e4edf224b104ce39699b24b6 Mon Sep 17 00:00:00 2001 From: Ivan Muzyka Date: Wed, 27 May 2026 20:39:01 +0300 Subject: [PATCH 06/13] Add commands for package manager --- .vitepress/config.mts | 2 ++ src/cli/index.md | 34 ++++++++++++++++++---------------- src/cli/install.md | 18 +++++++++++++++++- src/cli/list.md | 26 ++++++++++++++++++++++++++ src/cli/uninstall.md | 25 +++++++++++++++++++++++++ src/cli/update.md | 18 +++++++++++++++--- 6 files changed, 103 insertions(+), 20 deletions(-) create mode 100644 src/cli/list.md create mode 100644 src/cli/uninstall.md diff --git a/.vitepress/config.mts b/.vitepress/config.mts index b498963..2f361a7 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -165,10 +165,12 @@ export default defineConfig({ { text: "rux help", link: "/cli/help" }, { text: "rux init", link: "/cli/init" }, { text: "rux install", link: "/cli/install" }, + { text: "rux list", link: "/cli/list" }, { text: "rux new", link: "/cli/new" }, { text: "rux remove", link: "/cli/remove" }, { text: "rux run", link: "/cli/run" }, { text: "rux test", link: "/cli/test" }, + { text: "rux uninstall", link: "/cli/uninstall" }, { text: "rux update", link: "/cli/update" }, { text: "rux version", link: "/cli/version" }, ], diff --git a/src/cli/index.md b/src/cli/index.md index 6f38816..3951aa0 100644 --- a/src/cli/index.md +++ b/src/cli/index.md @@ -31,22 +31,24 @@ rux fmt ## Command Summary -| Command | Description | -| ----------------------------- | ------------------------------------------------- | -| [`rux add`](/cli/add) | Add a dependency to the manifest | -| [`rux build`](/cli/build) | Build the current package | -| [`rux clean`](/cli/clean) | Remove build artifacts | -| [`rux doc`](/cli/doc) | Generate package documentation | -| [`rux fmt`](/cli/fmt) | Format source files and manifests | -| [`rux help`](/cli/help) | Show help information | -| [`rux init`](/cli/init) | Initialize a Rux package in the current directory | -| [`rux install`](/cli/install) | Download and build dependencies | -| [`rux new`](/cli/new) | Create a new Rux package | -| [`rux remove`](/cli/remove) | Remove a dependency from the manifest | -| [`rux run`](/cli/run) | Build and run the main executable | -| [`rux test`](/cli/test) | Run all test targets | -| [`rux update`](/cli/update) | Update dependencies | -| [`rux version`](/cli/version) | Show version information | +| Command | Description | +| --------------------------------- | ------------------------------------------------- | +| [`rux add`](/cli/add) | Add a dependency to the manifest | +| [`rux build`](/cli/build) | Build the current package | +| [`rux clean`](/cli/clean) | Remove build artifacts | +| [`rux doc`](/cli/doc) | Generate package documentation | +| [`rux fmt`](/cli/fmt) | Format source files and manifests | +| [`rux help`](/cli/help) | Show help information | +| [`rux init`](/cli/init) | Initialize a Rux package in the current directory | +| [`rux install`](/cli/install) | Install packages into the cache | +| [`rux list`](/cli/list) | List packages | +| [`rux new`](/cli/new) | Create a new Rux package | +| [`rux remove`](/cli/remove) | Remove a dependency from the manifest | +| [`rux run`](/cli/run) | Build and run the main executable | +| [`rux test`](/cli/test) | Run all test targets | +| [`rux uninstall`](/cli/uninstall) | Remove packages from the cache | +| [`rux update`](/cli/update) | Update packages | +| [`rux version`](/cli/version) | Show version information | ## Global options diff --git a/src/cli/install.md b/src/cli/install.md index 07b815e..ba591fb 100644 --- a/src/cli/install.md +++ b/src/cli/install.md @@ -1,13 +1,29 @@ # `rux install` -Download and build all required dependencies defined in `Rux.toml`. +Download and install packages into the cache. ```sh rux install +rux install [package] +rux install [package]@[version] ``` +Without arguments, installs all dependencies listed in `Rux.toml`. With a package name, installs only that specific package and its transitive dependencies. + +Packages are stored locally at: + +- **Windows** — `%LOCALAPPDATA%\Rux\Packages` +- **Linux / macOS** — `~/.rux/packages` + ## Examples ```sh +# Install all packages listed in Rux.toml rux install + +# Install a specific package +rux install Json + +# Install a specific version +rux install Math@0.3.1 ``` diff --git a/src/cli/list.md b/src/cli/list.md new file mode 100644 index 0000000..ce17049 --- /dev/null +++ b/src/cli/list.md @@ -0,0 +1,26 @@ +# `rux list` + +List packages. + +```sh +rux list +rux list --global +``` + +Without flags, lists all dependencies defined in `Rux.toml`. With `--global`, lists all packages present in the cache. + +## Options + +| Option | Description | +| ---------- | ------------------------------ | +| `--global` | List all packages in the cache | + +## Examples + +```sh +# List packages defined in Rux.toml +rux list + +# List all packages in the cache +rux list --global +``` diff --git a/src/cli/uninstall.md b/src/cli/uninstall.md new file mode 100644 index 0000000..785e6c3 --- /dev/null +++ b/src/cli/uninstall.md @@ -0,0 +1,25 @@ +# `rux uninstall` + +Remove packages from the cache. + +```sh +rux uninstall +rux uninstall [package] +``` + +Without arguments, removes all packages listed in `Rux.toml` from the cache. With a package name, removes only that specific package. + +Packages are stored locally at: + +- **Windows** — `%LOCALAPPDATA%\Rux\Packages` +- **Linux / macOS** — `~/.rux/packages` + +## Examples + +```sh +# Uninstall all packages listed in Rux.toml +rux uninstall + +# Uninstall a specific package +rux uninstall Json +``` diff --git a/src/cli/update.md b/src/cli/update.md index d6c233c..019e169 100644 --- a/src/cli/update.md +++ b/src/cli/update.md @@ -1,21 +1,33 @@ # `rux update` -Updates all registry dependencies listed in `Rux.toml`. +Update packages. ```sh rux update +rux update --global ``` -Checks all registry dependencies listed in `Rux.toml` and pulls the latest changes for each one. Missing packages are cloned from the registry. Transitive dependencies are resolved and updated automatically. +Without flags, checks all registry dependencies listed in `Rux.toml` and pulls the latest changes for each one. With `--global`, updates all packages in the cache. + +Missing packages are cloned from the registry. Transitive dependencies are resolved and updated automatically. Packages are stored locally at: - **Windows** — `%LOCALAPPDATA%\Rux\Packages` - **Linux / macOS** — `~/.rux/packages` +## Options + +| Option | Description | +| ---------- | -------------------------------- | +| `--global` | Update all packages in the cache | + ## Examples ```sh +# Update packages listed in Rux.toml rux update -# Updated 2 packages, installed 1 new package. + +# Update all packages in the cache +rux update --global ``` From 17ce8d1e7f2ad1d6952297c80a98a766a5b32a94 Mon Sep 17 00:00:00 2001 From: Ivan Muzyka Date: Wed, 27 May 2026 22:31:47 +0300 Subject: [PATCH 07/13] Fix edit this page on GitHub --- .claude/settings.local.json | 7 ------- .vitepress/config.mts | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index 2079082..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "permissions": { - "allow": [ - "WebFetch(domain:raw.githubusercontent.com)" - ] - } -} diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 2f361a7..aa6698d 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -292,7 +292,7 @@ export default defineConfig({ externalLinkIcon: true, editLink: { - pattern: "https://github.com/rux-lang/Web/edit/main/docs/:path", + pattern: "https://github.com/rux-lang/Web/edit/dev/src/:path", text: "Edit this page on GitHub", }, From d974793e06f1776c842f1ecc52b1a81c23417c63 Mon Sep 17 00:00:00 2001 From: Ivan Muzyka Date: Sat, 30 May 2026 11:34:07 +0300 Subject: [PATCH 08/13] Fix typo --- src/docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/introduction.md b/src/docs/introduction.md index 5dc2233..3e22791 100644 --- a/src/docs/introduction.md +++ b/src/docs/introduction.md @@ -13,7 +13,7 @@ Rux is a **fast, compiled, strongly typed, multi-paradigm, general-purpose** pro ## Hello, World ```rux -import Std::Io:Print; +import Std::Io::Print; func Main() -> int { Print("Hello, World!"); From e887349c450e00acbf4c7c7eeba6a20d698bb5a0 Mon Sep 17 00:00:00 2001 From: Logic Mindful Date: Sat, 30 May 2026 21:24:53 +0200 Subject: [PATCH 09/13] add warnings "IN DEVELOPMENT" warning for turtorials & extension information that linux & mac support are work in progress --- package-lock.json | 95 +++++++++++--------- src/tutorials/editors/sublime.md | 3 + src/tutorials/editors/vscode.md | 3 + src/tutorials/getting-started/hello-world.md | 3 + src/tutorials/index.md | 6 ++ 5 files changed, 69 insertions(+), 41 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5521330..444d9ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -108,6 +108,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -124,6 +125,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -140,6 +142,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -156,6 +159,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -172,6 +176,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -188,6 +193,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -204,6 +210,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -220,6 +227,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -236,6 +244,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -252,6 +261,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -268,6 +278,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -284,6 +295,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -300,6 +312,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -316,6 +329,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -332,6 +346,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -348,6 +363,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -364,6 +380,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -380,6 +397,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -396,6 +414,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -412,6 +431,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -428,6 +448,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -444,6 +465,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -460,6 +482,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -476,6 +499,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -492,6 +516,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -508,6 +533,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -583,6 +609,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -596,6 +623,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -609,6 +637,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -622,6 +651,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -635,6 +665,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -648,6 +679,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -661,9 +693,7 @@ "cpu": [ "arm" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -677,9 +707,7 @@ "cpu": [ "arm" ], - "libc": [ - "musl" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -693,9 +721,7 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -709,9 +735,7 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -725,9 +749,7 @@ "cpu": [ "loong64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -741,9 +763,7 @@ "cpu": [ "loong64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -757,9 +777,7 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -773,9 +791,7 @@ "cpu": [ "ppc64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -789,9 +805,7 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -805,9 +819,7 @@ "cpu": [ "riscv64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -821,9 +833,7 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -837,9 +847,7 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -853,9 +861,7 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -869,6 +875,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -882,6 +889,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -895,6 +903,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -908,6 +917,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -921,6 +931,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -934,6 +945,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1081,7 +1093,7 @@ "version": "25.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", "integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~7.19.0" @@ -1768,6 +1780,7 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -2491,7 +2504,7 @@ "version": "7.19.2", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz", "integrity": "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/unist-util-is": { diff --git a/src/tutorials/editors/sublime.md b/src/tutorials/editors/sublime.md index 4c47458..5f09371 100644 --- a/src/tutorials/editors/sublime.md +++ b/src/tutorials/editors/sublime.md @@ -1,5 +1,8 @@ # Sublime Text +> [!WARNING] IN DEVELOPMENT +> Rux is currently undergoing rapid changes which might cause this extension to contain outdated information. + The official [Rux](https://packagecontrol.io/packages/Rux) package for [Sublime Text](https://www.sublimetext.com) adds syntax highlighting for `.rux` source files. ## Installing the Package diff --git a/src/tutorials/editors/vscode.md b/src/tutorials/editors/vscode.md index d847574..ae43198 100644 --- a/src/tutorials/editors/vscode.md +++ b/src/tutorials/editors/vscode.md @@ -1,5 +1,8 @@ # Visual Studio Code +> [!WARNING] IN DEVELOPMENT +> Rux is currently undergoing rapid changes which might cause this extension to contain outdated information. + [Visual Studio Code](https://code.visualstudio.com) is the recommended editor for Rux. The official [Rux Language](https://marketplace.visualstudio.com/items?itemName=rux-lang.vscode-rux) extension adds syntax highlighting for `.rux` source files. ## Installing the Extension diff --git a/src/tutorials/getting-started/hello-world.md b/src/tutorials/getting-started/hello-world.md index 547c7e0..65d05b7 100644 --- a/src/tutorials/getting-started/hello-world.md +++ b/src/tutorials/getting-started/hello-world.md @@ -1,5 +1,8 @@ # Hello World +> [!WARNING] IN DEVELOPMENT +> Rux is currently undergoing rapid changes which might cause this turtorial to contain outdated information. + Let's create a simple Rux console application that prints "Hello World!" on the screen. ## Creating Project diff --git a/src/tutorials/index.md b/src/tutorials/index.md index 2a328da..130ad3b 100644 --- a/src/tutorials/index.md +++ b/src/tutorials/index.md @@ -1,5 +1,11 @@ # Tutorials +> [!WARNING] IN DEVELOPMENT +> Rux is currently undergoing rapid changes which might cause the following turtorials to contain outdated information. + +> [!IMPORTANT] +> Support for Linux and MacOS is currently work in progress. + Welcome to the Rux tutorials! This collection contains solutions designed to help learn and practice Rux programming through hands-on exercises and examples. [GitHub repository](https://github.com/rux-lang/Tutorials) serves as a centralized learning resource featuring multiple programming tasks, each organized as a separate folder. The tutorials are designed to progressively build your understanding of Rux concepts and best practices. ## Repository Structure From f786a001a0de9728c1200fcb7d66dae2e8aa3896 Mon Sep 17 00:00:00 2001 From: Logic Mindful Date: Sat, 30 May 2026 21:32:23 +0200 Subject: [PATCH 10/13] fix typos --- src/tutorials/getting-started/hello-world.md | 2 +- src/tutorials/index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tutorials/getting-started/hello-world.md b/src/tutorials/getting-started/hello-world.md index 65d05b7..0362b14 100644 --- a/src/tutorials/getting-started/hello-world.md +++ b/src/tutorials/getting-started/hello-world.md @@ -1,7 +1,7 @@ # Hello World > [!WARNING] IN DEVELOPMENT -> Rux is currently undergoing rapid changes which might cause this turtorial to contain outdated information. +> Rux is currently undergoing rapid changes which might cause this tutorials to contain outdated information. Let's create a simple Rux console application that prints "Hello World!" on the screen. diff --git a/src/tutorials/index.md b/src/tutorials/index.md index 130ad3b..413c9f2 100644 --- a/src/tutorials/index.md +++ b/src/tutorials/index.md @@ -1,10 +1,10 @@ # Tutorials > [!WARNING] IN DEVELOPMENT -> Rux is currently undergoing rapid changes which might cause the following turtorials to contain outdated information. +> Rux is currently undergoing rapid changes which might cause the following tutorials to contain outdated information. > [!IMPORTANT] -> Support for Linux and MacOS is currently work in progress. +> Support for Linux and MacOS is currently a work in progress. Welcome to the Rux tutorials! This collection contains solutions designed to help learn and practice Rux programming through hands-on exercises and examples. [GitHub repository](https://github.com/rux-lang/Tutorials) serves as a centralized learning resource featuring multiple programming tasks, each organized as a separate folder. The tutorials are designed to progressively build your understanding of Rux concepts and best practices. From 9b856ad961dac1cac26c49aa48fef8dc1aa596ae Mon Sep 17 00:00:00 2001 From: Logic Mindful Date: Sun, 31 May 2026 08:20:27 +0200 Subject: [PATCH 11/13] Range & Spread Operators --- src/docs/lexical/operators.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/docs/lexical/operators.md b/src/docs/lexical/operators.md index 94073e7..58b67cc 100644 --- a/src/docs/lexical/operators.md +++ b/src/docs/lexical/operators.md @@ -57,6 +57,17 @@ | `<<=` | `x = x << rhs` | | `>>=` | `x = x >> rhs` | +## Range Operators +| Operator | Equivalent to | +| -------- | --------------------------------------------- | +| `a..b` | Range from `a` (inclusive) to `b` (exclusive) | +| `a..=b` | Same as `a..b` but `b` is inclusive | + +## Function Operators +| Operator | Equivalen to | +| -------- | ----------------------------------------------- | +| `a...` | [Spread Operator](../functions#spread-operator) | + ## Type Operators | Operator | Meaning | From 308d18fea892a2c73b0148bfb527e1614d5c691b Mon Sep 17 00:00:00 2001 From: Logic Mindful Date: Sun, 31 May 2026 08:27:59 +0200 Subject: [PATCH 12/13] extend list of available packages --- src/packages.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/packages.md b/src/packages.md index 81bf981..8418b15 100644 --- a/src/packages.md +++ b/src/packages.md @@ -22,6 +22,10 @@ The following packages are currently under development: | Package | Repository | Description | | ------- | ---------- | ----------- | +| `Illumos` | [github.com/rux-lang/Illumos](https://github.com/rux-lang/Illumos) | !!! | +| `Linux` | [github.com/rux-lang/Linux](https://github.com/rux-lang/Linux) | Linux API bindings | +| `MacOS` | [github.com/rux-lang/MacOS](https://github.com/rux-lang/MacOS) | MacOS API bindings | +| `Pux` | [github.com/Natuworkguy/Pux-module](https://github.com/Natuworkguy/Pux-module) | Pygame bindings | | `Std` | [github.com/rux-lang/Std](https://github.com/rux-lang/Std) | Rux standard library | | `Windows` | [github.com/rux-lang/Windows](https://github.com/rux-lang/Windows) | Windows API bindings | From 2f5571dd7a75470ddffe6c155aa6d2fa32ddd34f Mon Sep 17 00:00:00 2001 From: Logic Mindful Date: Sun, 31 May 2026 09:27:58 +0200 Subject: [PATCH 13/13] Illumos API bindings --- src/packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages.md b/src/packages.md index 8418b15..398f64d 100644 --- a/src/packages.md +++ b/src/packages.md @@ -22,7 +22,7 @@ The following packages are currently under development: | Package | Repository | Description | | ------- | ---------- | ----------- | -| `Illumos` | [github.com/rux-lang/Illumos](https://github.com/rux-lang/Illumos) | !!! | +| `Illumos` | [github.com/rux-lang/Illumos](https://github.com/rux-lang/Illumos) | Illumos API bindings | | `Linux` | [github.com/rux-lang/Linux](https://github.com/rux-lang/Linux) | Linux API bindings | | `MacOS` | [github.com/rux-lang/MacOS](https://github.com/rux-lang/MacOS) | MacOS API bindings | | `Pux` | [github.com/Natuworkguy/Pux-module](https://github.com/Natuworkguy/Pux-module) | Pygame bindings |