Commit d7e7968
committed
feat: Add ZRTL standard library plugins
Add a library of ZRTL plugins providing common language features:
- zrtl_io: I/O operations (print, input, formatting) using ZRTL string format
- zrtl_fs: File system operations (read/write files, directories, paths)
- zrtl_time: Time operations (timestamps, sleep, instant timing, formatting)
- zrtl_env: Environment (env vars, args, process info, OS detection)
- zrtl_thread: Threading (spawn/join, atomics, mutexes)
- zrtl_net: Networking (TCP client/server, UDP)
All plugins:
- Use ZRTL SDK types (StringPtr, ArrayPtr) for C ABI compatibility
- Export symbols using $Module$function naming convention
- Include comprehensive tests (26 tests total)
- Compile to both cdylib and rlib for flexibility1 parent 1b89f45 commit d7e7968
13 files changed
Lines changed: 3117 additions & 0 deletions
File tree
- plugins
- zrtl_env
- src
- zrtl_fs
- src
- zrtl_io
- src
- zrtl_net
- src
- zrtl_thread
- src
- zrtl_time
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments