You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document how to use the TsqlAstParser C# tool to generate ast.json
files for test cases. Include prerequisites (.NET SDK, NuGet package),
usage examples, and limitations (unsupported SQL Server 170 features,
Fabric DW syntax, deprecated/error test cases).
Copy file name to clipboardExpand all lines: CLAUDE.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,3 +64,52 @@ Each test in `parser/testdata/` contains:
64
64
## Important Rules
65
65
66
66
-**NEVER modify `ast.json` files** - These are golden files containing the expected output. If tests fail due to JSON mismatches, fix the Go code to match the expected output, not the other way around.
67
+
68
+
## Generating ast.json with TsqlAstParser
69
+
70
+
The `TsqlAstParser/` directory contains a C# tool that generates `ast.json` files using Microsoft's official T-SQL parser (ScriptDom).
0 commit comments