从Parsekit: how to match individual quote characters? 如果你定义一个解析器: @start = int;
int = /[+-]?[0-9]+/
不幸的是它不会被解析带有 “+” 为前缀的任何整数,除非你包括: @numberState = "+" // at the top.
在上面的数字解析中,“符号”默认解析器甚至没有提及,但它仍
我不是在写文法超经验的,但让我们说我有一个记录类型类似这样的: (例子) record # 1 source ages params A = 1 and b = 2 fields are A, B, C with values 1, 2, 3;
record # 2;
record # 3 source ages;
record # 4 params A = 1 and b = 2 fiel