parameters: (args)
return_statement: return 0
docstring: Process one file and generate signatures.
docstring_summary: Process one file and generate signatures.
docstring_tokens: Process one file and generate signatures .
function: def main(args):
  	"""Process one file and generate signatures."""
  	if len(args) != 3:
  		return usage(args)
  
  	stdlib_dir = args[1]
  	out_name   = args[2]
  	strict     = True
  
  	try:
  		parser = SignatureParser(args[0], stdlib_dir, out_name, strict)
  		parser.parse("math")
  		parser.parse("state")
  		parser.parse("df")
  		parser.parse("tex")
  		parser.parse("scene")
  		parser.parse("debug")
  		parser.parse_builtins(
  			"""
  			// spectrum constructor
  			export color color(float[<N>] wavelenghts, float[N] amplitudes) uniform [[ intrinsic() ]];
  
  			""")
  		parser.finalize()
  
  	except IOError as e:
  		error(str(e))
  		return 1
  	return 0
function_tokens: def main ( args ) : if len ( args ) != 3 : return usage ( args ) stdlib_dir = args [ 1 ] out_name = args [ 2 ] strict = True try : parser = SignatureParser ( args [ 0 ] , stdlib_dir , out_name , strict ) parser . parse ( "math" ) parser . parse ( "state" ) parser . parse ( "df" ) parser . parse ( "tex" ) parser . parse ( "scene" ) parser . parse ( "debug" ) parser . parse_builtins ( """
  			// spectrum constructor
  			export color color(float[<N>] wavelenghts, float[N] amplitudes) uniform [[ intrinsic() ]];
  
  			""" ) parser . finalize ( ) except IOError as e : error ( str ( e ) ) return 1 return 0