Write a new parser.y file (better to copy and adapt it than starting from scratch)
parser.y
Sub class the GdaSqlParser class and "connect" the class's virtual methods to the new generated parser
Start from the skeleton implementation