Metadata-Version: 2.4
Name: archaeode
Version: 0.1.2
Summary: Deterministic legacy code analysis. Your code never leaves your machine.
Author-email: Archaeode <archaeode@gmail.com>
License: Proprietary
Project-URL: Homepage, https://archaeode.com
Keywords: cobol,legacy,code-analysis,modernization,static-analysis
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Archaeode

> Deterministic legacy code analysis. Your code never leaves your machine.

## Install

```bash
pip install archaeode
```

## Usage

```bash
# Full analysis report
archaeode analyze program.cob

# Code smell detection
archaeode smells program.cob

# Dialect detection (COBOL-68 through 2002+)
archaeode dialect program.cob

# Control flow graph
archaeode flowgraph program.cob

# Export as Mermaid diagram
archaeode flowgraph program.cob --format mermaid

# JSON output
archaeode analyze program.cob --format json

# Batch analyze entire directory
archaeode batch ./cobol-sources -o report.json
```

## What it detects

- **Code Smells**: ALTER statements, spaghetti GOTO, dead paragraphs, PERFORM THRU anti-patterns
- **Dialect/Version**: COBOL-68, COBOL-74, COBOL-85, COBOL-2002+ with confidence scores
- **Control Flow**: PERFORM chains, unreachable code, circular calls, GOTO targets

## Why Archaeode?

- **Deterministic** — same input, same output, every time
- **Offline** — no cloud, no API keys, no internet required
- **Private** — your code never leaves your machine
- **Fast** — pure Python, no external dependencies
