Bqn lexer: lexer for the BQN array programming language by mutable-learning · Pull Request #2472 · pygments/pygments
If it's almost a clone of APL, is there a way to make it a subclass of the APL lexer? (See https://pygments.org/docs/lexerdevelopment/#subclassing-lexers-derived-from-regexlexer)
The languages are very similar in many ways, but most of the syntax is different. If we subclass the APL lexer there are only 4 rules that would be the same out of 19 as it stands currently.
Is it possible to use the inherit special object in the root state but specify only a subset of rules to be inherited? The docs don't explain this from what I can find. If not, is there any point in sub classing as inherit will not be used at all?