https://github.com/midstallsoftware/meta-plus
A more advanced typed utilities library than Zig's std's meta
https://github.com/midstallsoftware/meta-plus
Last synced: about 1 year ago
JSON representation
A more advanced typed utilities library than Zig's std's meta
- Host: GitHub
- URL: https://github.com/midstallsoftware/meta-plus
- Owner: MidstallSoftware
- License: gpl-3.0
- Created: 2023-10-27T00:05:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T20:07:52.000Z (over 2 years ago)
- Last Synced: 2025-01-23T15:39:11.375Z (over 1 year ago)
- Language: Zig
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Meta+
## Introduction
### What is Meta+?
Meta+ is an extension to Zig's `std.meta` module. It provides many comptime based functions
for defining and manipulating types from other types. This has the advantage of smarter code
and typing in Zig. It also provides functions for `std.testing` which allow for testing how
Zig sees the types you write. This can be helpful for debugging more complex types.
### Features
- [x] VTable generation from declarations
- [x] Enum generation from declarations and fields
- [ ] Type checking at comptime and testing
- [ ] Complete type field manipulation (mixing, removal, adding, etc.)
- [ ] Complete function parameter manipulation
- [ ] Enhanced type printing