This project provides a Python script that compiles an LPy file into a Python file. The LPy file allows you to write pseudo-code snippets wrapped in b

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-04-02 02:00:04

This project provides a Python script that compiles an LPy file into a Python file. The LPy file allows you to write pseudo-code snippets wrapped in backticks and tagged with [csm] (ChatGPT Save Me!). The script uses the OpenAI ChatGPT model to convert these pseudo-code snippets into valid Python code.

The script will process the LPy file, convert the pseudo-code snippets tagged with [csm] into valid Python code using ChatGPT, and generate a corresponding Python file with the same name but with a .py extension.

Leave a Comment