a Python package that communicates between Python and Haskell
pip install paskell
python3 pip install paskell
Paskell requires your Haskell file has been fully compiled and can run as an executable. For Windows users, their Haskell file must be {file_name}.exe
, and for Unix users it should be ./{file_name}
Paskell will not run your Haskell file if it was not compiled.
import paskell
haskell_file = "path_to_haskell_file"
result = paskell.run(haskell_file, input_data="input data as string") # input data is optional
print(result)
I welcome contributions from the community and appreciate the time and effort put into making Paskell better. To contribute, please follow the guidelines and steps outlined below:
Note: Your pull request will be closed if you do not specify the changes you've made.
Start by forking this repository. You can do this by clicking on the "Fork" button located at the top right corner of the GitHub page. This will create a personal copy of the repository under your own GitHub account.
Next, clone the forked repository to your local machine using the following command:
$ git clone https://github.com/yourusername/paskell.git
Navigate to the cloned directory:
$ cd paskell
Before making any changes, it's recommended to create a new branch. This ensures that your changes won't interfere with other contributions and keeps the main branch clean. Use the following command to create and switch to a new branch:
$ git checkout -b branch-name
Now, you can proceed to make your desired changes to the project. Whether it's fixing bugs, adding new features, improving README, or optimizing code, your efforts will be instrumental in enhancing the project.
Once you have made the necessary changes, commit your work using the following commands:
$ git add .
$ git commit -m "Your commit message"
Push the changes to your forked repository:
$ git push origin branch-name
Head over to the original repository on GitHub and go to the "Pull requests" tab.
- Click on the "New pull request" button.
- Select your forked repository and the branch containing your changes.
- Provide a clear and informative title for your pull request, and use the description box to explain the modifications you have made. Your pull request will be closed if you do not specify the changes you've made.
- Finally, click on the "Create pull request" button to submit your changes.
2024 7EC0 23F2 769E 6618 1C0F 581B 4A2A 862B BADE