Transpiles Hack into PHP 5.4 using facebook's h2tp.
264
This container provides all of facebook's Hack components which were available before the removal of h2tp. Thus, the following Hack components are available:
We want to build software using Hack, but run everywhere (PHP).
Start the container and make your Hack files available to it:
docker run -t -d -v /hack-files/path:/hack-files/path \
-e USERID=$UID \
--name hack \
codeneric/hack-transpiler
Transpile all Hack files:
docker exec hack h2tp /hack-files/path /hack-files/path/php
Now you can find your transpiled PHP files in the folder /hack-files/path/php
Content type
Image
Digest
Size
180.1 MB
Last updated
almost 9 years ago
docker pull codeneric/hack-transpiler