The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

python_to_perl Front-End Program

Python-to-Perl Translator

EXPERIMENTAL ALPHA PROTOTYPE, USE AT YOUR OWN RISK!

SYNOPSIS

        export OPENAI_API_KEY=your_api_key
        python_to_perl your_input_file.py

        python_to_perl_directory_recurse.sh your_input_directory/

DESCRIPTION

App::PythonToPerl is a translator.

App::PythonToPerl is a Perl distribution which includes the `bin/python_to_perl` application for converting Python source code into Perl source code. Perl currently handles the translation of top-level file structure, comments, includes, function definitions, and class definitions. Large language model (LLM) neural networks handle the translation of all remaining source code lines. Currently, OpenAI LLMs are supported via OpenAI::API.

For more info:

https://gitlab.com/scienceperl/app-pythontoperl/-/blob/main/README.md

SEE ALSO

App::PythonToPerl

AUTHOR

William N. Braswell, Jr.

mailto:wbraswell@NOSPAM.cpan.org