Registry / utility / dave-brenda

dave-brenda

JSON →
library1.1.0gogounverified

A boolean expression solver for Go AST, enabling analysis and manipulation of boolean logic in Go code.

go get github.com/dave/brenda
INSTALL
IMPORT
SIG · DAVE-BRENDA
D
dave-brenda
utilitygov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

brenda
github.com/dave/brenda

Parse and solve a boolean expression

package main import "github.com/dave/brenda" func main() { expr := brenda.Parse("a && b || !c") result := brenda.Solve(expr, map[string]bool{"a": true, "b": false, "c": true}) println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
dave-brenda — go get dave-brenda · libregistry