Skip to content

Expression Langauge

Matt Larsen edited this page Aug 25, 2019 · 14 revisions

Integral Types

  • integer
  • double
  • bool: Note: only produced as the result of a comparison. Not sure we need keywords true and false since I don't see how we would use it in practice.

Binary Operators

  • Math: -, +, *, /, %
  • Comparison: ==, >=, <=, !=, >, <
  • Boolean: not implemented. We had the goal of being python like so maybe these should be and, or , and not, as opposed to &&, ||, and !. For JIT, we can just substitute whatever we need back in. Note: not is a unary operator.

Clone this wiki locally