{"id":89516,"library":"hhvm-hhast","title":"HHVM HHAST","description":"A mutable AST library for Hack with linting and code migrations.","status":"active","version":"4.168.3","language":"php","source_language":null,"source_url":"https://github.com/hhvm/hhast","tags":["hack","ast","linting","code-migration","hhvm"],"install":[{"cmd":"composer require hhvm/hhast","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"File","correct":"use Facebook\\HHAST\\File;"}],"quickstart":{"code":"<?hh\nuse namespace Facebook\\HHAST;\n\n$file = HHAST\\File::fromPath('example.hack');\n$ast = $file->getAST();\necho $ast->getCode();","lang":"php","description":"Parse a Hack file into an AST and output its code."},"warnings":[{"fix":"Ensure you are running HHVM and not PHP when using this package.","message":"This package is for the Hack language and requires HHVM, not standard PHP.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'ast':5,15 'code':12,18 'code-migr':17 'hack':8,14 'hhast':2 'hhvm':1,20 'librari':6 'lint':10,16 'migrat':13,19 'mutabl':4","created_at":"2026-06-19T08:48:19.330770+00:00","updated_at":"2026-06-19T08:48:19.330770+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hhvm/hhast","github":"https://github.com/hhvm/hhast","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}