Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

jdaley/flow

 
 

Repository files navigation

Flow on Windows (Experimental)

This is an experimental port of Flow to run on Windows.

Flow is a static typechecker for JavaScript. See flowtype.org for official documentation and binaries for Mac and Linux.

Building Flow on Windows

Install OCPWin 32-bit "full MinGW".

In the root of this repository:

ocp-build make -asm
copy /Y _obuild\flow\flow.asm.exe flow.exe

Try it out:

flow --version
flow single examples\01_HelloWorld

Limitations

  • Server/multi-process mode doesn't work. You must use the single command.
  • The lib folder and find.exe file from the repository must be present in the same folder as flow.exe. On Mac/Linux, the contents of lib is embedded into the binary, and find is native.
  • No color in the output.
  • Probably other things are broken. In particular, hack\heap\hh_shared.c is just a stub implementation, and I don't really know what impact that has.

Tip: To enable OCaml exception stack traces, set the environment variable set OCAMLRUNPARAM=b

About

Adds static typing to JavaScript to improve developer productivity and code quality.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • OCaml 80.4%
  • JavaScript 16.6%
  • C 1.8%
  • Makefile 0.6%
  • Standard ML 0.3%
  • Shell 0.1%
  • Other 0.2%