google / cel-go

Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
https://cel.dev
Apache License 2.0
2.26k stars 220 forks source link

Decompose the compile and compose methods #986

Closed TristonianJones closed 3 months ago

TristonianJones commented 3 months ago

Decompose the compile method from the compose method.

Allow users to structure CompileRule calls which produce the canonical intermediate representation for compiled policies separately from the composition of those expressions into a single CEL expression.