2018-07-14 13:57



As far as I know Hack had h2tp utility to complile Hack code to PHP.
But today I couldn't find this command in any of official prebuilt HHVM packages for Ubuntu, and Facebook's blog post link redirects to getting started page. And judging by this comment h2tp is dead.

But is it still possible to compile from sources/download outdated version of HHVM to somehow use h2tp?
And if yes, how do I do it correctly?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答


  • dongpanshi2839 dongpanshi2839 3年前

    Yes, it is possible via docker on Ubuntu 18.04.
    The image is codeneric/docker-hack-transpiler.

    点赞 评论 复制链接分享