hertzscript-compiler
Version:
Produces preemptible JavaScript coroutines which conform to the HertzScript specification.
4 lines • 337 B
JavaScript
var global = typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : {};
const hzDispatcher = require("hertzscript-dispatcher");
const hzDisp = new hzDispatcher(("hzTknLib" in global) ? global.hzTknLib : null);
if (!("hzTknLib" in global)) global.hzTknLib = hzDisp.tokenLib;