I have written a parser using Python Ply library.
While doing tests with an input file I have noticed a strange behaviour : sometimes the input is correctly parsed with no error and sometimes, there are parsing errors (and the parser doesn't follow the same rules and consequently finds syntax errors).
How can this happen since the parser is supposed to be deterministic ? My grammar is clean (no conflict of any kind), and obviously my input is valid.
I am not asking for a debug (especially as the grammar is quite complex), I juste would like to understand how this is possible and what might be the cause in a general way.