From ec648f2c6f0ba1e5e434b856e2f91006fec4281b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 14 Mar 2025 14:14:54 -0700 Subject: [PATCH] copy --- .../recordings/tree-sitter-language-pack.md | 51 ++++++++++--------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/aider/website/docs/recordings/tree-sitter-language-pack.md b/aider/website/docs/recordings/tree-sitter-language-pack.md index 21ba2da14..39c584015 100644 --- a/aider/website/docs/recordings/tree-sitter-language-pack.md +++ b/aider/website/docs/recordings/tree-sitter-language-pack.md @@ -14,7 +14,7 @@ layout: minimal @@ -62,30 +62,31 @@ const recording_url = "https://gist.githubusercontent.com/paul-gauthier/3011ab94 - 12:00 Looks like it's parsing PowerShell fine. - 13:00 Ok, let's download the tags into the right spot in the aider repo. - 14:00 This will take a minute... -- 16:30 Delete some bad or empty tags files. -- 16:50 Add the tags to the repo. -- 17:50 The tags files need to be modified to work with the repo-map. -- 17:30 Let's use bash to script aider to modify each tags file. -- 18:25 I'm giving aider a read-only example of working tags file, as an example to follow. -- 19:37 Looks like it correctly updated the first couple of tags files. -- 20:22 Let's grep to watch how many name tags are left to be updated. -- 21:00 This is going to take a little while... -- 25:00 Let's add a README file with attribution for these tags files. -- 27:26 Ok, all the tags files are updated. -- 27:40 Let's add test coverage to be sure these languages work with the repo-map. -- 27:50 Dump the fixtures directory structure to a file, to give aider so it knows the layout. -- 28:30 Use a bash script to ask aider to add test coverage for each tags file. -- 28:45 Let aider read the fixtures directory listing. -- 29:20 Just fixing the bash to correctly iterate through the list of tags files. -- 30:11 Improve the prompt to make sure aider creates a fixture for each language. -- 31:00 Lets run the repo-map tests to see if the new test works. -- 31:11 Arduino failed, with an empty repo-map? -- 33:16 Oh! I'm not using the updated grep AST yet. -- 33:26 Ok, now we're parsing Arduino code properly. -- 33:41 A regression with tsx? -- 34:11 Can aider figure out why? -- 34:40 Let's check the parsers map. -- 35:30 Well, that's all for this recording. +- 16:07 Delete some bad or empty tags files. +- 16:16 Add the tags to the repo. +- 16:33 The tags files need to be modified to work with the repo-map. +- 17:01 Let's use bash to script aider to modify each tags file. +- 17:12 I'm giving aider a read-only example of working tags file, as an example to follow. +- 19:04 Looks like it correctly updated the first couple of tags files. +- 19:28 Let's grep to watch how many name tags are left to be updated. +- 21:30 This is going to take a little while... +- 24:39 Let's add a README file with attribution for these tags files. +- 27:00 Ok, all the tags files are updated. +- 27:10 Let's add test coverage to be sure these languages work with the repo-map. +- 27:19 Dump the fixtures directory structure to a file, to give aider so it knows the layout. +- 27:50 Use a bash script to ask aider to add test coverage for each tags file. +- 28:12 Let aider read the fixtures directory listing. +- 28:52 Just fixing the bash to correctly iterate through the list of tags files. +- 29:27 Improve the prompt to make sure aider creates a fixture for each language. +- 30:25 Lets run the repo-map tests to see if the new test works. +- 30:37 Arduino failed, with an empty repo-map? +- 31:52 Can aider figure out what's wrong? +- 32:42 Oh! I'm not using the updated grep AST yet. +- 32:54 Ok, now we're parsing Arduino code properly. Undo that bogus test fix. +- 33:05 A regression with tsx? +- 33:20 Can aider figure out why? +- 34:10 Let's check the parsers map. +- 35:10 Well, that's all for this recording.