Work / LumiPort
LumiPort
Inventories OpenEdge ABL code and suggests a migration order.
Shipped · v0.1.0View the repository
Artifact
LumiPort report
Summary
- Files: 1 .cls, 3 .i, 7 .p
- Total loc: 77
- Units: 7
- Tables: 4
- Cycles: 1
- Missing targets: 0
- Unresolved dynamic calls: 1
Migration order
| Path | Kind | Score | In cycle |
|---|---|---|---|
| common.i | i | 27 | |
| price-calc.p | p | 15 | |
| order-purge.p | p | 13 | |
| util.i | i | 10 | |
| consts.i | i | 7 |
The sample ABL is synthetic, written for the repo.
Problem
Teams that want to move off Progress OpenEdge ABL don't know what they have: which procedures exist, what calls what, which tables each one touches, and what to migrate first.
Approach
A tokenizer-level scanner strips comments and strings, then matches keywords. It builds a dependency graph with cycle detection and scores each file, so the migration order comes from the code.
What's built
- A scan command for .p, .i and .cls files that writes a JSON inventory and an optional Markdown report.
- Procedures, functions and methods, include references, RUN calls, and tables touched per file.
- A dependency graph with cycles and a suggested migration order.
- A complexity score per file; the formula is printed in the report.
- Dynamic calls such as RUN VALUE(...) are counted as unresolved, never resolved.
Stack
- Python 3.10+, Typer
- pytest
Status
Shipped · v0.1.0
It is a scanner, not a parser. Line comments with // and keyword abbreviations are not handled, and .w files are skipped.