rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

rewrite `config.js` in ocaml itself

Open bobzhang opened this issue 10 years ago • 5 comments

one thing: how do you we type checking delete vv.property

bobzhang avatar Oct 06 '16 17:10 bobzhang

Hey, I wanted to participate somehow, this issue seems to be not very difficult.

vlad-nikityuk avatar Oct 27 '16 10:10 vlad-nikityuk

hi @rk4n , thanks for your interest, the idea is to rewrite it in ocaml and compile it into nodejs. there is an example https://github.com/bloomberg/bucklescript/blob/master/scripts/clean.ml, see the nodejs code: https://github.com/bloomberg/bucklescript/blob/master/scripts/clean.js what you need is translate https://github.com/bloomberg/bucklescript/blob/master/scripts/config.js into config.ml

bobzhang avatar Oct 27 '16 19:10 bobzhang

@bobzhang is there any way for me to test the correctness ?

vlad-nikityuk avatar Oct 27 '16 19:10 vlad-nikityuk

@rk4n Hi, there is no test yet, it is configuration, so if you send me a PR, it will be tested on CI..

bobzhang avatar Oct 28 '16 18:10 bobzhang

I mean, what do I need to run locally to verify it’s working?

On Oct 28, 2016, at 21:36, Hongbo Zhang [email protected] wrote:

@rk4n https://github.com/rk4n Hi, there is no test yet, it is configuration, so if you send me a PR, it will be tested on CI..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bloomberg/bucklescript/issues/833#issuecomment-256995870, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoQQMy3w4OFbmyilMJ-byAjG_DCJc4Zks5q4kCygaJpZM4KQMUT.

vlad-nikityuk avatar Oct 28 '16 18:10 vlad-nikityuk