Skip to content

Commit 0186d70

Browse files
committed
docs: Update README with v0.13.0 module system achievements and future goals
- Updated to v0.13.0 'Module Revolution' with 85% success rate - Added module aliasing examples and file-based imports - Updated documentation links including VM & Bytecode Vision article - Added Next Goals section for v0.14.0 priorities - Refreshed metrics showing 25+ stdlib functions across modules
1 parent 9c91a0f commit 0186d70

1 file changed

Lines changed: 30 additions & 17 deletions

File tree

README.md

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,39 @@
33

44
**A modern systems programming language for retro computers** (Z80, 6502, Game Boy, WebAssembly, LLVM)
55

6-
## 🎉 v0.13.0 Alpha "Module Revolution" (August 2025)
6+
## 🎉 v0.13.0 Alpha "Module Revolution" (January 2025)
77

8-
### 🚀 **NEW: Complete Module System!**
8+
### 🚀 **NEW: Complete Module System with Aliasing!**
99

10-
MinZ now has a **modern module import system** with standard library support!
10+
MinZ now has a **professional module system** with aliasing and file-based imports!
1111

1212
```minz
13-
import std; // Standard library
14-
import zx.screen; // ZX Spectrum graphics
13+
import std as io; // Alias standard library
14+
import math as m; // File-based module from stdlib/
15+
import zx.screen as gfx; // Platform module with alias
1516
1617
fun main() -> void {
17-
std.cls(); // Clear screen
18-
std.println("Hello, MinZ!"); // Print with newline
19-
zx.screen.set_border(2); // Red border on ZX Spectrum
18+
io.cls(); // Using alias
19+
io.println("Hello, MinZ!");
20+
let sq = m.square(5); // Math module via alias
21+
gfx.set_border(2); // Platform graphics
2022
}
2123
```
2224

2325
### **Key Features in v0.13.0**
2426

25-
- **📦 Module Imports** - Clean namespace with `import` statements
26-
- **🎯 Standard Library** - Built-in functions: `print`, `println`, `cls`, `hex`, `abs`, `min`, `max`
27-
- **🖥️ Platform Modules** - Hardware-specific: `zx.screen`, `zx.input`, `zx.sound` (ZX Spectrum)
28-
- **✅ 70% Compilation Success** - Major stability improvements
29-
- **🔥 All Previous Features** - CTIE, lambdas, overloading, interfaces still working!
27+
- **📦 Module Aliasing** - Import with custom names: `import math as m`
28+
- **📁 File-Based Modules** - Load from `stdlib/` directory
29+
- **🎯 Expanded Standard Library** - 20+ functions across modules
30+
- **🖥️ Complete Platform Support** - Input, sound, graphics for ZX Spectrum
31+
- **✅ 85% Compilation Success** - Major improvement from 69%!
32+
- **🔥 Zero-Cost Abstractions** - Modules compile to direct calls
3033

3134
### 📊 **Current Metrics**
32-
- **Module System**: 100% functional
33-
- **Compilation Success**: 70% (up from 69%)
34-
- **Standard Library**: 15+ functions implemented
35-
- **Platform Support**: ZX Spectrum, CP/M, MSX, CPC
35+
- **Module System**: File-based + aliasing complete
36+
- **Compilation Success**: **85%** (126/148 examples)
37+
- **Standard Library**: 25+ functions across modules
38+
- **Platform Support**: ZX Spectrum (complete I/O), CP/M, MSX, CPC
3639
- **Optimization**: 3-5x with CTIE, 60-85% with peephole
3740

3841
## 💻 **Installation & Usage**
@@ -122,6 +125,7 @@ fun risky_op?() -> u8 ? Error {
122125

123126
## 📚 **Documentation**
124127

128+
### 📖 **Essential Guides**
125129
- **[Quick Start Guide](docs/QUICK_START.md)** - Get coding in 5 minutes
126130
- **[Language Reference](docs/LANGUAGE_REFERENCE.md)** - Complete syntax guide
127131
- **[Module System Guide](docs/191_Module_System_Design.md)** - Using modules and imports
@@ -132,10 +136,19 @@ fun risky_op?() -> u8 ? Error {
132136
- [Compiler Architecture](minzc/docs/INTERNAL_ARCHITECTURE.md) - How MinZ works internally
133137
- [CTIE Design](docs/178_CTIE_Working_Announcement.md) - Compile-time execution system
134138
- [Lambda Implementation](docs/141_Lambda_Iterator_Revolution_Complete.md) - Zero-cost iterators
139+
- **[VM & Bytecode Vision](docs/198_VM_Bytecode_Targets_and_MIR_Runtime_Vision.md)** - Future runtime plans
140+
141+
### 🎯 **Next Goals (v0.14.0)**
142+
- **String Manipulation** - Complete string library
143+
- **File I/O** - Platform-independent file operations
144+
- **Collections** - Lists, maps, sets with zero-cost abstractions
145+
- **Package Manager** - Dependency management system
146+
- **MIR VM** - Universal runtime from CTIE interpreter
135147

136148
### 🚀 **Roadmaps**
137149
- [Stability Roadmap](STABILITY_ROADMAP.md) - Path to v1.0
138150
- [Development Roadmap 2025](docs/129_Development_Roadmap_2025.md) - Current priorities
151+
- [Feature Status](FEATURE_STATUS.md) - Detailed completion tracking
139152

140153
## 🏆 **Revolutionary Features**
141154

0 commit comments

Comments
 (0)