Skip to content

Conversation

rattrayalex
Copy link

Removes &, |, ^, << ,>>, >>> from the binary parsing algo with a slightly helpful error message.

Frees them up for other purposes in a consistent fashion. Eg; ~ (already appropriated) and | for pattern matching.

No plans as of yet for & or the bitshifts, I have an idea for ^ but not sure about it yet.

@rattrayalex
Copy link
Author

This shouldn't ship until the corresponding methods have been added to the stdlib

@wcjohnson
Copy link

wcjohnson commented Apr 25, 2017

IMO, this also shouldn't ship until lightscript/babel-plugin-lightscript#8 is fixed

@rattrayalex
Copy link
Author

rattrayalex commented Apr 25, 2017 via email

@rattrayalex rattrayalex merged commit 078cd66 into lightscript Apr 29, 2017
@rattrayalex rattrayalex deleted the remove-bitwise-ops branch April 29, 2017 04:44
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.

2 participants