A toy dynamic programming language written in Ruby
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

operators.rb 236B

1234567891011121314
  1. module AST::Operators
  2. ADD = :+
  3. SUBTRACT = :-
  4. MULTIPLY = :*
  5. DIVIDE = :/
  6. LESS_THAN = :<
  7. GREATER_THAN = :>
  8. LESS_THAN_OR_EQUAL = :<=
  9. GREATER_THAN_OR_EQUAL = :>=
  10. DOUBLE_EQUALS = :==
  11. OR = :or
  12. AND = :and
  13. NOT = :not
  14. end