based on work on MySql Workbench http://www.soft-gems.net/index.php/tools/47-universal-code-completion-using-antlr