Skip to content

switch parser and tree walker dependencies for better future/feature support #11

Description

@hoschi

Babylon has neat things in my opinion:

  • plugin system which makes it easy to add new syntax which people probably use and compile it down with babel
  • support for more language which build on top of JS like Flow and TypeScript

I'm not sure with TypeScript support in Babylon means it works in Recast, see Recast ticket here.

Also I could not say with the documentation I found if nodes have more methods like babel provides. Things I saw like this example https://github.com/hoschi/babel-plugin-react-intl/blob/master/src/index.js#L269
Where you can gather the "binding" of a function call to find the module which this function was imported from.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions