Transform Javascript to FQL

Creating Code with ChatGPT for Javascript is quite easy and saves reasonable time for daily programming tasks. But asking ChatGPT to do the same for FQL leads to nothing (I tried it with GPT 4 by referencing the docs but got mostly FQL v4 recommendations).
Still, FQL has a lot of similarities to Javascript, although it lacks JS functions like spread operator, splice, etc. That leads to the point that the code generated by ChatGPT for Javascript can be used as a base but needs to be rewritten into FQL, which consumes a reasonable amount of time.

Having an (AI) transformer that can take JavaScript to rewrite it to FQL would help a lot to speed things up (Ideally, the new Fauna AI could create the code directly, but I consistently had no luck getting anything helpful out of it).