edwindj / flatbuffers.v

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:V 99.5%Language:AMPL 0.5%