Skip to content

ncl: exit_on_transparent as layer-row map sugar - #702

Merged
rgoulter merged 1 commit into
masterfrom
feat/tlex-exit-on-transparent
Aug 16, 2026
Merged

ncl: exit_on_transparent as layer-row map sugar#702
rgoulter merged 1 commit into
masterfrom
feat/tlex-exit-on-transparent

Conversation

@rgoulter

@rgoulter rgoulter commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

Smart-stay sugar as an explicit layer-row map, not a top-level layer-index stamp:

layers = [
  [K.layer_mod.toggle 1, K.A, K.C],
  [K.TTTT, K.TTTT, K.B] |> K.exit_on_transparent,
]

K.exit_on_transparent maps null / TTTT cells to K.tlex on that row. Fold/codegen then lower tlex as usual (exit_on_skip bits).

Stack

PR 2 of 3 — base: master (after #701)

  1. layered: bare transparent layer exit (K.tlex) #701 — bare tlex (merged)
  2. This PRK.exit_on_transparent layer map
  3. ncl: TH portion transparency and hold.tlex #703 — TH portion transparency + hold.tlex

Test plan

  • cargo test -p smart-keymap --test rust-integration exit_on_transparent
  • CI green

@rgoulter
rgoulter force-pushed the feat/tlex-exit-on-transparent branch 2 times, most recently from 6bf1ecc to 5a63f62 Compare August 16, 2026 07:06
@rgoulter
rgoulter force-pushed the feat/tlex-exit-on-transparent branch from 5a63f62 to 464a7cc Compare August 16, 2026 07:06
@rgoulter
rgoulter force-pushed the feat/tlex-bare branch 2 times, most recently from 253c980 to 1cfed8b Compare August 16, 2026 07:14
@rgoulter
rgoulter force-pushed the feat/tlex-exit-on-transparent branch from 464a7cc to 4e6d04c Compare August 16, 2026 07:14
@rgoulter
rgoulter force-pushed the feat/tlex-exit-on-transparent branch from 4e6d04c to b5ada7c Compare August 16, 2026 07:22
Base automatically changed from feat/tlex-bare to master August 16, 2026 07:32
@rgoulter
rgoulter force-pushed the feat/tlex-exit-on-transparent branch from b5ada7c to 87cf3df Compare August 16, 2026 07:35
Replace the top-level exit_on_transparent = [layer…] stamp with a
pipeline function: `layer |> K.exit_on_transparent` maps null/TTTT
cells to K.tlex. Explicit at the layer, no post-fold config side channel.
@rgoulter
rgoulter force-pushed the feat/tlex-exit-on-transparent branch from 87cf3df to 84dc1fe Compare August 16, 2026 08:25
@rgoulter rgoulter changed the title ncl: exit_on_transparent smart-stay sugar ncl: exit_on_transparent as layer-row map sugar Aug 16, 2026
@rgoulter
rgoulter merged commit 98bb2c9 into master Aug 16, 2026
13 checks passed
@rgoulter
rgoulter deleted the feat/tlex-exit-on-transparent branch August 16, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant