System text formats

Kconfig tristate expression trace

Evaluate a dependency expression using explicit n, m and y symbol values.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Use n=0, m=1, y=2; AND is minimum, OR is maximum and NOT is 2 minus the operand. Equality binds before NOT, AND and OR. Export intermediate values and optional sensitivity.

With NET=m, USB=n and PCI=m, !PCI=m and the complete expression is m.

Limits

Symbols, n/m/y, symbol comparisons =/!=, !, &&, || and parentheses only. Every referenced symbol needs an explicit value. Up to 1000 tokens, 500 expression nodes and 100 nesting levels. No Kconfig file parsing, select/imply, visibility, type coercion, strings or numeric comparisons.