【发布时间】:2011-03-21 00:19:38
【问题描述】:
我正在阅读http://debasishg.blogspot.com/2008/04/external-dsls-made-easy-with-scala.html,我正在尝试查找有关“
def trans = "(" ~> repsep(trans_spec, ",") <~ ")"
我有一些合理的猜测与 product("~") 运算符以及列表有关?
- 它有什么作用?
- 以后如何查找这样的运算符?例如,谷歌“
编辑:
在Scala combinator parsers - distinguish between number strings and variable strings找到“
问题 2 仍然存在
【问题讨论】: