Help for this page
class Grammar { token ws { <!ww> \s* } }
token ww { <after \w> <before \w> }
grammar Calc { token ws { \s* } # rest of your code here without any modifications