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

Draft: Generic parse tree to type #16

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

hazeycode
Copy link

@hazeycode hazeycode commented Feb 11, 2022

Adds some fns for parsing trees as arbitrary Zig types.

Supports

  • nested structs
  • slices of arbitrary length
  • enums identified by name

todo

  • parse float and int leaf nodes; only string leaf nodes are currently supported
  • tuples

@hazeycode hazeycode marked this pull request as draft February 11, 2022 17:04
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

Successfully merging this pull request may close these issues.

1 participant