## Lab1 # 1.构建 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCOMPILER_PARSE_ONLY=ON cmake --build build -j "$(nproc)" # 2.单例查看 ./build/bin/compiler --emit-parse-tree test/test_case/functional/simple_add.sy # 3.批量检查 find test/test_case -name '*.sy' | sort | while read f; do ./build/bin/compiler --emit-parse-tree "$f" >/dev/null || echo "FAIL $f"; done