Rewrite the tblgen parser in a recursive descent style, eliminating the bison parser.
authorChris Lattner <sabre@nondot.org>
Thu, 22 Nov 2007 20:49:04 +0000 (20:49 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Nov 2007 20:49:04 +0000 (20:49 +0000)
commitf460165a4c1bf4bc762f9b3f12b9ed284b89cc99
tree682aa3de3d166b50c3025180826f14903bbd5e1e
parented4a2f168873527e1737deaa7a0c6c045a2cff7d
Rewrite the tblgen parser in a recursive descent style, eliminating the bison parser.

This makes the parser much easier to understand, eliminates a ton of global variables,
and gives tblgen nice caret diagnostics.  It is also faster, but tblgen probably doesn't
care about performance.

There are a couple of FIXMEs which I will take care of next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44274 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/FileParser.cpp.cvs [deleted file]
utils/TableGen/FileParser.h.cvs [deleted file]
utils/TableGen/FileParser.y [deleted file]
utils/TableGen/FileParser.y.cvs [deleted file]
utils/TableGen/Makefile
utils/TableGen/TGLexer.cpp
utils/TableGen/TGLexer.h
utils/TableGen/TGParser.cpp [new file with mode: 0644]
utils/TableGen/TGParser.h [new file with mode: 0644]
utils/TableGen/TableGen.cpp