MyParser: hook for external parser

This commit is contained in:
aarne
2004-05-27 08:28:43 +00:00
parent c672653231
commit 0f8955da68
3 changed files with 17 additions and 1 deletions

View File

@@ -44,6 +44,8 @@ import NewerChartParser
-- see also customGrammarPrinter
import qualified ConvertGrammar as Cnv
import MyParser
import MoreCustom -- either small/ or big/. The one in Small is empty.
import UseIO
@@ -257,6 +259,7 @@ customParser =
customData "Parsers, selected by option -parser=x" $
[
(strCI "chart", chartParser . stateCF)
,(strCI "myparser", myParser)
-- add your own parsers here
]
-- 21/5-04, peb: