Ingvar Stepanyan

JavaScript developer, speaker and reverse engineer. D2D programmer. Sometimes human.

Tag: AST

  1. aster

    View on GitHub aster - AST-based code builder What's that aster is reactive builder specialized for code processing and transformations. It's built with debugging in mind and makes building JavaScript code more reliable and faster. You may want to check out presentation below: Why one more Source maps are a…

    JavaScript, AST, Build

  2. Using Mozilla AST with UglifyJS

    Hi there. I'm continuing my work on tools for manipulating SpiderMonkey AST - as creating new as well as improving existing ones. This time it was UglifyJS. It's great JavaScript minifier, but what always bothered me (and other developers) was incompatibility of it's internal AST representation and Mozilla format, and…

    JavaScript, AST

  3. Added ES6 support to Acorn

    Worked on and added following ES6 features support to Acorn - small, fast JavaScript parser: Unicode Code Point Escape Sequences (\u{ABCDEF}). Numeric Literals (octal, binary). Arrow Functions. Spread Element. Classes. Destructuring assignments. Computed object properties. Object methods. Shorthand object properties. for (... of ...) loops. Array Comprehensions. Modules. (newest specs) Template…

    JavaScript, AST, ES6, Parsers

  4. A few more words on Acorn-JSX

    Initially this was part of my email response to Lou Husson after mentioning Acorn-JSX in Facebook React Community Round-up #20 and reaching me out, but decided that someone else might find it useful too. UPD (June 12, 2015): Facebook deprecates own parsing and transformation tools in favor of Acorn, Acorn-JSX…

    JavaScript, AST, React, JSX, ES6, Parsers, Transpilers

  5. Alternative, faster React.js JSX parser

    View on GitHub This is modification of Acorn - a tiny, fast JavaScript parser, written completely in JavaScript. UPD (June 12, 2015): Facebook deprecates own parsing and transformation tools in favor of Acorn, Acorn-JSX and Babel. Looks like I'll need to be more careful about updates starting from now 😜 It…

    JavaScript, AST, React, JSX, Parsers, Transpilers

  6. Proper (AST-based) JavaScript code templating

    View on GitHub Proper JavaScript code templating with source maps support. This module allows to generate JavaScript AST from code template and AST nodes as substitutions. This is more proper way of code templating since it works on AST not on code string, and thus preserves locations which allow to…

    JavaScript, AST, Templates