<commit_before>// Copyright (c) 2015 The kram Project Developers. All rights reserved.
// See the LICENSE file at the top-level directory of this distribution.
// This file may not be copied, modified, or distributed except according to those terms.

// #include <iostream>
#include "../../output.h"
#include "../../value.h"

extern Output * kram_output_stream;

class IO: public Value {

	static Value* debug(Value* self, std::vector<Value*> val) {
		
		for (auto i : val) {
			(*kram_output_stream) << i->print(true) << "\n";
		}

		return new Value();
	}

	static Value* println(Value* self, std::vector<Value*> val) {
		
		for (auto i : val) {
			(*kram_output_stream) << i->print();
		}

		(*kram_output_stream) << "\n";

		return new Value();
	}

	static Value* print(Value* self, std::vector<Value*> val) {
		
		for (auto i : val) {
			(*kram_output_stream) << i->print();
		}

		return new Value();
	}

	public:
		void init() {
			this->add_method("Debug", this->debug);
			this->add_method("Println", this->println);
			this->add_method("Print", this->print);
		}
};<commit_msg>Removed unused include<commit_after>// Copyright (c) 2015 The kram Project Developers. All rights reserved.
// See the LICENSE file at the top-level directory of this distribution.
// This file may not be copied, modified, or distributed except according to those terms.

#include "../../output.h"
#include "../../value.h"

extern Output * kram_output_stream;

class IO: public Value {

	static Value* debug(Value* self, std::vector<Value*> val) {
		
		for (auto i : val) {
			(*kram_output_stream) << i->print(true) << "\n";
		}

		return new Value();
	}

	static Value* println(Value* self, std::vector<Value*> val) {
		
		for (auto i : val) {
			(*kram_output_stream) << i->print();
		}

		(*kram_output_stream) << "\n";

		return new Value();
	}

	static Value* print(Value* self, std::vector<Value*> val) {
		
		for (auto i : val) {
			(*kram_output_stream) << i->print();
		}

		return new Value();
	}

	public:
		void init() {
			this->add_method("Debug", this->debug);
			this->add_method("Println", this->println);
			this->add_method("Print", this->print);
		}
};
{'fraction_non_alphanumeric': 0.17175925925925925, 'fraction_numerical': 0.003703703703703704, 'mean_word_length': 3.5209205020920504, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2099407', 'n_tokens_mistral': 798, 'n_tokens_neox': 709, 'n_words': 212}