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

pass concordance & update examples #26

Merged
merged 6 commits into from
Aug 15, 2020
Merged

pass concordance & update examples #26

merged 6 commits into from
Aug 15, 2020

Conversation

cqx931
Copy link
Collaborator

@cqx931 cqx931 commented Aug 13, 2020

No description provided.

@cqx931
Copy link
Collaborator Author

cqx931 commented Aug 13, 2020

  1. The grammar example now uses json file. Are we going to support yaml format in the future?

-- yes, no more yaml, either json or (native) riscript

  1. RiScript compiler doesn't take variables that start with non_alphabetic characters(Ex: $1, $<2>), could some error messages be added here to help people migrate from the old rita?

Indeed. We need some combination of better docs, better error messages, and/or useLegacy() or convertGrammar() function that either runs or converts old style rita grammars. The basics of the last are easy, but the back-ticked expressions are likely impossible.

Additionally we can also add support for rules starting/ending with <>...

@cqx931 cqx931 changed the title pass concordance pass concordance & update examples Aug 13, 2020
@dhowe dhowe merged commit 90be87d into dhowe:master Aug 15, 2020
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.

2 participants