I am writing my first program which uses pyparsing.
I want to parse a file where each line ended by "\n" is a token.
Please explain how to do it.
In fact, I need to parse .lyx files. One example of a .lyx file: https://github.com/nicowilliams/lyx/blob/master/lib/examples/Braille.lyx