A toy dynamic programming language written in Ruby
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
1234567891011121314 |
- module AST::Operators
- ADD = :+
- SUBTRACT = :-
- MULTIPLY = :*
- DIVIDE = :/
- LESS_THAN = :<
- GREATER_THAN = :>
- LESS_THAN_OR_EQUAL = :<=
- GREATER_THAN_OR_EQUAL = :>=
- DOUBLE_EQUALS = :==
- OR = :or
- AND = :and
- NOT = :not
- end
|