Skip to content

Transform with Babel in advance of JerryScript ES2015 partial support #172

@SergioMorchon

Description

@SergioMorchon
  1. Actually, we are transpiling and generating helpers with TypeScript.
  2. Nowdays, the state of the art is to split linting, type checking, transpilation and bundling into different tools/steps. Here we are mixing type-checking and transpilation.
    1.1. This is important because the used JS engine, jerryscript, supports not just full ECMAScript 5.1, but also some interesting features of ES2015 (you can se them listed in the release notes).

By using Babel to transform the code, we can customize which transformations we want, and skip the ones that JerryScript 2.1 already handles natively.

JerryScript support of ES2015 features

Use Babel + JerryScript following https://github.com/jerryscript-project/jerryscript/tree/v2.1.0/tools/babel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions