docs: update README, Stdlib, BuildAndTest, PLAN for new std modules

Added documentation for:
- Std::Fs (DirExists, Mkdir, ListDir)
- Std::Mem (Alloc, Free, MemEq, New)
- Std::Set<T> (Set_New, Set_Add, Set_Has)
- String_Find, String_Replace, String_Format

Updated PLAN.md blockers (all resolved) and self-host status.
Updated README.md project structure and feature table.
Updated BuildAndTest.md with new stdlib modules and path syntax.

Also includes:
- CLI path argument fix (build/check/run accept project path)
- Remove dummyFunc from parser
- Fix String_Replace to use String_Concat instead of buggy str_join2
This commit is contained in:
2026-06-02 18:46:03 +03:00
parent ec4e748584
commit 291de88506
13 changed files with 1742 additions and 36 deletions
+6 -1
View File
@@ -147,7 +147,7 @@ func Main() -> int {
| **Methods** | `extend` blocks for struct methods |
| **Interfaces** | `interface` + `extend` for trait-like behavior |
| **Error Handling** | `Result<T,E>`, `Option<T>`, and the `?` operator |
| **Standard Library** | `Io`, `Array`, `String`, `Map` |
| **Standard Library** | `Io`, `Array`, `String`, `Map`, `Fs`, `Mem`, `Set`, `Path`, `Math`, `Task`, `Channel` |
| **Backend** | QBE native codegen (self-hosting), C transpiler (bootstrap) |
| **Strings** | Raw multi-line backtick strings (`...`), C-string interop |
| **Gradual Ownership** | `@[Checked]` + `&T`/`&mut T` borrow checking |
@@ -168,6 +168,11 @@ bux/
├── src_bux/ # Self-hosting compiler source (Bux)
├── _selfhost/ # Self-hosting build artifacts
├── stdlib/ # Standard library (.bux + .c runtime)
│ └── Std/
│ ├── Io.bux, String.bux, Array.bux, Map.bux
│ ├── Fs.bux, Mem.bux, Set.bux
│ ├── Path.bux, Math.bux
│ └── Task.bux, Channel.bux
├── examples/ # Example programs
├── tests/ # Unit tests (Nim)
├── docs/ # Documentation