OlegKunitsyn / cobolget

COBOL Package Manager
GNU General Public License v3.0
8 stars 0 forks source link

Dialect Support #1

Open spgennard opened 4 years ago

spgennard commented 4 years ago

Hi,

Can you add in the following Dialects:

OlegKunitsyn commented 4 years ago

Please update install.ts to support these dialects. I have no infrastructure nor knowledge for testing them.

spgennard commented 4 years ago

https://open-cobol.sourceforge.io/doc/gnucobol.html

GnuCOBOL supports:

OlegKunitsyn commented 3 years ago

Sorry for delay. The answer took more time than expected due to contacts with the vendors.

In 2020, alive (developing and released) COBOL dialects are such as:

The first 3 dialects have own native runtime environment, where COBOL package management is somewhat perspective. Same for GnuCOBOL, where a program is getting transpiled one level down. The last 3 dialects utilize .NET, Core and JVM letting seamless integration with the coresponding programming languages, libraries and packages. Additional COBOL package management I consider counterproductive for them.

ICOBOL allows only one program per file and does not support functions that makes an assebmling of the source-code into one compilation unit via COPY, impossible. Thus, I keep in scope entcobol, gnucobol and netcobol dialects. Unfortunately, GT Software did not provide NetCOBOL trial version nor learning materials upon request, but forward me to the reseller. If you know right people/approach there, please let me know.

As you can see, I group COBOL names by the nearest vendor, making a "dialect" compatible with onLanguage convention at https://github.com/spgennard/vscode_cobol/blob/master/package.json How do you identify ICOBOL, isCOBOL, vCOBOL, Raincode COBOL and NetCOBOL in activationEvents?