Codex Harmonia
git clone https://github.com/reidiiius/ozomahtli.git
Command-line
cd ozomahtli
:
node bin/prelude.js
:
node bin/prelude.js -h
:
node bin/prelude.js n0 j3
:
node bin/prelude.js -dc n0 j3
:
node bin/prelude.js -lt n0 j3
:
node bin/prelude.js -zh n0 j3
:
node bin/prelude.js bfbfb n0 j3
:
node bin/prelude.js cgdae n0 j3
:
node bin/prelude.js eadgbe n0 j3
:
node bin/prelude.js fkbjdn n0 j3
:
node bin/prelude.js -dc eadgbe n0 j3
:
node bin/prelude.js -lt eadgbe n0 j3
:
node bin/prelude.js -zh eadgbe n0 j3
:
node bin/prelude.js tonal
:
node bin/prelude.js -dc tonal
:
node bin/prelude.js -lt tonal
:
node bin/prelude.js -zh tonal
:
node bin/prelude.js group yq
:
node bin/prelude.js -dc group Q4
:
node bin/prelude.js -lt group NpFe
:
node bin/prelude.js -zh group 镎铁
:
node bin/prelude.js query 56
:
node bin/prelude.js query '^[jk]..$'
:
node bin/prelude.js gamut
:
node bin/prelude.js -dc gamut
:
node bin/prelude.js -lt gamut
:
node bin/prelude.js -zh gamut
:
node bin/prelude.js cgdae gamut
:
node bin/prelude.js -dc cgdae gamut
:
node bin/prelude.js -lt cgdae gamut
:
node bin/prelude.js -zh cgdae gamut | sensible-pager
REPL
node
;
let oz, ns = {};
;
(async ()=> { oz = await import('./lib/rhinestone.js').catch(()=> {}) })();
;
typeof oz === 'object' ? 'success' : 'failure';
;
ns.show = function(txt) { process.stdout.write(txt) };
;
ns.args = [process.title, process.execPath, '-dc', 'eadgbe'];
;
ns.recs = oz.Panopolis.estates(ns.args);
;
oz.Panopolis.inspecto(ns.recs);
;
ns.show(oz.Panopolis.dashboard());
;
ns.args.push('n0'); ns.args.push('j3');
;
ns.recs = oz.Panopolis.estates(ns.args);
;
console.table(ns.recs);
;
ns.show(oz.Panopolis.retrieve(ns.recs));
;
ns.show(oz.Panopolis.distill(ns.recs));
;
ns.funks = oz.Panopolis.utensils;
;
console.log('\n\t%s\n', ns.funks.join(' '));
;
ns.args.pop(); ns.args.pop();
;
ns.args.push('group'); ns.args.push('Q4');
;
ns.recs = oz.Panopolis.estates(ns.args);
;
ns.show(oz.Panopolis.vulture(ns.recs));
;
ns.args.pop(); ns.args.pop();
;
ns.args.push('j56'); ns.args.push('k56');
;
ns.recs = oz.Panopolis.estates(ns.args);
;
ns.show(oz.Panopolis.retrieve(ns.recs));
;
ns.args.pop(); ns.args.pop();
;
ns.args.push('query'); ns.args.push('56');
;
ns.recs = oz.Panopolis.estates(ns.args);
;
ns.show(oz.Panopolis.panther(ns.recs));
;
ns.args.pop(); ns.args.pop();
;
ns.args.push('j256'); ns.args.push('k256');
;
ns.recs = oz.Panopolis.estates(ns.args);
;
ns.show(oz.Panopolis.retrieve(ns.recs));
;
ns.kinds = oz.Panopolis.vexillar;
;
console.log('\n\t%s\n', ns.kinds.join(' '));
;
ns.cord = oz.Panopolis.zosimos['n0'];
;
ns.mask = oz.Panopolis.garment('-zh');
;
ns.subs = oz.Panopolis[ns.mask];
;
console.log(oz.Panopolis.crucible(ns.cord, ns.subs));
;
ns.yarn = oz.Panopolis.zosimos['j3'];
;
ns.pegs = oz.Panopolis.pitches;
;
console.log('\n\t%s\n', ns.pegs.join(' '));
;
ns.gear = oz.Panopolis.quintet['gn'];
;
console.log(oz.Panopolis.machine(ns.yarn, ns.gear));
;
ns.harps = Object.keys(oz.Panopolis.pegbox);
;
console.log('\n\t%s\n', ns.harps.join(' '));
;
ns.tune = 'cgdae';
;
console.log(oz.Panopolis.lattice(ns.yarn, ns.tune), '\n');
;
ns.args.pop(); ns.args.pop();
;
ns.args.push('k6'); ns.args.push('j5');
;
console.log('\n\t', ...ns.args, '\n');
;
ns.show(oz.Panopolis.entryway(ns.args));
;
ns.args[2] = '-lt'; ns.args[3] = 'beadgcf';
;
console.log('\n\t', ...ns.args, '\n');
;
ns.show(oz.Panopolis.entryway(ns.args));
;
ns.args.push('tonal');
;
ns.show(oz.Panopolis.entryway(ns.args));
;
.exit
MIT License