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

feat: JSON parser escape support #88

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

Autoparallel
Copy link
Contributor

Aims to close #87

@Autoparallel
Copy link
Contributor Author

I got what seems to work with the basic parser. More work would have to be done for the hash parser as we would want to ignore the escape when hashing. That shouldn't be too bad, but yeah.

Then I imagine there are a ton of failing tests for the JSON machine.

@Autoparallel
Copy link
Contributor Author

Another option is to include the escape in the hash sequence actually. That'd be a lot easier and honestly totally valid. In which case propagating this change into the hash_machine.circom would be pretty trivial.

I think that may be my vote.

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.

feat: JSON parser allows for escape \
1 participant