The Little Calculist
  • JavaScript’s two array types

    Jul 16, 2012 •

    Imagine a BitSet constructor with an overloaded API for setting bits:

    var bits = new BitSet();
    
    bits.set(4);
    bits.set([1, 4, 8, 17]);
    

    Read on →

  • Tweaking the JavaScript AST API

    Jul 3, 2012 •

    A couple years ago I created a JavaScript parser API and implemented SpiderMonkey’s Reflect.parse library. Since then, there have been a couple of pure JavaScript implementations of the API, including Zach Carter’s reflect.js and Ariya Hidayat’s Esprima parser.

    Read on →

  • Static module resolution

    Jun 29, 2012

    I haven’t spoken enough about the rationale for declarative, static module resolution in ES6 modules. Since multiple module systems exist in pure JS, the concept of modules that involve new syntax is coming across as foreign to people. I’d like to explain the motivation.

    Read on →

« Older Newer »

© David Herman - Powered by Jekyll & whiteglass - Subscribe via RSS