1. Alex Suraci
  2. anatomy

Commits

Alex Suraci  committed bb01c60

removed parser for operator/keyword references now that we don't need it

  • Participants
  • Parent commits 63daa2e
  • Branches default

Comments (0)

Files changed (1)

File src/Anatomy/Parser.hs

View file
                     pExpr
                 ]
 
-            -- operator reference
-            , try $ fmap (\x -> Atomo $ AT.Dispatch Nothing (AT.keyword [x] [])) $
-                between (char '(') (char ')')
-                    (many1 (satisfy AB.isOpLetter))
-
-            -- keyword reference
-            , try $ fmap (\ks -> Atomo $ AT.Dispatch Nothing (AT.keyword ks [])) $
-                between (char '(') (char ')')
-                    (many1 (AB.identifier >>= \n -> char ':' >> return n))
-
             -- single reference; trailing punctuation is ignored
             , do
                 ident <- AB.anyIdent