3d-rendering-silver-curved-lines-with-high-end-textured-background

RPG Parser
A ready-to-go solution!

Why consider buying a commercial parser? Well, you may need a parser that has been thoroughly tested, documented and one where you have someone to call in case you encounter any problems. License our off-the-shelf RPG parser and make life easier for yourself!

Battle-tested on more than 30 million lines of production RPG code from IBM i (AS/400, iSeries) systems.

Working with RPG

You may want to perform several operations on your RPG code, which our parser might help you with. Let’s discover them.

Code Analysis and Validation

Ensure quality and consistency in your RPG code. Parse RPG code to detect violations of internal standards and ensure it follows best practices. Ideal for critical systems where quality and long-term maintainability are essential.

Transpilation to Modern Languages

Convert RPG to Java, C#, or other targets. Automatically transform RPG into modern languages to simplify platform migrations, unlock new ecosystems, and make your codebase more accessible to today’s developers.

Refactoring and Modernization

Make safe, large-scale code transformations. Refactor RPG code automatically to introduce improvements, remove technical debt, or restructure complex logic. A scalable way to evolve legacy systems without manual risks.

Interpeter and Compiler Generation

Run or migrate your RPG code with custom tools. Use our parser to build interpreters or compilers for RPG. Whether you want to execute code on new platforms or gradually phase out RPG, we support flexible modernization strategies.

Build Development Tools

Build editors with auto-complete and error checking. Create modern development environments for RPG. Add features like syntax highlighting, real-time validation, and intelligent suggestions to support your developers more effectively.

Four reason to Buy

Frame 19 (46)
Strumenta Playground
Allows you to try the parser and discover its features before you decide to buy it. Just register with your email and try it.
Frame 19 (47)

Flexible License

We provide a flexible commercial license, which gives you access to the full documentation. You can choose a Standard, Distribution, or Service License, and our support is included with it.

Frame 19 (48)
Easy integration
We cover all technical aspects. We provide support, documentation, and best practices.
Frame 19 (49)
Guarantee
Once bought, we offer a one-year guarantee extendable at your own convenience or a pay-as-you-go guarantee.

Why Choose Strumenta's RPG Parser?

RPG is a high-level programming language developed by IBM in the 1960s. Originally designed for business reporting and data processing, it became the dominant language on IBM’s midrange systems, particularly the System/38, AS/400, and IBM i platforms. But with fewer RPG developers available and increasing pressure to modernize, understanding and evolving RPG code is more important than ever.

The same parser is the foundation of our migration work: see RPG to Java and RPG to Python.

01Proven Reliability
Our parser has undergone extensive testing to ensure accuracy and efficiency, providing a dependable solution for your RPG processing needs.​
3d-vertical-background-with-abstract-style
With the purchase of a license, gain access to detailed documentation and dedicated support, ensuring smooth implementation and operation.​
abstract-white-cable-background-3d-illustration
Designed for easy incorporation into existing systems, our parser minimizes technical complexities, allowing you to focus on your core business functions.
3d-vertical-background-with-abstract-style (1)

Technical specifications
and license details

01
Technical specification

The RPG Parser provided by Strumenta is a language engine for IBM i (AS/400, iSeries) source code: it processes RPG and DDS sources and returns the information contained in them, organized in an Abstract Syntax Tree (AST).

The parser can be used as a JVM library (Java 11+, from Java or Kotlin), as a command-line tool producing the AST serialized in JSON or XML format, or as an HTTP microservice callable from any programming language. ASTs can also be exported to EMF/Ecore and LionWeb (JSON and Protobuf), the open interoperability standard Strumenta co-founded. No connection to the IBM i is required: you analyse exported source members offline, on laptops or CI servers.

The parser supports RPG IV (ILE RPG), both in the fixed-column and free format (**FREE and /FREE), including all 13 compiler directives (/COPY, /INCLUDE, conditional compilation, and more). It can process SQLRPGLE files: embedded EXEC SQL is parsed through a dedicated DB2 parser, so DDL columns become resolvable RPG symbols. Strumenta can also provide a separate SQL Parser for deeper SQL analysis. It also parses DDS sources — physical files (PF), logical files (LF), display files (DSPF) and printer files (PRTF) — so field references can be resolved to the record formats that define them. RPG II and RPG III are on our roadmap: talk to us.

Beyond parsing, the engine performs whole-codebase symbol resolution: declarations, /COPY members, DDS fields, DB2 columns, subroutines, labels and prototypes are linked across files, and 88 RPG built-in functions are modelled. Parsing is error-tolerant: instead of failing on problematic code, it returns a partial AST plus a list of positioned issues. The parser is backed by 718 automated tests and a regression corpus of 53 open-source RPG repositories (~3,000 files, ~540,000 lines). Below, we report some examples of files processed by the RPG Parser.

01
Licence details
We provide a commercial license. You will get access to documentation about the AST and best practices for using the parser. You can choose:
You will also get our support included with it.

Get the RPG & DDS Language Engine brochure

A two-page PDF with the complete technical overview of our RPG & DDS Language Engine — the evolution of the RPG Parser: RPG IV and DDS coverage, whole-codebase symbol resolution, delivery options, serialization formats and licensing. Leave your email and download it right away.

Try it yourself: Strumenta Playground

Before committing to any tool, it’s only fair to see it in action, and that’s exactly what the Strumenta Playground is for. The Playground is an interactive online space where you can test the capabilities of our RPG parser. Whether you’re exploring how the parser handles specific statements, inspecting the structure of parsed queries, or simply curious about what you can build on top of it, the Playground gives you a hands-on preview.

Stop building from scratch. Start with confidence.

Our production-ready parsers are here when you need them fast, reliable, and battle-tested.

Scroll to Top