function lookupProcessor(list) {
	if (list instanceof Node)
		return returnText;

	var lookup = list[0];
	if (lookup instanceof Array) {
		return processors.fncall;
	}

	// TODO: evaluate the sanity of this.
	if (list[0].type == "string" || list[0].type == "number")
		return processors.refprop;

	var processor = macros[lookup.key];
	if (processor) return processor;

	processor = processors[lookup.key];
	if (processor) return processor;

	processor = processors[lookup.type];
	if (processor) return processor;

	return processors.fncall;
}
// as well as overload macro definitions.
as well as overload macro definitions.
as well as overload macro definitions .
function lookupProcessor(list) {
	if (list instanceof Node)
		return returnText;
	var lookup = list[0];
	if (lookup instanceof Array) {
		return processors.fncall;
	}
	if (list[0].type == "string" || list[0].type == "number")
		return processors.refprop;
	var processor = macros[lookup.key];
	if (processor) return processor;
	processor = processors[lookup.key];
	if (processor) return processor;
	processor = processors[lookup.type];
	if (processor) return processor;
	return processors.fncall;
}
function lookupProcessor ( list ) { if ( list instanceof Node ) return returnText ; var lookup = list [ 0 ] ; if ( lookup instanceof Array ) { return processors . fncall ; } if ( list [ 0 ] . type == "string" || list [ 0 ] . type == "number" ) return processors . refprop ; var processor = macros [ lookup . key ] ; if ( processor ) return processor ; processor = processors [ lookup . key ] ; if ( processor ) return processor ; processor = processors [ lookup . type ] ; if ( processor ) return processor ; return processors . fncall ; }
as well as overload macro definitions.
as well as overload macro definitions .
// TODO: evaluate the sanity of this.