Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement Julia "compiler" using JSON schema output from flatc #52

Open
ExpandingMan opened this issue May 22, 2020 · 1 comment
Open

Comments

@ExpandingMan
Copy link

So, it turns out that flatc has a (seemingly undocumented) option to generate the schema as a JSON. This introduces the possibility of writing a pure Julia compiler for flatbuffer schema using only existing parsing packages. You can see an example JSON schema here. I've not yet validated that it's complete (i.e. the full Julia code can be inferred from the JSON schema only), but so far it looks ok.

If #51 turns out to be a real disaster, I might start working on this.

@jonalm
Copy link
Collaborator

jonalm commented Dec 19, 2021

How do you get the offset values needed to seek into the buffer from the JSON schema?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants