Class: Calvin::Core

Inherits:
Object
  • Object
show all
Defined in:
lib/calvin/core.rb

Constant Summary collapse

ImpossibleException =
Exception.new
BinaryOperators =
{ add: "+", multiply: "*", subtract: "-", divide: "/", power: "^", modulo: "%" }.invert
ComparisonOperators =
{ eq: "=", neq: "<>", lte: "<=", lt: "<", gte: ">=", gt: ">" }.invert
Folders =
{ foldr: "\\:", foldl: "\\" }.invert
Mappers =
{ map: "@" }.invert