CoCoLab offers a wide range of parsers for many programming languages. The usual preprocessors are included, customer specific preprocessors can be provided upon request. Most of the parsers build an abstract syntax tree. Many of them perform name analysis: They build a symbol table, do name lookup, and as a result every use of an identifier has a reference to the corresponding declaration.
The parsers are implemented in ANSI C and run on all variants of Linux, Unix, Windows (9x, ME, NT, 2000, XP, Vista, 7, 8) and on z/OS. All parsers are generated with the Cocktail Toolbox from appropriate grammars.
The following list summarizes the available parsers and language dialects. Depending on the language there is either one parser for several dialects or there are separate parsers for different dialects.
- ABAP
- Ada 83, 95
- ASP Classic
- C ANSI, 89, 90, 99
- C++ ISO, GCC, Borland, Microsoft Visual C++, Microsoft .NET C++
- C#
- CICS IBM
- COBOL Generic
- Clist
- Delphi
- DL/I IBM
- Fortran 77, 90, 95
- HTML
- IDL
- JCL IBM
- Java
- Javascript
- NATURAL
- Objective-C
- OpenMP
- OPL/OpenUI
- Pascal
- PHP
- PL/I IBM, ANSI
- PL/SQL
- PowerBuilder
- PowerShell
- Rexx
- RPG III, 400, IV
- SQL IBM DB2, Oracle, Sybase, Informix, MS SQL Server, MySQL, TANDEM
- Unix Shell sh, bash, ksh, zsh, csh, tcsh
- Tcl/itcl
- UPC
- Visual Basic
- VBScript
- XML