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.
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
- Server/multi-process mode doesn't work. You must use the
singlecommand. - The
libfolder andfind.exefile from the repository must be present in the same folder asflow.exe. On Mac/Linux, the contents oflibis embedded into the binary, andfindis native. - No color in the output.
- Probably other things are broken. In particular,
hack\heap\hh_shared.cis 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