Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunsided/cobol-playground

Toying around with COBOL
https://github.com/sunsided/cobol-playground

cobol csv playground

Last synced: about 2 months ago
JSON representation

Toying around with COBOL

Awesome Lists containing this project

README

        

# Exploring COBOL: A playground project

[![Build COBOL programs](https://github.com/sunsided/cobol-playground/actions/workflows/build.yml/badge.svg)](https://github.com/sunsided/cobol-playground/actions/workflows/build.yml)


Dinosaurs programming COBOL

## Get going

Install the GnuCOBOL (`gnucobol`/`cobc`) compiler, then compile and run the examples.

### Simple Example

```shell
cobc -x hello_world.cbl
./hello_world
```

Alternatively, use Make:

```shell
make run_hello_world
```

### Example using a Shared Library

This is a bit more involved to build and run, so just use Make:

```shell
make run_hello_driver
```

### Example reading a CSV file

This is a bit more involved to build and run, so just use Make:

```shell
make run_csv
```