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

Switch Q&A verification to BNF parser #129

Open
wants to merge 2 commits into
base: q-and-a
Choose a base branch
from
Open

Conversation

UserAB1236872
Copy link
Member

As discussed in email, this changes to a BNF-parsing based approach for verifying and loading Q&A files.

This touches as little as possible, so some of the code is kinda back and forth (it parses into a nice set of structs and enums... and then reconverts back to Strings because that's what the protos want), but should be more maintainable in general.

@jedirv

@UserAB1236872
Copy link
Member Author

Reminder that this entails quote-escaping all question/radio/prompt text, and please test before merging! It works on my test case but I can't be sure it works with the browser piping.

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.

None yet

1 participant