Module builtin_macros

Source
Expand description

This module contains the implementation of the builtin macros. They are just transformations that convert into some more complicated expression tree

Functions§

lower_macro
“Expand” the macro mac (at location n) with the arguments sub_expr
min_max_expression
Generate an expression which is like min(lhs, rhs) if op is ‘<’ or max(lhs, rhs) if op is ‘>’. counter is an unique id. The rhs and lhs of the expression must have the same numerical type