~/lightning

How To Add A New Language Feature To OPA

Lightningat KubeCon + CloudNativeCon Europe 2026 · 2026-03-23..03-26· at 10:13· Elicium 2· [developer-experience]
links:none on file
slides:none on file

Adds string interpolation to Rego in OPA 1.12 and describes exactly what changed: scanner/parser gains two new tokens, the AST gets a template string node, the compiler lowers that node to a built‑in called template_string, and the topdown interpreter implements recursive evaluation with a single-value check and concatenation. Also covers the follow-up work: editor grammars, go‑to‑definition support, docs updates and lint rules to roll the feature across the OPA ecosystem.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.