4 from compiler
import compile, visitor
9 opts
, args
= getopt
.getopt(sys
.argv
[1:], 'vqd')
13 visitor
.ASTVisitor
.VERBOSE
= visitor
.ASTVisitor
.VERBOSE
+ 1
15 if sys
.platform
[:3]=="win":
16 f
= open('nul', 'wb') # /dev/null fails on Windows...
18 f
= open('/dev/null', 'wb')
23 print "no files to compile"
28 compile(filename
, DISPLAY
)
30 if __name__
== "__main__":