Can we use peggy.js with codemirror?

Hello

Can we use peggy.js with codemirror? For example while adding support for new language?

Thanks
Tornike

Probably not.

What Is the reason for that? As i know PEG is more powerful than LR.

If you can make peggy.js incremental and make it spit out a Lezer AST and wire all that up to conform to the Lezer parser interface, then maybe. But that’d be a large project, sounds like it’d not be very fast, and probably isn’t worth it.