bropkg/engine/eval

Procs

proc evalInfix(infixLeft, infixRight: Node; infixOp: InfixOp; scope: ScopeTable): bool {.
    ...raises: [], tags: [].}

Macros

macro isEqualBool(a, b: bool): untyped
macro isEqualFloat(a, b: float64): untyped
macro isEqualInt(a, b: int): untyped
macro isEqualString(a, b: string): untyped
macro isGreaterEqualInt(a, b: int): untyped
macro isGreaterInt(a, b: int): untyped
macro isLessEqualInt(a, b: int): untyped
macro isLessInt(a, b: int): untyped
macro isNotEqualBool(a, b: bool): untyped
macro isNotEqualFloat(a, b: float64): untyped
macro isNotEqualInt(a, b: int): untyped
macro isNotEqualString(a, b: string): untyped
macro mathAbs(x: float): untyped
macro mathAbs(x: int): untyped
macro mathCeil(x: float): untyped
Rounds x up to the next highest whole number.
macro mathClamp(x: float; min, max: int): untyped
Restricts x to the given range
macro mathEpsilon(x: float): untyped
macro mathFloor(x: float): untyped
macro mathHypot(x, y: float64): untyped
Computes the length of the hypotenuse of a right-angle triangle with x as its base and y as its height
macro mathLog(x, base: float): untyped
Computes the logarithm of x to base
macro mathRound(x: float): untyped
macro mathSin(x: float): untyped
macro mathTan(x: float): untyped