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.
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-peglibwould be a decrease in parser performance, but the extent of that would have to be evaluated, of course.