Hacker News new | ask | show | jobs
by leobg 1318 days ago
Can anyone explain to me what this does? I would have expected something like GPT-3 Codex or GitHub Copilot. But the example on the page looks a lot different. Specifically, I don’t see any natural language input.
1 comments

At the moment it can recognise the type of statements in the training data set [1] and transpile them to Python, Java or C++ using the mappings defined here [2].

This is very different from how Codex/Autopilot work as it is trained using an NLU framework [3] which is usually used for training chatbots.

[1]: https://github.com/Flex-lang/transpiler/tree/master/transpil...

[2]: https://github.com/Flex-lang/transpiler/tree/master/transpil...

[3]: https://github.com/RasaHQ/rasa

So I can input pseudo code and it will turn that into real code? Is that a proper description? Can you give me a use case? Thank you.
Yes, that's a way to describe it.

One use case could be that a complete beginner to programming can enter some natural commands (e.g. "X is a list of numbers", "read 10 values in X") without worrying about the syntax and convert them to a working program in one of the target languages.

Also, the input doesn't have to be in English as it can be easily trained with samples from other languages. So people can write/speak in their native language and get it translated to working code.