         {type:'constraint',cssText:"#box1.width >= #box2.width;"}
         {type:'directive', name:'horizontal', terms:"|-[#box1]-[#button1]-| in(#dialog)"}        
       ]
+      
+  
+  
+  describe "Can parse...", ->
+    
+    canParse "mixed",    
+      """
+      @horizontal [#b1][#b2];
+    
+      #box[right] == #box2[left];
+    
+      #main {
+      
+        line-height: >= [col-size];
+      
+        @if [target] >= 960 {      
+          width: == [big];
+        }
+        @else [target] >= 500 {      
+          width: == [med];
+        }
+        @else {      
+          right: == ::window[left];
+        }
+        
+      }
+      
+      """
   
   
              selectors: ['h1']
              rules: [
                {type:'directive',name:"vertical",terms:".word"}
                {type:'style', key:'color', val: 'red'}
                {type:'constraint',cssText:'::[height] == ::parent[height];'}
                {                  
                  type: "ruleset"

      expect(statements).to.be.an 'array'
    it '/ should parse correctly', ->
      expect(statements).to.eql target

canParse = (name,source) ->  
  statements = null  
  describe name, ->    
    it '/ should parse', ->
      #parser.constraintCount = 0
      #parser.blockCount = 0
      statements = parser.parse source
      expect(statements).to.be.an 'array'


describe 'GSS preparser ~', ->
  
