Module expr

Evaluating C expressions from tokens.

Numerical operators are supported. All numerical values are treated as i64 or f64. Type casting is not supported. i64 are converted to f64 when used in conjunction with a f64. Right shifts are always arithmetic shifts.

The sizeof operator is not supported.

String concatenation is supported, but width prefixes are ignored; all strings are treated as narrow strings.

Use the IdentifierParser to substitute identifiers found in expressions.

Structs

Enums

Functions

Type Aliases