Skip to content

How to use Reason with bucklescript? #408

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

Closed
yawkob opened this issue May 24, 2016 · 2 comments
Closed

How to use Reason with bucklescript? #408

yawkob opened this issue May 24, 2016 · 2 comments

Comments

@yawkob
Copy link

yawkob commented May 24, 2016

Hi,
Here you use the new Reason syntax with bucklescript compiler:
http://bloomberg.github.io/bucklescript/reason-demo/

@bobzhang
Copy link
Member

hi @yawkob , it is a proof of concept that reason will work smoothly with bucklescript, we are waiting for reason team to help clean up a bit dependencies reasonml/reason#419

@yawkob yawkob closed this as completed May 24, 2016
@yawkob
Copy link
Author

yawkob commented May 24, 2016

thanks for the quick answer. I just saw that there was already a very similar question #396. So I consider this a duplicate.

kevinbarabash pushed a commit to kevinbarabash/rescript-compiler that referenced this issue Dec 24, 2021
…escript-lang#408)

* Don't parse Int token with suffices as hash ident for poly variants

`#10s` should not be accepted as a numeric polyvariant identifier.

Fixes rescript-lang/syntax#407

* Tweak `variantIdent` error message based on feedback from bloodyowl

Co-authored-by: Matthias Le Brun <[email protected]>

* Update hashIdent error tests

* Add printer test to verify that int tokens with suffix aren't printed as numeric polyvars

* Refine error message for numeric polyvars followed by a letter.

Co-authored-by: Matthias Le Brun <[email protected]>
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