Skip to content
tom-writes-code edited this page Mar 16, 2022 · 14 revisions

rpgle-repl is a REPL tool for the RPG language on IBM i. A REPL (Read-Evaluate-Print-Loop) program allows you to code small snippets and get immediate feedback on their execution.

Why rpgle-repl?

Some of my most frequently asked questions are "how do these %BIFs (built in functions) respond to different inputs?" and "how do I write a free-format equivalent to this fixed format code?". To answer them, I would inevitably write a small program, set a breakpoint, and run it in debug to evaluate whichever variable I cared about at runtime.

rpgle-repl streamlines this process - not only automatically compiling snippets of code, but also dynamically recording changed variables without needing debug, and displaying the results on screen.

Getting started

  • Building repl
  • Philosophy and technical overview
  • The main features
  • Navigating the repl interface
Clone this wiki locally