Programming language · 2009

CoffeeScript

Programming language which compiles to JavaScript.

Official site ›
CoffeeScript logo
CoffeeScriptWritten in
2009First released
Jeremy AshkenasDeveloper
dynamicTyping
MIT LicenseLicense
Built fromInfluenced CoffeeScript CoffeeScriptJavaScriptRubyPythonSmalltalkHaskellJavaScript
CompilerInfluenceTranspile
Replacedverbose early-2010s JavaScript syntax
Being replaced byES6 JavaScript and TypeScript, which absorbed most of its ideas

What is CoffeeScript written in?

The CoffeeScript compiler is written in CoffeeScript (documented). CoffeeScript is self-hosting.

Quick Facts

Designed by
Jeremy Ashkenas
First released
2009
Typing
dynamic
License
MIT License
Filename extension
.coffee

About CoffeeScript

CoffeeScript is a programming language which compiles to JavaScript. It is a dynamically typed language that compiles (transpiles) into another language to run. It supports imperative, object-oriented, and functional programming. Transpiling means the compiler emits source in another high-level language rather than machine code, so the output then runs on that language's runtime.

CoffeeScript first appeared in 2009 and was designed by Jeremy Ashkenas.

How CoffeeScript is implemented

In the Language Lineage dataset, CoffeeScript is self-hosting, so its own compiler is written in CoffeeScript itself. Reaching self-hosting, where a language is mature enough to compile itself, is a milestone that proves the language can handle a large, real-world program.

CoffeeScript in the language family tree

CoffeeScript drew on ideas from Haskell, JavaScript, Python, Ruby, and Smalltalk.

Sources: Wikipedia · Wikidata · Official site

Frequently Asked Questions

What language is CoffeeScript written in?
CoffeeScript is primarily implemented in CoffeeScript. See the implementation section above for details and source references.
What languages influenced CoffeeScript?
CoffeeScript was influenced by Haskell, JavaScript, Python among others. See the influence section above for the full list.
Is CoffeeScript self-hosting?
Yes, CoffeeScript is self-hosting, its compiler can compile itself.
When was CoffeeScript first released?
CoffeeScript was first released in 2009. It was designed by Jeremy Ashkenas.

Evidence Sources

Discover More

Embed this graph

Paste this iframe into any HTML page to show the CoffeeScript relationship graph.

<iframe src="https://www.languagelineage.org/embed?lang=coffeescript" width="100%" height="500" loading="lazy" style="border:0" title="CoffeeScript relationship graph"></iframe>

Please attribute the visualization to Language Lineage and link to the CoffeeScript source record.

Explore CoffeeScript in Graph →