mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
MyParser: hook for external parser
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user