Git Product home page Git Product logo

opensourcecobol4j's Introduction

opensource COBOL 4j

日本語版README

"opensource COBOL 4j" is a COBOL compiler that translates COBOL parograms to Java programs. This compiler is deeply inspired by "opensource COBOL" which translates COBOL programs to C programs. (In fact, this repository contains a lot of source files of "opensource COBOL")

Requirements and Installation

See Installation page.

Usage

Compile.

cobc -m [COBOL source file]

("cobc" command produces [PROGRAM-ID].java and [PROGRAM-ID].class in the current directory.)

Run.

java [PROGRAM-ID]

The progress of the development

The functions in the following "implemented" list are tested using NIST COBOL85 test suite and 99% of the test cases are passed.

Implemented.

  • Data calculation (MOVE, COMPUTE, ... )
  • Control statements (IF, PERFORM, GO TO, ...)
  • Some I/O functions (DISPLAY, ACCEPT, ...)
  • Call statements
  • Sequential files
  • Indexed files
  • Sort statements
  • Embedded functions (ACOS, LENGTH, MAX, ...)

Not Implemented.

  • Relative files

Known bugs

  • Cannot call inline programs.
  • Read wrong data from indexed files with alternate duplicate keys in some cases.

opensourcecobol4j's People

Contributors

ytr-sakamoto avatar n-isaka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.