Changeset 14933 for src/Pugs/Parser

Show
Ignore:
Timestamp:
12/21/06 04:43:12 (2 years ago)
Author:
luqui
Message:

Implemented XX (but not the metaoperator).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Parser/Operator.hs

    r14661 r14933  
    2121 
    2222listInfix :: [RuleOperator Exp] 
    23 listInfix = listOps (opWords "Y \xA5 ==> <==")  -- List infix 
     23listInfix = listOps (opWords "Y \xA5 XX ==> <==")  -- List infix 
    2424 
    2525opWords :: String -> Set OpName 
     
    737737defaultInfixOps = opWords $ concat 
    738738    [ " ** * / % x xx +& +< +> ~& ~< ~> " 
    739     , " + - ~ +| +^ ~| ~^ ?| , Y \xA5 " 
     739    , " + - ~ +| +^ ~| ~^ ?| , Y \xA5 XX " 
    740740    , " & ^ | " 
    741741    , " => = "