Files
carbon-lang/executable_semantics/ast
Jon Meow 04ab30f231 Make the AST mutable (#849)
The code is pretty intertwined: having the AST be truly mutable means (to me) changing parser.ypp to return non-const values, but then the way things are passed around between objects should be non-const (particularly an issue with lists), which then creates issues with construction of lists in the TypeChecker, which then TypeChecker needs to mostly be non-const.

Due to the difficulties in breaking this apart, whereas I'd previously considering refactoring accessor naming in the same PR, I've largely avoided doing so. The intent is then that this PR focuses mainly on const -> non-const AST behavior.

call_main moves out of interpreter.cpp so that interpreter.cpp can receive a fully const AST.
2021-09-27 10:57:31 -07:00
..
2021-09-27 10:57:31 -07:00
2021-09-20 15:15:30 -07:00
2021-09-27 10:57:31 -07:00
2021-09-27 10:57:31 -07:00
2021-09-27 10:57:31 -07:00
2021-09-16 19:22:57 -07:00
2021-09-27 10:57:31 -07:00
2021-09-27 10:57:31 -07:00
2021-09-27 10:57:31 -07:00
2021-09-01 15:19:58 -07:00
2021-09-27 10:57:31 -07:00