[Chapel Merge] responsive compiler prototype: frontend queries an

Branch: refs/heads/master
Revision: 136ef20
Author: mppf
Log Message:

Merge pull request #17589 from mppf/add-frontend-queries-tests

responsive compiler prototype: frontend queries and tests

This PR builds upon previous PRs to add frontend queries for parsing and
some C++ tests of the new compiler code. This PR completes the series of
PRs #17585, #17586, #17587, #17588, #17589.

Split out from PR #17583, which is a start at the compiler revamp effort
described in the
1.24 release notes ongoing efforts.

This PR adds Frontend queries and C++ tests of several of the features
added to the compiler in the previous PRs. The Frontend queries implement
parsing and one that (as a demonstration) lists the defined top-level
names in each module parsed.

Closes #17583.

  • [x] full local testing

Reviewed by @e-kayrakli and @dlongnecke-cray - thanks!

Modified Files:
A compiler/next/include/chpl/Frontend/FrontendQueries.h

A compiler/next/lib/Frontend/FrontendQueries.cpp
A compiler/next/test/AST/testBuildIDs.cpp
A compiler/next/test/AST/testUniqueString.cpp
A compiler/next/test/Frontend/testFrontendQueries.cpp
A compiler/next/test/Frontend/testInteractive.cpp
A compiler/next/test/Frontend/testParse.cpp

Compare: https://github.com/chapel-lang/chapel/compare/799aa6f4b2c7...136ef20581c9