1. Dmitry Grebeniuk
  2. ocaml-dynatvar

Source

ocaml-dynatvar / 1.bat

1
2
3
4
5
6
7
call c:\ocaml\set-vars.bat
set NAT=native
del dyntest.exe dyntest.%NAT%
ocamlbuild dyntest.%NAT% > log 2>&1 && copy dyntest.%NAT% dyntest.exe && del dyntest.%NAT%
cd _build
ocamlc -pp camlp4r -w A -c -i dynvar.ml
ocamlc -pp camlp4r -w A -c -i dyntest.ml