Using TableGen to parse a file

I am creating a new frontend with LLVM and wanted to use TableGen to parse a file to identify key symbols. i.e. to use Tablegen to parse a file containing unique keywords and have them recognised in my new language.

Is it possible? Any good documentation on describing the use of TableGen?