How to implement such a program in javascript (image will show) using textarea and html? look "#" are comments
It reverses the word like for example petros - sortep using the algorithm described in the image
I have tried many lexers and parsers but they does not work If you have questions write in comments
Give me a little algorithm what should I do?