All Projects → worksofbarry → NetRPG

worksofbarry / NetRPG

Licence: GPL-3.0 License
RPGLE runtime for .NET Core

Programming Languages

C#
18002 projects
shell
77523 projects

Projects that are alternatives of or similar to NetRPG

Notepad-RPG
RPG Free-Format & CL syntax for Nodepad++
Stars: ✭ 28 (+55.56%)
Mutual labels:  rpgle
vscode-ibmi
IBM i development extension for VS Code
Stars: ✭ 122 (+577.78%)
Mutual labels:  rpgle
vscode-ibmi-languages
Syntax highlighting for IBM i languages such as RPG, CL, DDS, MI, and RPGLE fixed/free.
Stars: ✭ 28 (+55.56%)
Mutual labels:  rpgle
IBMi-Book
"Learning IBM i as a Web Developer", my subpar eBook for learning the basics of IBM i, RPGLE, Control Language, and more from the eyes of a web developer.
Stars: ✭ 31 (+72.22%)
Mutual labels:  rpgle

NetRPG

An RPGLE runtime for .NET Core. With this runtime you can run totally free-format RPG code on any system that can run .NET Core.

See wiki for more information.

🔥 Features

  • Fully free-format RPG only: write all the latest RPG code in fully free-format.

  • Data-types and complex structures: A majority of the data-types are supported and complex data-structures work too!

  • Full procedure support: Use procedures with parameters by ref, const or value. It all works!

  • Full ILE support: Want to call a procedure from another module? No problem.

  • Display file support: While not everything is supported, we have the base for display file support.

💾 Installation

  1. Clone repo
  2. Open folder in vscode
  3. Execute dotnet restore to fetch the deps.
  4. To use RLA: setup an .env or env property in your launch.json configuration
    • This needs to include the ODBC connection string: CONN_STRING="Driver=IBM i Access ODBC Driver;System=xxx;UID=xxx;Password=xxx;DBQ=,SAMPLE;Naming=1". While this uses the IBM i driver, you should also be able to use any database that works with ODBC.
  5. Execute project to run unit tests.
    • The RLA tests are setup to work with the IBM i SAMPLE schema.

💻 Usage

  • Launch NetRPG.dll from the command line:
$ alias netrpg="dotnet bin/Debug/netcoreapp2.0/NetRPG.dll"
$ netrpg RPGCode/op_dsply.rpgle
Hello world
  • Change launch.json in vscode to pass in a parameter to NetRPG.dll: "args": ["RPGCode/dcl_file_exfmt9.rpgle"]
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].