GithubHelp home page GithubHelp logo

5l1v3r1 / opensourcecobol4j Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensourcecobol/opensourcecobol4j

0.0 1.0 0.0 5.06 MB

A new version of opensourcecobol. Translate COBOL to Java.

License: GNU General Public License v3.0

Shell 9.97% Perl 0.12% C 49.50% Java 19.86% COBOL 0.51% Makefile 6.67% Yacc 3.83% Lex 1.32% M4 8.13% Raku 0.10%

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")

LICENSE

libcobj, the runtime libraries, are distributed under the the GNU Lesser General Public License Version 3. Other software and libraries are distributed under the GNU GENERAL PUBLIC LICENSE Version 3.

Requirements and Installation

See Installation page.

Usage

Compile.

cobj [COBOL source file]

("cobj" 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.

opensourcecobol4j's People

Contributors

n-isaka avatar ytr-sakamoto avatar yutaro-sakamoto avatar

Watchers

 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.