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

readFile #18

Open
chenglou opened this issue Nov 12, 2017 · 7 comments
Open

readFile #18

chenglou opened this issue Nov 12, 2017 · 7 comments

Comments

@chenglou
Copy link
Contributor

No description provided.

@jaredly
Copy link

jaredly commented Nov 14, 2017

would this delegate to node's fs or native, respectively?

@chenglou
Copy link
Contributor Author

I'm thinking conditional compilation to both platforms. cc @bsansouci

@chenglou
Copy link
Contributor Author

Actually, does bs' cppo work on reason files?

@bsansouci
Copy link

bsb-native supports this using matchenv, basically swaps the implementation of a module depend on the targeted backend.

@bsansouci
Copy link

@chenglou No bs' cppo can't work on reason because it's not valid syntax. If we can make refmt parse #if style things, that'd be amazing (I want that) lol

@chenglou
Copy link
Contributor Author

I though the cppo pass comes before the parser pass?

@jaredly
Copy link

jaredly commented Nov 15, 2017

yeah it's definitely not valid ocaml

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

3 participants