|
3 | 3 | Knut is an automation tool for code transformation using scripts. The main use case is for migration, but it could be used elsewhere.
|
4 | 4 |
|
5 | 5 | The scripts are written either in javascript or QML languages, the latter being able to display a user interface to customize some parts of the application.
|
6 |
| -The script API is available in this documentation, and ranges from normal text transformations (find and replace) to getting contextual information based on the file language (using [TreeSitter](https://tree-sitter.github.io/tree-sitter/). |
| 6 | +The script API is available in this documentation, and ranges from normal text transformations (find and replace) to getting contextual information based on the file language (using [TreeSitter](https://tree-sitter.github.io/tree-sitter/)). |
7 | 7 |
|
8 | 8 | Knut can be used via a command line interface or a user interface.
|
9 | 9 |
|
| 10 | +## Supported programming languages |
| 11 | + |
| 12 | +Knut supports multiple programming languages and file types to different degrees. |
| 13 | + |
| 14 | +This table provides a basic overview of the current support. |
| 15 | +Please refer to the subclasses of [Document](https://kdab.github.io/knut/API/knut/document.html) for details on the supported functions of each class. |
| 16 | + |
| 17 | +<!-- NOTE: SYNC WITH README.md! --> |
| 18 | +| | 🌳 TreeSitter | 🔣 Code Items | 🧑💻 LSP | 🖥️ File Viewer | |
| 19 | +|----------------------------|---------------|---------------|---------|---------------| |
| 20 | +| C/C++ | ✅ | ✅ | ✅ | | |
| 21 | +| C# | ✅ | ❌ | ❌ | | |
| 22 | +| JSON | ❌ | ✔️ | ❌ | | |
| 23 | +| [Qt Translate (.ts)][QtTs] | ❌ | ✔️ | ❌ | | |
| 24 | +| [Qt Qml][Qml] | ✅ | ✅ | ❌ | ✅ | |
| 25 | +| [Qt Ui files][QtUi] | ❌ | ❌ | ❌ | ✅ | |
| 26 | +| [Slint][Slint] | ❌ | ❌ | ❌ | ✅ | |
| 27 | +| [MFC rc files][MfcRc] | ❌ | ✔️ | ❌ | ✔️ | |
| 28 | + |
| 29 | +> ✅ Fully Supported |
| 30 | +> ✔️ Partial Support |
| 31 | +> ❌ Unsupported |
| 32 | +
|
| 33 | +[QtTs]: https://doc.qt.io/qt-6/linguist-ts-file-format.html |
| 34 | +[QtUi]: https://doc.qt.io/qt-6/designer-ui-file-format.html |
| 35 | +[Qml]: https://doc.qt.io/qt-6/qmlreference.html |
| 36 | +[Slint]: https://slint.dev/ |
| 37 | +[MfcRc]: https://learn.microsoft.com/en-us/windows/win32/menurc/about-resource-files |
| 38 | + |
10 | 39 | # Licensing
|
11 | 40 |
|
12 | 41 | Knut is © Klarälvdalens Datakonsult AB (KDAB) and is licensed according to the terms of [GPL 3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).
|
|
0 commit comments