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

New parser #3

Merged
merged 5 commits into from Jan 11, 2015
Merged

New parser #3

merged 5 commits into from Jan 11, 2015

Conversation

melaniecebula
Copy link
Collaborator

Make changes to hackfile parser for new format.

Context:
#2
dat-ecosystem-archive/gasket#17

@mafintosh
Copy link
Owner

Small nitpick: could we use camelCase instead of snake_case? :)

@melaniecebula
Copy link
Collaborator Author

oops, I've been writing in a lot of python recently >.>

if (indented) return result[latest].push(line.trim().split(/\s+/))
if (indented) return result[latest].push(line.trim())

latest_line = line.trim().split(/\s+/)
Copy link
Owner

Choose a reason for hiding this comment

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

you probably mean var latest_line since otherwise this is a global variable

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, thanks!

mafintosh added a commit that referenced this pull request Jan 11, 2015
@mafintosh mafintosh merged commit d43a0d1 into mafintosh:master Jan 11, 2015
@mafintosh
Copy link
Owner

Great work! Released as 2.0.0

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

Successfully merging this pull request may close these issues.

None yet

2 participants