Ooh that’s a great idea to make it interactive
Gaurav I think to do the actual conversion, you will be able to get a lot of information out of the flowchart files. Certain shapes mean certain things in most flowcharts programs, and arrows indicate the sequence of events. A good first step might be to try to take a really simple flowchart in some free flowchart program, preferably one that saves its flowcharts to xml or another easily parseable format, then to write a program to convert that to a simple algorithm. E.g.
- get bread
- is there peanut butter?
A) if yes – add peanut butter
- eat sandwich
You know now that I think about it, I’m not sure you’d need to do a lot of language interpretation, since most of the text is copy-pasteable from the flowchart nodes themselves (e.g. “get bread” can just be copy-pasted from the flowchart file, it doesn’t need to be understood what getting bread means I don’t think). Or maybe you would need to for something? I’d have to think about it