parser 1.0.0
UTF-8 CEL expression compilation and checked library extensions
Loading...
Searching...
No Matches
all.hpp File Reference

Includes the expression compiler and checked library registration interfaces. Prefer <cel/parser.hpp> for compilation or <cel/parser/lookup.hpp> for extensions. Compile and execute an expression: More...

Go to the source code of this file.

Detailed Description

Includes the expression compiler and checked library registration interfaces. Prefer <cel/parser.hpp> for compilation or <cel/parser/lookup.hpp> for extensions. Compile and execute an expression:

int main() {
auto code = compiler.parse_str("1.0 + 2.0");
cel::raw_stack stack;
return code.prepare<double>().call(stack) == 3.0 ? 0 : 1;
}
Includes the expression compiler and checked library registration interfaces. Prefer <cel/parser....
Owns exact registrations, nominal schemas, and LIFO scope callbacks. Owns copied names,...
Definition lookup.hpp:81
Owns lookup state and compiles CEL expressions into reusable checked programs. Each successful call r...
Definition compiler.hpp:37
compiled_segment parse_str(std::string_view source)
Compiles one complete decoded UTF-8 CEL source through an owned source copy. Selects grammar alternat...