[Chapel Merge] dyno: use dyno parser for config parsing and updat

Branch: refs/heads/main
Revision: 58bfc69
Author: arezaii
Link: dyno: use dyno parser for config parsing and updating of uAST by arezaii · Pull Request #19643 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19643 from arezaii/config-parsing

dyno: use dyno parser for config parsing and updating of uAST

This PR adds dyno handling of command-line config var/const/param/type
parsing and assignment when using compiler flags that begin with -s.

Since uAST is only mutable during the assignId step in the builder, that
process was hijacked to also accommodate the modification of initialization

The previous process of doing this assignment when converting uAST to AST
has been removed.


  • [x] paratest passes
  • [x] paratest with --dyno (31 vs. 31 failures)

reviewed by @mppf, with feedback from @dlongnecke-cray - thank you!

*note the number of failures doesn't change because we were previously handling
config assignment in the conversion from uAST to AST.

Signed-off-by: arezaii ahmad.rezaii@hpe.com

Modified Files:
M compiler/dyno/include/chpl/parsing/parsing-queries.h

M compiler/dyno/include/chpl/queries/mark-functions.h
M compiler/dyno/include/chpl/uast/Builder.h
M compiler/dyno/include/chpl/uast/Variable.h
M compiler/dyno/lib/parsing/parsing-queries.cpp
M compiler/dyno/lib/uast/Builder.cpp
M compiler/dyno/lib/uast/Variable.cpp
M compiler/include/driver.h
M compiler/main/config.cpp
M compiler/main/driver.cpp
M compiler/passes/convert-uast.cpp

Compare: https://github.com/chapel-lang/chapel/compare/c5c36ca955b1...58bfc69f8688