Help for this page

Select Code to Download


  1. or download this
    class Grammar {
       token ws {
           <!ww> \s*
       }
    }
    
  2. or download this
    token ww {
        <after  \w>
        <before \w>
    }
    
  3. or download this
    grammar Calc {
        token ws { \s* }
        # rest of your code here without any modifications