ShopifyQL is an accessible, commerce-focused querying language used on both the client and server. The language is defined by an ANTLR grammar and is used to generate code for multiple targets. CodeMirror, a code editor framework built for the web, has its own grammar & parser engine called Lezer.
Table of contents
ShopifyQL EverywhereConnecting The ShopifyQL Language Server To CodeMirrorConverting A ShopifyQL Query Into A Lezer TreeUnderstanding ShopifyQL’s Token OffsetAdapting ShopifyQL’s Token Offset To Work With CodeMirrorBuilding A Parse TreeProviding Additional Language FeaturesConclusionSort: