This org-mode babel extension enables you to execute hack language code block.
You need to install hhvm and hack-mode.
Load ob-hack.el and require.
(load-file "/path/to/ob-hack.el")
(org-babel-do-load-languages
'org-babel-load-languages
'((hack . t)
))
(org-babel-do-load-languages
'org-babel-load-languages
'((hack . t)
))
<<__EntryPoint>>
function main(): void {
print("Hello, World!!");
}