docs: add missing stdlib modules and update language reference

Stdlib.md:
- Add Std::Task (thread spawn/join/sleep)
- Add Std::Channel (generic channels + wrappers)
- Add Std::Net (TCP sockets)
- Add Std::Json (parser/serializer)
- Add Std::Crypto (SHA-256, HMAC, Base64, random)
- Add Std::Fmt (formatting wrappers)
- Add Std::Math (Sqrt, Pow, Abs, Min, Max)
- Add String_FromFloat to String docs
- Update Future Modules list

LanguageRef.md:
- Add Concurrency section (threads + channels)
- Update Ownership with move semantics and own T

BuildAndTest.md:
- Add libssl-dev/openssl prerequisite note
- Mention -lcrypto auto-linking
This commit is contained in:
2026-06-05 22:19:46 +03:00
parent 96aada2a4e
commit 809785711c
3 changed files with 395 additions and 4 deletions
+4 -2
View File
@@ -12,14 +12,16 @@ This guide covers building the Bux bootstrap compiler, creating projects, and ru
On Debian/Ubuntu:
```bash
sudo apt-get install nim gcc make
sudo apt-get install nim gcc make libssl-dev
```
On macOS:
```bash
brew install nim gcc make
brew install nim gcc make openssl
```
> **Note:** The `Std::Crypto` module requires OpenSSL (`-lcrypto`). The build system links it automatically.
---
## Building the Compiler