
SAS Parser,
A ready-to-go solution!
Working with SAS
You may want to perform several operations on your SAS code, which our parser might help you with. Let’s discover them.
Parse SAS code to check for syntax errors, enforce coding standards, ensure consistency across large codebases, discover obsolete tables that should be replaced, and inefficient code patterns that could be optimized. This is especially useful for automated code reviews and maintaining quality over time.
Transform parsed queries into structured representations like Abstract Syntax Trees (ASTs) or visual diagrams, helping developers understand complex nested queries, joins, and execution flows.
Automatically refactor legacy SAS, such as converting deprecated syntax, splitting monolithic procedures into smaller, modular components.
Can analyze existing SAS code and extract key metadata to generate structured documentation: listing procedures and parameters, generating data flow diagrams, and creating entity-relationship diagrams to understand the database structure.
Convert SAS to SQL, Javascript, Python, or other targets.
Automatically transform SAS into modern languages to simplify platform migrations, unlock new ecosystems, and make your codebase more accessible to today’s developers.
Can track how data is processed within SAS applications, such as which tables are read and under what conditions, how values are transformed throughout the code, and where the resulting data is stored. Understanding data lineage is crucial for ensuring data accuracy, quality, and compliance.
Four reason to Buy


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.


Why Choose Strumenta's SAS Parser?
SAS has long been the go-to language for advanced analytics, statistical modeling, and data processing in enterprise environments. But as organizations move toward open-source and cloud-based alternatives, maintaining legacy SAS code becomes a growing challenge.
01Proven Reliability

02Comprehensive Documentation and Support

03Effortless Integration

Technical specifications
and license details
The RPG Parser provided by Strumenta is a parser for the RPG language, i.e., it is a software component which process RPG code and return the information contained in it organized in an Abstract Syntax Tree (AST).
The parser can be used either as a library or a command-line tool.
-
When it is used as a library it can be integrated into applications running on the Java Virtual Machine.
-
When the parser is used as a command-line tool, it can provide the AST as an output serialized in either JSON or XML format.
One of the most challenging aspects of parsing SAS is handling macros, which introduce significant complexity due to their ability to generate dynamic code. Our parser: supports macro recognition without expansion, correctly processes nested macros, parameterized macros, and macro-generated code, whenever this is technically possible, handles macro variable resolution and macro functions to preserve the logic and structure of SAS programs, support for Multiple SAS Versions.
- Standard
- Distribution
- Service License
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 SAS 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.