[PATCH] D114790: [syntax][pseudo] Add grammar facilities for the pseudo-parser
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 30 05:34:42 PST 2021
hokein created this revision.
hokein added a reviewer: sammccall.
Herald added subscribers: mgrang, mgorny.
hokein requested review of this revision.
Herald added a project: clang.
This patch introduces basic structures for the grammar, which is used to
build a grammar-based parser.
As the first patch, the scope is limited:
- base types of modeling the grammar rules, symbols
- grammar parsing bit (annotations are excluded, and will be added afterwards)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114790
Files:
clang/include/clang/Tooling/Syntax/Pseudo/Grammar.h
clang/lib/Tooling/Syntax/CMakeLists.txt
clang/lib/Tooling/Syntax/Pseudo/CMakeLists.txt
clang/lib/Tooling/Syntax/Pseudo/Grammar.cpp
clang/unittests/Tooling/Syntax/CMakeLists.txt
clang/unittests/Tooling/Syntax/Pseudo/CMakeLists.txt
clang/unittests/Tooling/Syntax/Pseudo/GrammarTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114790.390671.patch
Type: text/x-patch
Size: 28733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211130/43e1f512/attachment-0001.bin>
More information about the cfe-commits
mailing list