Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a program that translates Scheme/Java/Ruby code to english sentences? [closed]

I found this article about converting english sentences to Scheme, but can't seem to find any efforts to do the inverse (i.e. Scheme to english sentences): ftp://ftp.cs.utexas.edu/.snapshot/hourly.2/pub/AI-Lab/tech-reports/UT-AI-TR-87-48.pdf Plus, I don't think the article mentioned how to obtain even the code referred to.

Does anyone know of such a project, or am I going to have to try to roll my own?

I'd also be interested in such a translator for Java/Groovy and/or Ruby.

Basically, I would like to use a program that, given a string of code, outputs the algorithm in english sentences.

Edit: Actually, the article mentioned above does have its corresponding code at the bottom of it.

like image 511
Andrew Ulrich Avatar asked Feb 12 '13 19:02

Andrew Ulrich


1 Answers

You want a pseudocode converter. There are several pseudocode converters out there which will converter either pseudocode into programming language code or vice versa. Understand that these converters are far from perfect. But they should at least get you to a decent starting point.

like image 72
mightyrick Avatar answered Oct 18 '22 06:10

mightyrick