Richard Smith and Chandler Carruth
807ef98758
Replace RTTI generation script with macros. ( #2703 )
...
This keeps all of our C++ code written in C++ source files, and avoids the increasing size of the RTTI generation script we'd started to see in #2699 .
Co-authored-by: Chandler Carruth <chandlerc@gmail.com >
2023-03-30 14:16:44 -07:00
Richard Smith
47a1e99b9e
Factor ValueNodeView out of StaticScope. ( #2562 )
...
Also remove unused support in `StaticScope` for a scope to have multiple parents.
No functionality change intended.
2023-01-30 16:12:04 -08:00
Tim Crown
856a5c4536
Fix broken link in doc ( #1716 )
...
Broken link in explorer/ast/README.md
2022-07-26 11:37:59 -07:00
Jon Meow
309ec35f95
Rename executable_semantics to explorer ( #1188 )
...
Change generated with:
```
#!/usr/bin/bash -eux
# Helper script for renaming pending work.
# Run from the repo root.
# Rename executable_semantics in code.
sed -i 's/executable_semantics/explorer/g' \
$(git grep -l 'executable_semantics' . | grep -v proposals)
sed -i 's/executable semantics/explorer/g' \
$(git grep -l 'executable semantics' . | grep -v proposals)
sed -i 's/Executable semantics/Explorer/g' \
$(git grep -l 'Executable semantics' . | grep -v proposals)
sed -i 's/Executable Semantics/Explorer/g' \
$(git grep -l 'Executable Semantics' . | grep -v proposals)
sed -i 's/EXECUTABLE_SEMANTICS/EXPLORER/g' \
$(git grep -l 'EXECUTABLE_SEMANTICS' . | grep -v proposals)
sed -i 's/ExecutableSemantics/Explorer/g' \
$(git grep -l 'ExecutableSemantics' . | grep -v proposals)
sed -i 's/executable-semantics/explorer/g' \
$(git grep -l 'executable-semantics' . | grep -v proposals)
# This is only needed for the initial move.
mv executable_semantics explorer
mv explorer/fuzzing/executable_semantics_fuzzer.cpp explorer/fuzzing/explorer_fuzzer.cpp
```
Verified with `bazel test ...`
2022-04-29 13:20:25 -07:00