Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Basics (retired) First Steps in React Our First Application

Cory Maloy
Cory Maloy
1,855 Points

He keeps saying compile, but I think he means transpile..?

Babel is a transpiler I thought.

1 Answer

Hey Corey,

Good question. This article says:

(...) transpiling is a specific kind of compiling.

  • Compiling is the general term for taking source code written in one language and transforming into another.

  • Transpiling is a specific term for taking source code written in one language and transforming into another language that has a similar level of abstraction.

So basically compiling can be (and is used - look on the babel website) as a blanket term for converting code from any one language into any other language. Jim is correct in saying compiling. But you are also correct in saying transpiling as JSX (as an extension to ECMAScript) and Javascript are both similarly high level abstraction languages.