Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SuperAuguste/protoclaw

protoc in zig (WIP)
https://github.com/SuperAuguste/protoclaw

Last synced: about 2 months ago
JSON representation

protoc in zig (WIP)

Awesome Lists containing this project

README

        

# protoclaw

# this doesnt work yet, please do not use

Fully self-contained Protobuf compiler for Zig.

## Table of Contents

- [protoclaw](#protoclaw)
- [this doesnt work yet, please do not use](#this-doesnt-work-yet-please-do-not-use)
- [Usage](#usage)
- [CLI](#cli)
- [`build.zig` Integration](#buildzig-integration)
- [References](#references)
- [License](#license)

## Usage

### CLI

### `build.zig` Integration

You can use `protoclaw.GenerateStep` to generate Zig sources from Protobuf schemas in your `build.zig`.
See [our `build.zig`](TODO) for an example.

## References

https://protobuf.com/docs/language-spec
https://protobuf.dev/reference/protobuf/proto2-spec/
https://protobuf.dev/reference/protobuf/proto3-spec/

protoc .\example\hello.proto -Iexample --cpp_out=protoc-runs

## License

MIT except for all files in `include/`, which are licensed under Protobuf's BSD license, which is can be found at the start of those files or [here](https://github.com/protocolbuffers/protobuf/blob/main/LICENSE).