I have the task to write an application that controls OpenVPN using the management interface, which is just a text stream.
I thought about using a lexer and parser generator like lex and yacc to do the job. But since there also are asynchronous lines beginning with ">", I don't know if that is even possible.
Should I just parse the text myself or can lex and yacc (actually, fslex and fsyacc, since I should use F#) deal with that sort of thing?
Thanks.