[PATCH] D122408: [pseudo] [WIP2] Implement GLR parser

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 14:14:33 PDT 2022


sammccall updated this revision to Diff 418044.
sammccall added a comment.

Address comments from D121150 <https://reviews.llvm.org/D121150>, except still need to add:

- represent tokens as forestnodes
- GLR parser operates on a range of tokens
- limit GLR parser public interface
- GLR parser never returns null


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122408/new/

https://reviews.llvm.org/D122408

Files:
  clang-tools-extra/pseudo/include/clang-pseudo/Forest.h
  clang-tools-extra/pseudo/include/clang-pseudo/GLRParser.h
  clang-tools-extra/pseudo/lib/CMakeLists.txt
  clang-tools-extra/pseudo/lib/GLRParser.cpp
  clang-tools-extra/pseudo/tool/ClangPseudo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122408.418044.patch
Type: text/x-patch
Size: 24032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220324/5713c296/attachment-0001.bin>


More information about the cfe-commits mailing list