Ocean shader-GLSL to HLSL [HELP please]

Hi guys, I am having trouble implementing this shader into ue4: Shader - Shadertoy BETA

I do not know what to do with the code, can i have some help?
Thanks.