Skip to content

argparse.ArgumentParser to Styx IR Frontend #73

@nx10

Description

@nx10

Summary

Create a frontend that converts Python argparse.ArgumentParser objects directly into Styx IR, enabling downstream descriptor generation.

Prior Art

Proposed Architecture

A two-stage approach to maximize compatibility:

  1. Standalone serialization package: A minimal, self-contained Python package that serializes argparse.ArgumentParser objects to a JSON representation. This package should support a wide range of Python versions to allow use in legacy environments.

  2. Styx frontend: Consumes the JSON output and converts it to Styx IR.

This decoupled design isolates version-sensitive introspection logic from the main Styx toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions