-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskriptonus.js
executable file
·57 lines (50 loc) · 1.72 KB
/
skriptonus.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
SKRIPTONUS - application core system, for code poets, fans of darkness and very futuristic projects, initially target skeleton for Anubis project
Copyright (C) 2022 Sett Sarverott
*/
const vm=require("vm");
const fs=require("fs");
const path=require("path");
const {EventEmitter, captureRejectionSymbol}=require('events');
//const helpingSet=;
//const ignitionSet=;
//const FatumConsequencion=require("./fatum-consequencion.js");
//global.creationPhillars=new FatumConsequencion();
class Skriptonus extends EventEmitter{
constructor(enchantmentObject, spellPath){
super();
this.config=enchantmentObject;
this.location=spellPath
if(enchantmentObject.hasOwnProperty("summon-name"))this.name=enchantmentObject["summon-name"];
else this.name=Skriptonus.executeBaptism;
}
static include(...extendingPaths){
extendingPaths.forEach(
(script)=>Object.assign(Skriptonus, require(script))
);
}
static genesisDependencies(){
Skriptonus.include(
'./standard-equations-extension.js',
'./edged-space-scafolding.js',
'./small-cosmic-debugger.js',
'./universe-initialisation-mechanics.js',
'./realm-tree-branching.js'
);
}
static theBigBang(){
Skriptonus.debug("BEG");
//console.log("")
Skriptonus.defineSingularityPoint(path.dirname(__dirname));
Skriptonus.plantBearing(path.join(__dirname, "seed-of-realm.json"));
Skriptonus.castNature();
Skriptonus.buildSkeletonTree();
//console.log(this.ygdrasilion.rootSheme);
console.log(this.ygdrasilion.rootSheme);
console.log(this);
console.log(this.ygdrasilion.branchShematics);
Skriptonus.debug("END");
}
}
//Skriptonus.plantBearing("./seed-of-skriptonus.json")
module.exports=Skriptonus;