import earley_parser
import lex
import cpp_grammar
from trans import *
Trans = trans()
myParser = earley_parser.Parser(lex.CppLexAnalyzer(), cpp_grammar.set_cpp())
f = open('main.cpp', 'r')
parsed = myParser.parse(f)
print(parsed)
Trans.late(parsed)
f.close()

e3ee9078fe8e2f5ce473719e15b5a59aac2e4586
<mask token>

<mask token>
print(parsed)
Trans.late(parsed)
f.close()

<mask token>
Trans = trans()
myParser = earley_parser.Parser(lex.CppLexAnalyzer(), cpp_grammar.set_cpp())
f = open('main.cpp', 'r')
parsed = myParser.parse(f)
print(parsed)
Trans.late(parsed)
f.close()

import earley_parser
import lex
import cpp_grammar
from trans import *
Trans = trans()
myParser = earley_parser.Parser(lex.CppLexAnalyzer(), cpp_grammar.set_cpp())
f = open('main.cpp', 'r')
parsed = myParser.parse(f)
print(parsed)
Trans.late(parsed)
f.close()
