<commit_before>/* 
 * TTModular Library
 * Copyright © 2010, <NAME>
 * 
 * License: This code is licensed under the terms of the "New BSD License"
 * http://creativecommons.org/licenses/BSD/
 */


#include "TTModular.h"

// Statics and Globals
static bool TTModularHasInitialized = false;

TTApplicationManagerPtr	TTModularApplications = NULL;

TTHashPtr TTModularNamespaces = NULL;

/****************************************************************************************************/

void TTModularInit()
{	
	// Initialized Foundation framework
	TTFoundationInit();
	
	// DEBUG
	TTObjectPtr test;
	TTValue v;
	TTObjectInstantiate(TTSymbol("string.test"), &test, kTTValNONE);
	test->test(v);
	
	if (!TTModularHasInitialized) {<commit_msg>Adding a way to launch test from Modular<commit_after>/* 
 * TTModular Library
 * Copyright © 2010, <NAME>
 * 
 * License: This code is licensed under the terms of the "New BSD License"
 * http://creativecommons.org/licenses/BSD/
 */


#include "TTModular.h"

// Statics and Globals
static bool TTModularHasInitialized = false;

TTApplicationManagerPtr	TTModularApplications = NULL;

TTHashPtr TTModularNamespaces = NULL;

/****************************************************************************************************/

void TTModularInit()
{	
	// Initialized Foundation framework
	TTFoundationInit();
	
	// DEBUG
	TTObjectPtr stringTest, nodeTest;
	TTValue v;
	TTObjectInstantiate(TTSymbol("string.test"), &stringTest, kTTValNONE);
	stringTest->test(v);
	
	TTObjectInstantiate(TTSymbol("nodelib.test"), &nodeTest, kTTValNONE);
	nodeTest->test(v);
	
	if (!TTModularHasInitialized) {
{'fraction_non_alphanumeric': 0.2214723926380368, 'fraction_numerical': 0.0049079754601227, 'mean_word_length': 5.603238866396761, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '3717107', 'n_tokens_mistral': 514, 'n_tokens_neox': 471, 'n_words': 118}