1
0
forked from GitHub/gf-core
Files
gf-core/src/GF/API/MyParser.hs
2005-02-09 11:46:54 +00:00

26 lines
637 B
Haskell

----------------------------------------------------------------------
-- |
-- Module : (Module)
-- Maintainer : (Maintainer)
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date $
-- > CVS $Author $
-- > CVS $Revision $
--
-- template to define your own parser
-----------------------------------------------------------------------------
module MyParser (myParser) where
import ShellState
import CFIdent
import CF
import Operations
-- type CFParser = [CFTok] -> ([(CFTree,[CFTok])],String)
myParser :: StateGrammar -> CFCat -> CFParser
myParser gr cat toks = ([],"Would you like to add your own parser?")