Skip to content
/ resyntax Public

Migrate files between .re .rei .res .resi .ml .mli extensions for ocaml, reasonml, bucklescript and rescript syntaxes

License

Notifications You must be signed in to change notification settings

idkjs/resyntax

Repository files navigation

NPM version

Migrate files between .re .rei .res .resi .ml .mli syntaxes for Ocaml, ReasonML and Rescript syntaxes.

Doesn't always work so check your output. Especially for conversions from .res to .re or when convertion functors. See rescript-lang/syntax#264;

npx resyntax

Gets you:

image

Summary ```sh [I] ➜ npx resyntax Which files do you want to migrate? 1) REtoRes 4) RESItoREI 7) REtoML 10) Delete 2) REItoResi 5) MLtoRE 8) REItoMLI 11) Cancel 3) REStoRE 6) MLItoREI 9) REStoRe 12) Delete Which files do you want to delete? 1) .re 2) .rei 3) .res 4) .resi 5) .ml 6) .mli 7) None 8) Exit #? ```

Other Tools

npx bsconfig.json

npx resgitignore

npx resattributes

###Share on Twitter...

About

Migrate files between .re .rei .res .resi .ml .mli extensions for ocaml, reasonml, bucklescript and rescript syntaxes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages