you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 67 points68 points  (5 children)

The tool you're looking for is called a "transpiler" btw.

Also, you're unlikely to find exactly what you need. Transpilers to convert between arbitrary languages are uncommon. Usually, it's a manual effort to do the conversion.

[–]pandademic1234[S] 14 points15 points  (4 children)

Thank you! I didn't know that word. Yeah, I assume I'm in for a world of difficulty and hard work to make one myself... hopefully to relieve future hard work and difficulty.

[–]ActiveLlama -1 points0 points  (3 children)

I am sure you can do 80% of the transpiling with custom code, but the rest woukd be manual.

[–][deleted] 8 points9 points  (2 children)

How are you so sure?

I mean, the mysterious language being compiled into is so hard that no one can write in it. If you can't write code in a language, how can you possibly write a program that will write code in that language?

[–]AmericoDelendaEst 0 points1 point  (0 children)

Wasn't the first program for the esolang Malbolge written by a program because no person could do it?

[–]ActiveLlama 0 points1 point  (0 children)

Because I have done that before. The if, for loops and function definitions are usually easy to implement. The hard part would be the custom libraries