.net - How to parse continuous stream of text -
i have task write application controls openvpn using management interface, text stream.
i thought using lexer , parser generator lex , yacc job. since there asynchronous lines beginning ">", don't know if possible.
should parse text myself or can lex , yacc (actually, fslex , fsyacc, since should use f#) deal sort of thing?
thanks.
it's feasible. can best handle asynchronous lines overruling input
of lexer , take asynchronous lines out @ earliest stage. should lines injected somehow steady stream of tokens or can/will handled separately? injecting steady stream going more difficult unless have easy detect points inject them.
Comments
Post a Comment