just tried to use jison, and this got me lost for hours. $ doesn't seem to work. jison documentation points to bison, where $ is widely used. in the samples here the \n+ is been used instead.