[Chapel Merge] Support more new forms and lambdas in dyno parse/c

Branch: refs/heads/main
Revision: aceb448
Author: mppf
Link: Support more new forms and lambdas in dyno parse/convert by mppf · Pull Request #19573 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19573 from mppf/dyno-test-fix7

Support more new forms and lambdas in dyno parse/convert

This PR gets more tests passing with --dyno.

It implements some new expression forms that were unimplemented in the
parser and also implements support for lambda expressions.

It gets 41 more tests passing.

Reviewed by @dlongnecke-cray - thanks!

  • [x] rebuild dyno parser

  • [x] rebuild production parser

  • [x] full local testing

    Modified Files:
    M compiler/dyno/include/chpl/uast/Function.h
    M compiler/dyno/lib/parsing/ParserContext.h
    M compiler/dyno/lib/parsing/ParserContextImpl.h
    M compiler/dyno/lib/parsing/bison-chpl-lib.cpp
    M compiler/dyno/lib/parsing/chpl.ypp
    M compiler/dyno/lib/queries/ErrorMessage.cpp
    M compiler/dyno/lib/uast/chpl-syntax-printer.cpp
    M compiler/parser/bison-chapel.cpp
    M compiler/parser/chapel.ypp
    M compiler/passes/convert-uast.cpp
    M test/functions/jturner/lambda_param_ret_type.good
    M test/functions/jturner/lambda_ref_ret_type.chpl
    M test/functions/jturner/lambda_ref_ret_type.good
    M test/functions/jturner/lambda_type_ret_type.good

    Compare: Comparing 53a15331857a...aceb4480d779 · chapel-lang/chapel · GitHub