Skip to content

Supported languages

seventh edited this page Sep 13, 2010 · 2 revisions

codemetre is able to parse a continuously increasing variety of programming languages. At this time being, the parsing quality is not the same for them all.

Ada

Ada is fully supported and parsing is not influenced by indentation, spaces and so on.

C/C++

C/C++ support is pretty good. The main defect is that files are not preprocessed (and couldn’t be) before being analysed. So that if macros are used in a not-mainstream-way (for example to redefine parts of the syntax), files using such macros may be detected as erroneous.

Another issue with C/C++ files is that they can embed assembly code. Such code is not supported by codemetre. As a consequences, such files can also be detected as erroneous.

Eiffel

Eiffel is fully supported and parsing is not influenced by indentation, spaces and so on.

HTML

Support for HTML language is quite recent (0.26.0) and is still very primitive. Input is split in lexems only considering blank characters, and there is no context management for strings. Nevertheless, comments detection is correct.

Shell

Support for shell scripting language is quite recent (0.27.0) and is still very primitive. Input is split in lexems only considering blank characters, and there is no context management for strings. So, comments are detected only by introduction of a dash (#), even if it is part of a string and shouldn’t be interpreted. For the same reason, variables like $# are not well managed.

SQL

Support for SQL scripting language is quite complete, even if there is still a lack: there is no context management for string literals, which is very particular in this language.

Clone this wiki locally