2 from reader
import Reader
3 from scanner
import Scanner
4 from parser
import Parser
9 def scan(data
, Reader
=Reader
, Scanner
=Scanner
):
11 scanner
= Scanner(reader
)
14 def parse(data
, Reader
=Reader
, Scanner
=Scanner
, Parser
=Parser
):
16 scanner
= Scanner(reader
)
17 parser
= Parser(scanner
)