<commit_before>kcats.defineModule(function() {
	var	stack = new kcats.types.stack();
	var dict = {};
	var variables = [];		// [0] = { name: ..., value: ... }
	var constants = {
		'FALSE': 0,
		'TRUE': -1
	};

	return {

		name: 'Forthish',
	
		startup: function () {
			kcats.print('module ' + this.name + ' starting up');
			this.defineDict();
			kcats.clearScreen();
			this.printGreeting();
		},
		
		printGreeting: function () {
			var s = '';
			s = 'Welcome to ' + this.name + '.\n';
			s += 'This module accepts a subset of Forth\'s syntax.\n';
			s += 'For examples, see:\n';
			//s += 'http://galileo.phys.virginia.edu/classes/551.jvn.fall01/primer.htm\n';
			s += 'http://thebeez.home.xs4all.nl/ForthPrimer/Forth_primer.html';
			kcats.print(s, true);
		},
		
		stackOk: function (min) {
			var min = min || 1;<commit_msg>kcats.print takes config object now<commit_after>kcats.defineModule(function() {
	var	stack = new kcats.types.stack();
	var dict = {};
	var variables = [];		// [0] = { name: ..., value: ... }
	var constants = {
		'FALSE': 0,
		'TRUE': -1
	};

	return {

		name: 'Forthish',
	
		startup: function () {
			kcats.print('module ' + this.name + ' starting up');
			this.defineDict();
			kcats.clearScreen();
			this.printGreeting();
		},
		
		printGreeting: function () {
			var s = '';
			s = 'Welcome to ' + this.name + '.\n';
			s += 'This module accepts a subset of Forth\'s syntax.\n';
			s += 'For examples, see:\n';
			//s += 'http://galileo.phys.virginia.edu/classes/551.jvn.fall01/primer.htm\n';
			s += 'http://thebeez.home.xs4all.nl/ForthPrimer/Forth_primer.html';
			kcats.print(s, { delay: true });
		},
		
		stackOk: function (min) {
			var min = min || 1;
{'fraction_non_alphanumeric': 0.20153211549793754, 'fraction_numerical': 0.011785503830288745, 'mean_word_length': 2.7986577181208054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7604408', 'n_tokens_mistral': 737, 'n_tokens_neox': 637, 'n_words': 134}