I've written a parser generator in Java, after a few bumps (an early version didn't particularly like left recursion for example), I managed to make it work with some simple grammars (so i can verify by hand the productions are correct) I tried feeding it a more complex grammar and the output is that it isn't a LR(1) grammar (derived from the fact that the parsed tried to write twice on the same cell in the parsing table)
the grammar in question is
S->aAb|SA
A->aA|e|S
I'm pretty sure this grammar is LR(1), anyhow, here is the output of my program http://pastebin.com/hJNC9uuN
Any advice will be most precious Thanks (even better if someone has a parser generator that output the automaton and parse table so i can confront them)