dimgigov
|
ac969b37c1
|
v0.3.0: restructure directories
- src/ ← compiler/selfhost/ (canonical Bux compiler)
- bootstrap/ ← compiler/bootstrap/ (Nim bootstrap)
- lib/ ← library/std/ (standard library)
- rt/ ← library/runtime/ (C runtime)
- tests/ ← compiler/tests/ (unit tests)
- Remove _selfhost/ (built into build/selfhost/ now)
- Update all path references (Makefile, cli.nim, cli.bux, docs)
- Bump version to 0.3.0
|
2026-06-06 04:53:39 +03:00 |
|
dimgigov
|
9c6b516453
|
feat: restructure repo, borrow checker, expanded stdlib
- Reorganize repository to Rust-style layout:
compiler/bootstrap/ compiler/selfhost/ compiler/tests/
library/std/ library/runtime/ tests/ tools/
- Add buxs/ Windows-compatible project root
- Add borrow checker tests and implement:
- Alias analysis (double mutable borrow detection)
- Use-after-move detection for own T
- Expand standard library:
- Std::Os: Args, Env, Cwd, Chdir
- Std::Time: NowMs, NowUs, SleepMs
- Std::Process: Run, Output
- Std::Io: PrintInt64 (fixes 32-bit truncation bug)
- Add examples: os_time.bux, process.bux
- Fix PrintInt to use int64_t in C runtime
|
2026-06-05 20:08:17 +03:00 |
|