# Regarding skip sets

**URL:** https://discuss.codemirror.net/t/regarding-skip-sets/8399
**Category:** Lezer
**Created:** [June 28, 2024, 1:51pm UTC](https://discuss.codemirror.net/t/regarding-skip-sets/8399 "2024-06-28T13:51:40Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![AlexErrant](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/alexerrant/32/4287_2.png) [@AlexErrant](https://discuss.codemirror.net/u/AlexErrant)
#### Post date: [July 1, 2024, 4:37pm UTC](https://discuss.codemirror.net/t/regarding-skip-sets/8399/4 "2024-07-01T16:37:22Z")

</div>

I use a mixed language since I can cleanly segregate the sub-grammar into a single token of the base grammar. [Can child/sub tokens appear in the parse tree? - #3 by AlexErrant](https://discuss.codemirror.net/t/can-child-sub-tokens-appear-in-the-parse-tree/8033/3)

Concretely, I’m building a search grammar similar to [github’s search syntax](https://gist.github.com/bonniss/4f0de4f599708c5268134225dda003e0). In addition to syntax like `somesearchword stars:>100`, `somesearchword` may be a [glob](https://en.wikipedia.org/wiki/Glob_(programming)) or regex, which are (obviously) their own sub-grammars. As such I made a separate glob grammar. Your ISE and IIE _might_ be better off as separate grammars.

Trying to integrate that glob grammar into my query grammar resulted in many “Inconsistent skip sets” and “shift/reduce conflict between” which I was unable to resolve. This might mean having to duplicate rules from one of your grammars into the other, but this is just an idea for you to explore.

---

_[View the full topic](https://discuss.codemirror.net/t/regarding-skip-sets/8399)._
