Skip to content

Decouple the parser from the program #1218

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

Merged
merged 4 commits into from
Apr 13, 2020

Conversation

jtenner
Copy link
Contributor

@jtenner jtenner commented Apr 13, 2020

This pull request aims to make the parser more accessible for others by decoupling the program from the parser by forcing the Parser class to accept two arrays instead.

This would probably be a breaking change for users of the Parser class, but my guess is that people weren't using the Parser class directly to begin with.

Copy link
Member

@dcodeIO dcodeIO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general, just a few code style comments :) (btw I have no idea how to link the comments to the review properly Edit: took a course now)

Make suggested change.

Co-Authored-By: Daniel Wirtz <[email protected]>
@jtenner
Copy link
Contributor Author

jtenner commented Apr 13, 2020

All set!

@dcodeIO dcodeIO merged commit 51ba4a2 into AssemblyScript:master Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants