mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Slowly bringing this into line with Bison's C++ example parser so we can use strong semantic values for symbols rather than leaking pointers. First step is to thread a `ParseAndLexContext` object through the whole syntactic analysis state, like the example has. In the example, it's called `driver`. Co-authored-by: Geoff Romer <gromer@google.com>