Beispiel #1
0
try:
    pass
    # import psyco
    # psyco.full()
except:
    pass

if __name__ == "__main__":
    try:
        quex.DEFINITIONS.check()

        # (*) Test Exceptions __________________________________________________
        if   exception_checker.do(sys.argv):
            # Done: Tests about exceptions have been performed
            pass

        # (*) Query ____________________________________________________________
        elif query.do(sys.argv):    
            # Done: Queries about unicode sets and regular expressions
            pass

        # (*) The Real Job _____________________________________________________
        elif command_line.do(sys.argv):
            # To do: Interpret input files and generate code or drawings.
            core.do() 

    except BaseException as instance:
        exception_checker.handle(instance)


Beispiel #2
0
def do(simulated_argv):
    if command_line.do(simulated_argv):
        query.do()
Beispiel #3
0
    exception_checker.handle(instance)

try:
    pass
    # import psyco
    # psyco.full()
except:
    pass

if __name__ == "__main__":
    try:
        quex.DEFINITIONS.check()

        # (*) Test Exceptions __________________________________________________
        if exception_checker.do(sys.argv):
            # Done: Tests about exceptions have been performed
            pass

        # (*) Query ____________________________________________________________
        elif query.do(sys.argv):
            # Done: Queries about unicode sets and regular expressions
            pass

        # (*) The Real Job _____________________________________________________
        elif command_line.do(sys.argv):
            # To do: Interpret input files and generate code or drawings.
            core.do()

    except BaseException as instance:
        exception_checker.handle(instance)
Beispiel #4
0
def do(simulated_argv):
    if command_line.do(simulated_argv):
        query.do()