Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoffeeScript support #152

Open
usirin opened this issue Sep 19, 2016 · 2 comments
Open

CoffeeScript support #152

usirin opened this issue Sep 19, 2016 · 2 comments

Comments

@usirin
Copy link

usirin commented Sep 19, 2016

Hi,

Thanks for this awesome project. I have a quick question, i've been playing with astexplorer to add coffee-script support and i managed to get both coffee-script and decaffeinate parser working with astexplorer.

There is one thing i am not sure if it's right: I am using wzrd.in (browserify as a service) to load these parsers using scriptjs as I couldn't get them working with webpack via regular import/require.

Before trying to submit a PR, I wanted to ask (1) is coffee-script support considerable for astexplorer (2) is it ok to fetch parser scripts from other resources (3) if not what would be the correct way to implement this? (I tried to add folders under packages folder, but no luck)

@fkling
Copy link
Owner

fkling commented Sep 20, 2016

  1. Of course 😃 . Anything that can create an AST is a valid candidate for astexplorer.

  2. I'd rather have them all managed through webpack. What are the issues you were having? Sometimes it needs some additional tweaking of the webpack config to make modules loadable.

@usirin
Copy link
Author

usirin commented Sep 20, 2016

@fkling Thanks so much for the answer. I guess it would better for me to first submit the PR and show where I have problems over there. I will submit it today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants