Closed stevan closed 11 years ago
The way ranges are handled in the parser is not ideal, currently it only supports Integers and can only parse literals and variables.
Here is the parser code:
https://github.com/MoeOrganization/moe/blob/master/src/main/scala/org/moe/parser/Expressions.scala#L43
And here is the interpreter code:
https://github.com/MoeOrganization/moe/blob/master/src/main/scala/org/moe/interpreter/Interpreter.scala#L139
https://github.com/MoeOrganization/moe/pull/54 adds support for string ranges.
I think this is good enough to close now
The way ranges are handled in the parser is not ideal, currently it only supports Integers and can only parse literals and variables.
Here is the parser code:
https://github.com/MoeOrganization/moe/blob/master/src/main/scala/org/moe/parser/Expressions.scala#L43
And here is the interpreter code:
https://github.com/MoeOrganization/moe/blob/master/src/main/scala/org/moe/interpreter/Interpreter.scala#L139