Skip to content
This repository was archived by the owner on Feb 19, 2018. It is now read-only.

Parser: jashkenas Coffeescript

Andre Lewis edited this page Sep 10, 2016 · 10 revisions
  • jashkenas/coffeescript === A breakdown of the original Coffeescript parser, to help understand and eventually provide a guide to adding to. Based on the thread here:

The original Coffeescript Parser

** Pros

  • It gets the job done.
  • There’s coffeelint.
  • The "standard" to ensure compatibility with.

** Cons

  • Codebase is crufty and convoluted
  • Many pull requests are mired and may never be integrated
  • Adding new features is complicated
  • It is too permissive: It accepts more input code as legal than was intended, while still outputting valid JavaScript. This has led to disagreements on what is legal CoffeeScript and what is not.
  • Parser Overview

  • Parser Details: Excerpt from CS Pull Request by JimPanic

** ES2013 Compliance: ** ES2015 compliance:

Clone this wiki locally