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

feat: import parsing #259

Closed
wants to merge 1 commit into from
Closed

Conversation

afinch7
Copy link

@afinch7 afinch7 commented Feb 24, 2020

Simple import statement parsing. I intend to follow this up with some execution implementation.

@afinch7 afinch7 force-pushed the import_parsing branch 6 times, most recently from 5372370 to bc205c5 Compare February 26, 2020 15:12
@jasonwilliams
Copy link
Member

Thanks for picking this up

@jasonwilliams
Copy link
Member

You need to rebase

@afinch7 afinch7 marked this pull request as ready for review March 17, 2020 15:23
@afinch7 afinch7 changed the title [wip] feat: import parsing feat: import parsing Mar 17, 2020
@afinch7
Copy link
Author

afinch7 commented Mar 17, 2020

This isn't really spec compliant, but it works fine for the time being. Things like multiple default imports are parsed without error. This example isn't supposed to be valid, but it parses fine:

import default, defaultTwo from "./somefile.js";

I'm not to concerned with this currently. I would prefer to move on to export parsing and revisit this once module execution works.

@Razican Razican added enhancement New feature or request parser Issues surrounding the parser labels Apr 1, 2020
@Razican
Copy link
Member

Razican commented Apr 1, 2020

Hi! The parser has changed a lot after #281. Would it be possible to rebase?

@jasonwilliams
Copy link
Member

pings @afinch7 we may have to close this PR if it becomes inactive

Not perfectly spec compliant yet, but should be close enough until import execution is implemented.
@afinch7
Copy link
Author

afinch7 commented May 25, 2020

I should have some time this week to get this completely rebased.

@afinch7
Copy link
Author

afinch7 commented Jul 4, 2020

I haven't been able to find the time to rebase this right now. I'm closing for now.

@afinch7 afinch7 closed this Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parser Issues surrounding the parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants