Practical overview
When it fits
Use Parsel when a programming task can be represented through candidate functions and checked against tests or other constraints, especially for algorithmic synthesis experiments.
Who it is for
- Developers exploring constrained program synthesis from natural-language descriptions.
- Researchers prototyping algorithmic reasoning workflows, including robotic-planning or theorem-proving tasks.
Documented uses
- Generate candidate implementations for functions described in natural language.
- Search combinations of candidates for programs satisfying unit tests or other constraints.
- Use automatic test generation in workflows where tests are not supplied.
- Configure Lean output for supported inputs.
Requirements & limits
The code repository is publicly accessible. The README specifies an OpenAI organization ID and API key file for using OpenAI models; no license is listed in the supplied metadata.
- The search depends on unit tests or other constraints to identify candidate programs that pass.
- Automatic test generation is documented as an option when tests are absent.
- The documented setup installs the OpenAI Python package, and OpenAI model use requires a credential file.
- Lean output requires changing the configured mode and having Lean installed.
- A new target language requires adding a configuration file under
consts/and registering it inconsts/__init__.py; this does not establish support for every language.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up Parsel for its documented OpenAI workflow
Prepare the repository and OpenAI package, and configure the credential file required by the README.
Before you start
- Python and a command-line environment
- An OpenAI organization ID and API key
Steps
Clone https://github.com/ezelikman/parsel.git.
Install the OpenAI Python package with the command below.
pip install openaiCreate
keys/codex_key.txtin the formatorganization_id:api_key.
Expected outcome
The documented repository and package setup is in place, with the credential file in the specified format.
Guide limitations
- This setup recipe does not establish that a program has run successfully.
- The README documents OpenAI model credentials; model access or terms are not specified here.
Configure Parsel for Lean output
Set the documented Lean mode for an input program.
Before you start
- A Parsel repository checkout
- Lean installed
Steps
Change the mode in
consts/__init__.pytolean.Use the documented
programs/and_commute.ssexample as the input.
Expected outcome
The README describes generation of a Lean file in the same directory as the input file.
Guide limitations
- The documented path is for a supported example program and requires a Lean installation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 November 2026
- Original website title
- ezelikman/parsel · Official homepage title · retained in its source language

