All Projects β†’ IonicaBizau β†’ Node.cobol

IonicaBizau / Node.cobol

Licence: mit
πŸ“Ÿ Node.js bridge for COBOL which allows you to run Node.js code from COBOL.

Projects that are alternatives of or similar to Node.cobol

Roast
πŸ¦‹ Raku test suite
Stars: ✭ 155 (-1.27%)
Mutual labels:  hacktoberfest
Mattermost Ios Classic
Mattermost iOS application source code
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Comfy Table
πŸ”Ά Build beautiful terminal tables with automatic content wrapping
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Wsl2 Ssh Pageant
bridge between windows pageant and wsl2
Stars: ✭ 155 (-1.27%)
Mutual labels:  hacktoberfest
Artemis
Artemis - Interactive Learning with Automated Feedback
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Symposium
Management of proposals, bios, photos, etc. for conference speakers.
Stars: ✭ 157 (+0%)
Mutual labels:  hacktoberfest
Docs
The October CMS Documentation
Stars: ✭ 155 (-1.27%)
Mutual labels:  hacktoberfest
Data Structures Algorithms
Your personal library of every algorithm and data structure code that you will ever encounter
Stars: ✭ 157 (+0%)
Mutual labels:  hacktoberfest
Fortune Mod
Implementation of the Unix fortune command for displaying a random quotation, for Linux and other systems.
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Nitro
Speedy local dev environment for @craftcms
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Time To Leave
Log work hours and get notified when it's time to leave the office and start to live.
Stars: ✭ 155 (-1.27%)
Mutual labels:  hacktoberfest
Go Twitch Irc
go irc client for twitch.tv
Stars: ✭ 155 (-1.27%)
Mutual labels:  hacktoberfest
Box Windows Sdk V2
Windows SDK for v2 of the Box API. The SDK is built upon .NET Framework 4.5
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Proctoring Ai
Creating a software for automatic monitoring in online proctoring
Stars: ✭ 155 (-1.27%)
Mutual labels:  hacktoberfest
Kuttl
KUbernetes Test TooL (kuttl)
Stars: ✭ 154 (-1.91%)
Mutual labels:  hacktoberfest
Cylc Flow
Cylc: a workflow engine for cycling systems. Repository master branch: core meta-scheduler component of cylc-8 (in development); Repository 7.8.x branch: full cylc-7 system.
Stars: ✭ 154 (-1.91%)
Mutual labels:  hacktoberfest
Docker Agent
Base Docker image for Jenkins Agents
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Rats
Movie Ratings Synchronization with Python
Stars: ✭ 156 (-0.64%)
Mutual labels:  hacktoberfest
Browser Extension Json Discovery
Browser (Chrome, Firefox) extension for JSON discovery
Stars: ✭ 157 (+0%)
Mutual labels:  hacktoberfest
Helm Mapkubeapis
This is a Helm plugin which map deprecated or removed Kubernetes APIs in a release to supported APIs
Stars: ✭ 157 (+0%)
Mutual labels:  hacktoberfest

node.cobol

node.cobol

Support me on Patreon Buy me a book PayPal Ask me anything Version Downloads Get help on Codementor

Buy Me A Coffee

Node.js bridge for COBOL which allows you to run Node.js code from COBOL.

node.cobol

You have to install Node.js on your machine. In case you do not have a COBOL compiler, you can install it by running:

# Ubuntu
sudo apt-get install open-cobol

# OS X
brew install gnu-cobol

πŸ“‹ Example

      * Compile this file together with the node.cobol
      * modules:
      *
      *  $ cobc -x example/main.cbl lib/node-exec*.cbl
      *
      * Then execute the binary file:
      *
      *  $ ./main
       IDENTIFICATION DIVISION.
       PROGRAM-ID. MAIN.

       DATA DIVISION.
          WORKING-STORAGE SECTION.
          01 NODEJS-CODE PIC X(100) value "console.log('Hello World!')".

       PROCEDURE DIVISION.
      * Execute a short Node.js snippet
           CALL 'EXEC_NODEJS' USING NODEJS-CODE

           DISPLAY "Starting an HTTP server on port 8000".

      * Convert an image into ASCII/ANSI art
           CALL 'EXEC_NODEJS_FILE' USING "example/grace-hopper.js"

           DISPLAY "Starting an HTTP server on port 8000".

      * Starting an HTTP server in Node.js
           CALL 'EXEC_NODEJS_FILE' USING "example/server.js".
       STOP RUN.

To compile the program, use:

cobc -x example/main.cbl lib/node-exec*.cbl

❓ Get Help

There are few ways to get help:

  1. Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
  2. For bug reports and feature requests, open issues. πŸ›
  3. For direct and quick help, you can use Codementor. πŸš€

πŸ“ Documentation

The COBOL modules from the lib/ directory export the following subroutines:

EXEC_NODEJS(code)

  • code: The Node.js snippet to execute.

EXEC_NODEJS_FILE(file)

  • file: The Node.js file path.

πŸ˜‹ How to contribute

Have an idea? Found a bug? See how to contribute.

πŸ’– Support my projects

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like πŸš€

  • Buy me a bookβ€”I love books! I will remember you after years if you buy me one. 😁 πŸ“–

  • PayPalβ€”You can make one-time donations via PayPal. I'll probably buy a coffee tea. 🍡

  • Support me on Patreonβ€”Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).

  • Bitcoinβ€”You can send me bitcoins at this address (or scanning the code below): 1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6

Thanks! ❀️

πŸ“œ License

MIT © Ionică Bizău

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].