Replies: 1 comment 1 reply
-
How does cpp-peglib compare to something like ANTLR? Any thought on which would be the best fit for OCCA? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have implemented languages using
cpp-peglib
(https://github.com/yhirose/cpp-peglib). Based on experience, I feel it makes doing so straightforward, even relatively easy. Utilized in OCCA, it could improve transparency and extensibility which in turn can improve prospects for further contributions and enhancements.This is probably just a long-term suggestion to consider at the next revamp cycle/opportunity for OCCA.
The present OKL parser is fast. A likely downside of
cpp-peglib
would be a decrease in parser performance, but the extent of that would have to be evaluated, of course.Beta Was this translation helpful? Give feedback.
All reactions