code: function main() {
  	var fpath;
  	var fopts;
  	var conf;
  	var out;
  	var len;
  	var i;
  
  	fopts = {
  		'encoding': 'utf8'
  	};
  
  	len = completions.length;
  	debug( 'Generating %d completions files...', len );
  
  	for ( i = 0; i < len; i++ ) {
  		conf = completions[ i ];
  
  		debug( 'Generating completions (%s)...', conf.name );
  		out = {
  			'scope': conf.scope,
  			'completions': conf.completions
  		};
  		out = JSON.stringify( out, null, '\t' );
  
  		debug( 'Writing completions file...' );
  		fpath = join( DIR, 'stdlib-'+conf.name+'.sublime-completions' );
  		writeFileSync( fpath, out, fopts );
  
  		debug( 'Successfully generated completions file.' );
  	}
  	debug( 'Finished generating completions files.' );
  }
docs: MAIN // 
  Main execution sequence.
  
  @private