<commit_before>// TRE to PHP transpiler
// Copyright (c) 2010 <NAME> <<EMAIL>>

function &T37funref_exec ($f, $g)
{
	$a = func_get_args ();
	array_unshift ($a, $g);
	return call_user_func_array ($f, $a);
}

function &T37funref ($f, $g)
{
	$r->treArgs = userfun_cdr ($f->treArgs);
	return $r;
}

class T37cons {
	public function __construct (&$a, &$b)
	{
		$this->a =& $a;
		$this->b =& $a;
	}
}

// All symbols are stored in this array for reuse.
$SYMBOLS = Array ();

class __tresym {
	public function __construct ($name, &$pkg)
	{
		$this->n =& $name;
		$this->v = NULL;
		$this->f = NULL;
		$this->p =& $pkg;
	}

	public function & setName ($x)
	{
		return $this->n = $x;<commit_msg>Function reference is now an object.<commit_after>// TRE to PHP transpiler
// Copyright (c) 2010 <NAME> <<EMAIL>>

$TRE_FUNCTION_ARGS = Array ();

class __funref {
	public function __construct ($name, &$ghost)
	{
		$this->n =& $name;
		$this->g =& $ghost;
	}

	public function & getName ()
	{
		return $this->n;
	}

	public function & getGhost ()
	{
		return $this->v;
	}
}

function &T37funref_exec ($f, $g)
{
	$a = func_get_args ();
	array_unshift ($a, $g);
	return call_user_func_array ($f, $a);
}

class T37cons {
	public function __construct (&$a, &$b)
	{
		$this->a =& $a;
		$this->b =& $a;
	}
}

// All symbols are stored in this array for reuse.
$SYMBOLS = Array ();

class __tresym {
	public function __construct ($name, &$pkg)
	{
		$this->n =& $name;
		$this->v = NULL;
		$this->f = NULL;
		$this->p =& $pkg;
	}

	public function & setName ($x)
	{
		return $this->n = $x;
{'fraction_non_alphanumeric': 0.19272495213784302, 'fraction_numerical': 0.01148691767708998, 'mean_word_length': 3.404494382022472, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3511465', 'n_tokens_mistral': 695, 'n_tokens_neox': 643, 'n_words': 170}