-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Hack (PHP-like) #392
Comments
See hacklang.org Changes to PHP and C++ (and corresponding tests) to make sure that ambiguities are covered. Will add XHP support in a separate pull request. refs rouge-ruby#392
See hacklang.org Changes to PHP and C++ (and corresponding tests) to make sure that ambiguities are covered. Will add XHP support in a separate pull request. refs rouge-ruby#392
See hacklang.org Changes to PHP and C++ (and corresponding tests) to make sure that ambiguities are covered. Will add XHP support in a separate pull request. refs rouge-ruby#392
This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days. |
Support for Hack has subsequently been added to Rouge. If there are any issues with the implementation, please let us know! |
most files would work simply by pretending '<?hh' files are PHP - there is some extra syntax though, that would be good to also support:
XHP (XML-like literals)
More info: https://docs.hhvm.com/hack/XHP/introduction
Collection object literals
https://docs.hhvm.com/hack/collections/introduction
Short lambdas
nullable
callable types
Generics
https://docs.hhvm.com/hack/generics/introduction
async/await
There's a lot of these: pretty much needs the whole section going through: https://docs.hhvm.com/hack/async/introduction
The text was updated successfully, but these errors were encountered: