     # escape policy for string constant should apply for regex
   
   describe "Pipes", ()->
-    it "should parse 'a | b | c' as 5 tokens", ()->
+    it "should tokenize 'a | b | c' as 5 tokens", ()->
       tl = g._tokenize "a | b | c"
       assert.equal tl.length, 5
   
   describe "TODO", ()->
   
-  it "public endpoint should works", (done)->
-    await pub.tokenize "id", {}, defer(err, v)
-    assert.equal v.length, 1
-    assert.equal v[0][0].mx_hash.hash_key, "identifier"
-    
-    await pub.tokenize "wtf кирилица", {}, defer(err, v)
-    assert err?
-    
-    done()
   
      assert.equal tl[1][1].mx_hash.hash_key, "binary_operator"
      assert.equal tl[2][0].mx_hash.hash_key, "decimal_literal"
    
    it "should parse '1e+' as 3 tokens", ()->
      tl = g._tokenize "1e+"
      assert.equal tl.length, 3
      assert.equal tl[0][0].mx_hash.hash_key, "decimal_literal"

      assert.equal tl[6][0].mx_hash.hash_key, "decimal_literal"
      assert.equal tl[7][0].mx_hash.hash_key, "comment"
    
    it "should tokenize '### 2 + 2 = 4\\n4 + 4 = 8\\n###' as comment", ()->
      tl = g._tokenize "### 2 + 2 = 4\n4 + 4 = 8\n###"
      assert.equal tl.length, 1
      assert.equal tl[0][0].mx_hash.hash_key, "comment"
    
    it "should tokenize '####################### COMMENT\\n' as comment", ()->
      tl = g._tokenize "####################### COMMENT\n"
      assert.equal tl.length, 1
      assert.equal tl[0][0].mx_hash.hash_key, "comment"
      assert.equal tl[0][0].value, "####################### COMMENT\n"
  
  describe "Whitespace", ()->
    it "should tokenize \\n as 0 tokens", ()->
      tl = g._tokenize "\n"
      assert.equal tl.length, 0
    
    it "should tokenize \\n1 as 2 tokens", ()->
      tl = g._tokenize "\n1"
      assert.equal tl.length, 2
    
    it "should tokenize \\n\\n1 as 2 tokens", ()->
      tl = g._tokenize "\n\n1"
      assert.equal tl.length, 2
    
    it "should tokenize \\n\\n\\n1 as 2 tokens", ()->
      tl = g._tokenize "\n\n\n1"
      assert.equal tl.length, 2
    
    it "should tokenize 'a + b' as 'a', '+', 'b' with tail_space 1 1 0", ()->
      tl = g._tokenize "a + b"
      assert.equal tl.length, 3
      assert.equal tl[0][0].value, "a"
