How to define a new programming language?

Hello @zahra_majidi,

First of all we won’t help you define this new programming language, grammar, parser, etc. You will find plenty of resources on the web to help you with this.

However we can help you integrate this analyzer in our ecosystem. There is a documentation page about how to write custom plugins for SonarQube: Plugin basics | SonarQube Docs

Please note that third-party plugins are supported only on SonarQube, SonarLint won’t run them (see our FAQ). If you want to run your analyzer in the IDE you will have to fork SonarLint.

This thread is in the Plugin Development section and we will be happy to help you further if you have any question.

Regarding your issues with running the scanner, you can find the required Java version in the prerequisites for the SonarQube version you use (it is indeed Java 11 for the latest). If you have a question specific to scanners, I encourage you to open a new thread and giving more details about errors you encounter.

Hope this helps
Damien