Otterkit 1.0.70

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Otterkit --version 1.0.70                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Otterkit --version 1.0.70                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Otterkit&version=1.0.70                
nuke :add-package Otterkit --version 1.0.70                

Otterkit COBOL Compiler

Otterkit is a free and open source compiler for the COBOL Programming Language on the .NET platform.

Warning: The project is currently in pre-release, so not all of the standard has been implemented.

About

COBOL was created in 1959 by the CODASYL Committee (With Rear Admiral Grace Hopper as a technical consultant to the committee), its design follows Grace Hopper's belief that programs should be written in a language that is close to English. It prioritizes readability, reliability, and long-term maintenance. The language has been implemented throughout the decades on many platforms with many dialects. Otterkit COBOL is a free and open source compiler that aims to implement the ISO/IEC 1989:2023 COBOL Standard (COBOL 2023) on the .NET platform.

Installation

Quick Install

Otterkit is available to install on the Nuget package manager (.NET 7 is required). To install, type these two lines into the command line:

dotnet new install Otterkit.Templates::1.0.45-alpha

dotnet tool install --global Otterkit --version 1.0.50-alpha

Build from Source

First, run the git clone command, with the relevant arguments:

git clone https://github.com/otterkit/otterkit.git --recurse-submodules --remote-submodules

The recurse-submodules and remote-submodules flags are needed to access the libotterkit submodule inside.

Then, navigate into the otterkit/src folder (for the compiler, not libotterkit) and then type dotnet run into the command line to run and test if everything is working.

Build from Source on MacOS (For Intel and Apple Silicon processors)

After clone the git repo navigate into the src folder and type:

dotnet run new app   

For build the COBOL file type:

dotnet run build -e ${COBOLFILEPATH} --free       

For build and run the COBOL file type:

dotnet run build --run -e ${COBOLFILEPATH} --free          

Sponsors and Open Source Support

<h3 align="center">Open Source Support</h3>

<p align="center"> <a target="_blank" href="https://www.jetbrains.com/community/opensource/"> <img width="160" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt="JetBrains Logo (Main) logo."> </a> </p>

Standard Acknowledgement

Any organization interested in reproducing the COBOL standard and specifications in whole or in part, using ideas from this document as the basis for an instruction manual or for any other purpose, is free to do so. However, all such organizations are requested to reproduce the following acknowledgment paragraphs in their entirety as part of the preface to any such publication (any organization using a short passage from this document, such as in a book review, is requested to mention "COBOL" in acknowledgment of the source, but need not quote the acknowledgment):

COBOL is an industry language and is not the property of any company or group of companies, or of any organization or group of organizations.

No warranty, expressed or implied, is made by any contributor or by the CODASYL COBOL Committee as to the accuracy and functioning of the programming system and language. Moreover, no responsibility is assumed by any contributor, or by the committee, in connection therewith.

The authors and copyright holders of the copyrighted materials used herein:

  • FLOW-MATIC® (trademark of Sperry Rand Corporation), Programming for the 'UNIVAC® I and II, Data Automation Systems copyrighted 1958,1959, by Sperry Rand Corporation;
  • IBM Commercial Translator Form No F 28-8013, copyrighted 1959 by IBM;
  • FACT, DSI 27A5260-2760, copyrighted 1960 by Minneapolis-Honeywell

Have specifically authorized the use of this material in whole or in part, in the COBOL specifications. Such authorization extends to the reproduction and use of COBOL specifications in programming manuals or similar publications.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.80 437 5/15/2023
1.0.75 138 5/15/2023
1.0.70 190 4/19/2023
1.0.50-alpha 227 4/14/2023
1.0.45-alpha 261 2/18/2023
1.0.40-alpha 238 2/9/2023
1.0.35-alpha 221 1/31/2023
1.0.30-alpha 282 1/31/2023
1.0.25-alpha 246 1/18/2023
1.0.20-alpha 202 1/18/2023
1.0.15-alpha 300 1/11/2023
1.0.10-alpha 247 1/11/2023
1.0.5-alpha 215 1/11/2023
1.0.0-alpha 253 12/24/2022