def run():
aparse = argparse.ArgumentParser(<EOL>description='<STR_LIT>', epilog='<STR_LIT>')<EOL>aparse.add_argument(<EOL>'<STR_LIT>', '<STR_LIT>', action='<STR_LIT:version>', version=VERSION_STR)<EOL>aparse.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store>",<EOL>type=str,<EOL>help="<STR_LIT>")<EOL>aparse.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>aparse.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>fgroup = aparse.add_argument_group('<STR_LIT>')<EOL>fgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>fgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>fgroup.add_argument('<STR_LIT>', '<STR_LIT>', help="<STR_LIT>", action="<STR_LIT:store_true>")<EOL>fgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>help="<STR_LIT>",<EOL>default=<NUM_LIT:2>)<EOL>dgroup = aparse.add_argument_group(<EOL>'<STR_LIT>', '<STR_LIT>'<EOL>'<STR_LIT>')<EOL>dgroup.add_argument('<STR_LIT>', '<STR_LIT>', action="<STR_LIT:store>", help="<STR_LIT>")<EOL>dgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>help="<STR_LIT>")<EOL>dgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>help="<STR_LIT>")<EOL>dgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>dgroup.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>group = aparse.add_argument_group('<STR_LIT>')<EOL>group.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>group.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>group.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>group.add_argument(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>action="<STR_LIT:store_true>",<EOL>default=False,<EOL>help="<STR_LIT>")<EOL>aparse.add_argument('<STR_LIT:target>', help="<STR_LIT>")<EOL>aparse.add_argument('<STR_LIT>', nargs='<STR_LIT:?>', help="<STR_LIT>")<EOL>args = aparse.parse_args()<EOL>try:<EOL><INDENT>if args.lex_only:<EOL><INDENT>lex = lexer.LessLexer()<EOL>ll = lex.file(args.target)<EOL>while True:<EOL><INDENT>tok = ll.token()<EOL>if not tok:<EOL><INDENT>break<EOL><DEDENT>if hasattr(tok,<EOL>"<STR_LIT>"):  <EOL><INDENT>print(tok, "<STR_LIT>", tok.lexer.lexstate)<EOL><DEDENT>else:<EOL><INDENT>print(tok)<EOL><DEDENT><DEDENT>print('<STR_LIT>')<EOL>sys.exit()<EOL><DEDENT>yacctab = '<STR_LIT>' if args.debug else None<EOL>scope = None<EOL>if args.include:<EOL><INDENT>for u in args.include.split('<STR_LIT:U+002C>'):<EOL><INDENT>if os.path.exists(u):<EOL><INDENT>p = parser.LessParser(<EOL>yacc_debug=(args.debug),<EOL>lex_optimize=True,<EOL>yacc_optimize=(not args.debug),<EOL>tabfile=yacctab,<EOL>verbose=args.verbose)<EOL>p.parse(filename=u, debuglevel=args.debug)<EOL>if not scope:<EOL><INDENT>scope = p.scope<EOL><DEDENT>else:<EOL><INDENT>scope.update(p.scope)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>sys.exit('<STR_LIT>' % u)<EOL><DEDENT>sys.stdout.flush()<EOL><DEDENT><DEDENT>p = None<EOL>f = formatter.Formatter(args)<EOL>if not os.path.exists(args.target):<EOL><INDENT>sys.exit("<STR_LIT>" % args.target)<EOL><DEDENT>if os.path.isdir(args.target):<EOL><INDENT>ldirectory(args.target, args.out, args, scope)<EOL>if args.dry_run:<EOL><INDENT>print('<STR_LIT>', file=sys.stderr)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>p = parser.LessParser(<EOL>yacc_debug=(args.debug),<EOL>lex_optimize=True,<EOL>yacc_optimize=(not args.debug),<EOL>scope=copy.deepcopy(scope),<EOL>verbose=args.verbose)<EOL>p.parse(filename=args.target, debuglevel=args.debug)<EOL>if args.scopemap:<EOL><INDENT>args.no_css = True<EOL>p.scopemap()<EOL><DEDENT>if not args.no_css and p:<EOL><INDENT>out = f.format(p)<EOL>if args.output:<EOL><INDENT>if not args.dont_create_dirs and not os.path.exists(<EOL>os.path.dirname(args.output)):<EOL><INDENT>try:<EOL><INDENT>os.makedirs(os.path.dirname(args.output))<EOL><DEDENT>except OSError as exc:  <EOL><INDENT>if exc.errno != errno.EEXIST:<EOL><INDENT>raise<EOL><DEDENT><DEDENT><DEDENT>with open(args.output, "<STR_LIT:w>") as f:<EOL><INDENT>f.write(out)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>print(out)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>except (KeyboardInterrupt, SystemExit, IOError):<EOL><INDENT>sys.exit('<STR_LIT>')<EOL><DEDENT>
Run compiler