Im reading http://debasishg.blogspot.com/2008/04/external-dsls-made-easy-with-scala.html and I am trying to find info on the "<~" operator, for example:
def trans = "(" ~> repsep(trans_spec, ",") <~ ")"
I have some reasonable guess that has something to do with the product("~") operator along with lists?
- What does it do?
- In the future, how do I lookup operators like that? It is no good to google "<~" for example.
EDIT:
Found the "<~" info in http://stackoverflow.com/questions/256694/scala-combinator-parsers-distinguish-between-number-strings-and-variable-string
Question 2 remains