https://github.com/edwindj/flatbuffers.v
https://github.com/edwindj/flatbuffers.v
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/edwindj/flatbuffers.v
- Owner: edwindj
- Created: 2022-02-01T11:31:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T09:06:50.000Z (over 4 years ago)
- Last Synced: 2025-06-20T22:53:30.670Z (12 months ago)
- Language: V
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flatbuffers for v (early work)
vlatbuffers?
## Status
- Parser (and scanner) voor framebuffers schema works: creates a `Schema` struct
- `Schema` can generate:
- framebuffers schema file: fbs
- v structs that match with the flatbuffers definition
### Not yet working (most important part...)
- encoding
- decoding
## Simple approach:
- encoder for v structs (similar to json encoder)
- decoder to v structs (similar to json decoder)
- encoder for v structs could generate fbs, framebuffers schema
- generate a decoder and encoder from a fbs file into v source. Would be nice if generated source has no dependencies
## references
- https://google.github.io/flatbuffers/
- schema language: https://google.github.io/flatbuffers/flatbuffers_grammar.html
- description of binary format: https://github.com/dvidelabs/flatcc/blob/master/doc/binary-format.md