JSFoo 2015

The future of JavaScript

Mansi Shah

@eyeplusplus

Brewing JavaScript: Compile your own domain-specific language to JavaScript

Submitted Jul 29, 2015

Learn to write your own Compile-to-JavaScript language. Learn how compilers work at a higher level in JavaScript.

Outline

This talk demonstrates how a Lisp like language is parsed, how an abstract syntax tree (AST) is generated, and how JavaScript code is transpiled from the tree.
You will learn:

  1. Parsing a Lisp like language in JavaScript, in a functional manner
  2. ECMAScript Tree (ESTree) generation
  3. Implementing Lisp style Macros in the language
  4. Using escodegen to generate JavaScript from ESTree

Requirements

Minimal JavaScript and functional programming knowledge

Speaker bio

Mansi Shah, originally from Mumbai, is currently a student at Geekskool for its three month program. This talk is based on project work done by her and is available on Github.

Slides

https://prezi.com/nfx8cmq56h4p/brewing-javascript/

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more