From a9219cb9debcada64f82c60b343c64446de0759b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 9 Nov 2023 08:11:06 -0800 Subject: [PATCH] copy --- docs/faq.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index e9f437915..74b2d4759 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -10,6 +10,7 @@ - [Can I run aider in Google Colab?](#can-i-run-aider-in-google-colab) - [How can I run aider locally from source code?](#how-can-i-run-aider-locally-from-source-code) - [Can I script aider?](#can-i-script-aider) +- [What code languages does aider support?](#what-code-languages-does-aider-support) ## How does aider use git? @@ -287,3 +288,42 @@ coder.run("make a script that prints hello world") # Send another instruction coder.run("make it say goodbye") ``` + +## What code languages does aider support? + +Aider supports pretty much all the popular coding languages. +This is partly because GPT-4 is fluent in most mainstream languages, +and familiar with popular libraries, packages and frameworks. + +In fact, coding with aider is sometimes the most magical +when you're working in a language that you +are less familiar with. +GPT often knows the language better than you, +and can generate all the boilerplate to get to the heart of your +problem. +GPT will often solve your problem in an elegant way +using a library or package that you weren't even aware of. + +Aider uses tree-sitter to do code analysis and help +GPT navigate larger code bases by producing +a [repository map](https://aider.chat/docs/repomap.html). + +Aider can currently produce repository maps for most mainstream languages, listed below. +But aider should work quite well for other languages, even without repo map support. + +- C +- C# +- C++ +- Emacs Lisp +- Elixir +- Elm +- Go +- Java +- Javascript +- OCaml +- PHP +- Python +- QL +- Ruby +- Rust +- Typescript