Wait, why is the unroll() necessary? A string is a 1D array of characters, it shouldn't even be possible to unroll it seeing as unrolling is for multidimensional arrays...So yeah, I is comfuzed.
Oh, I think you slightly misunderstood the domain of NTML; it's not conveniently aliased markup like Markdown or Wikitext, but instead more like HTML or BBCode.I did restore NTML's wiki page a while back, so anyone who wants to can download the old, hopefully still working, version of the tech demo. NTML and the handler script are in dire need of updating to be cleaner and easier to extend in the future.
Hey, out of curiosity, is Link prone to crashing Sphere? Lately Spectacles has started causing random Sphere crashes, but the only major change I've made recently is the addition of Link, so...
// this:for (var i = 0; i < 1000; ++i) Link(array).filter().map().whatever().each();// versus this:var l = Link(array).filter().map().whatever();for (var i = 0; i < 1000; ++i) l.each();
Link(array).where(function(i) { return i %2 == 0; }).each();// versus:var f = function(i) { i%2 == 0; };Link(array).where(f).each(); // later on.
Faulting application name: engine.exe, version: 1.5.0.0, time stamp: 0x487de926Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000Exception code: 0xc0000005Fault offset: 0x00000000Faulting process id: 0x1940Faulting application start time: 0x01cf424eb43b96a6Faulting application path: C:\Sphere1.5\engine.exeFaulting module path: unknownReport Id: f3a6c5b5-ae41-11e3-826c-a088692e88a2Faulting package full name: Faulting package-relative application ID: