Changes to the query-language grammars (BQL, BUL, BVL, BCOL, BCL, BSL) in the 3.0.0 release.

💥 Breaking: unit conversion syntax changed from IN to UNIT

The unit conversion clause in GET features now uses the UNIT keyword instead of IN:

GET height UNIT mm, area UNIT m2        -- new (3.0.0)
GET height IN mm, area IN m2            -- no longer parses

IN remains unchanged as a comparator (WHERE height IN (2000, 3000)). The old form was retired because IN served two roles, which was ambiguous for the parser and for readers (GET height IN in for inches). There is no deprecation period: queries using IN <unit> must be migrated.

Migration: replace IN directly before a unit token with UNIT. Unit tokens: mm cm dm m km in ft yd mi mm2 cm2 dm2 m2 km2 in2 ft2 yd2 mi2 mm3 cm3 dm3 m3 l mg cg g kg dc.

Regex: \bIN\s+(mm|cm|dm|m|km|in|ft|yd|mi|mm2|cm2|dm2|m2|km2|in2|ft2|yd2|mi2|mm3|cm3|dm3|m3|l|mg|cg|g|kg|dc)\b → UNIT $1

This applies to all BQL-derived languages since the GET clause is shared.

BVL: label(...) / text(...) key/value disambiguation

A leading string is now only treated as the key when a valid label value follows the comma. Previously the parser could mis-bind or reject valid inputs.

BCL: empty select blocks

BSL: frames list fix

Fixed a grammar typo where only the first frame landed in the frames collection and subsequent frames went to a separate, accidental frame feature. All frames are now collected in frames.

Parser robustness

All grammar ambiguities reported by the parser generator have been resolved (alias AS, unit clause, material.*, label key/value, empty check blocks). The parsers for all six languages are now generated without any ambiguity warnings, meaning no more silently disabled grammar alternatives.