diff --git a/parser.py b/parser.py index 59e9002..eb626ef 100644 --- a/parser.py +++ b/parser.py @@ -493,15 +493,3 @@ class LLVMParser(object): """ return self.parser.parse(text, lexer=self.lexer) - - -if __name__ == '__main__': - p = LLVMParser() - p.build() - data = r''' -define void @tigermain (i64 %U_mainSL_8, i64 %U_mainDummy_9) { - %a = add i64 3, 5 ; please be 8 - ret i64 %a -} - ''' - print(p.parse(data))