File ‹tools/mlyacc/src/link.ML›
local
structure LrVals = MlyaccLrValsFun(structure Token = LrParser.Token
structure Hdr = Header)
structure Lex = LexMLYACC(structure Tokens = LrVals.Tokens
structure Hdr = Header)
structure Parser = JoinWithArg(structure Lex=Lex
structure ParserData = LrVals.ParserData
structure LrParser= LrParser)
structure ParseGenParser =
ParseGenParserFun(structure Parser = Parser
structure Header = Header)
structure MakeLrTable = mkMakeLrTable(structure IntGrammar =IntGrammar
structure LrTable = LrTable)
structure Verbose = mkVerbose(structure Errs = MakeLrTable.Errs)
structure PrintStruct =
mkPrintStruct(structure LrTable = MakeLrTable.LrTable
structure ShrinkLrTable =
ShrinkLrTableFun(structure LrTable=LrTable))
in
structure ParseGen = ParseGenFun(structure ParseGenParser = ParseGenParser
structure MakeTable = MakeLrTable
structure Verbose = Verbose
structure PrintStruct = PrintStruct
structure Absyn = Absyn)
end