English | 简体中文
This is an experimental project that aims to rewrite the original batch scripts (e.g.,
.sh
,.bat
) in the PostgreSQL source code using the Hulo language. By transforming imperative shell scripts into declarative Hulo code, the project explores modern script practices and maintainability.
Warning
This project is in an early stage and may have incomplete functionality, performance issues, or compatibility problems. It is not recommended for production use.
git clone https://github.com/hulo-lang/postgres.git
cd postgres
hulo build .
The testdata
directory contains original script files extracted from the PostgreSQL repository, serving as translation references for Hulo.
We welcome all kinds of contributions, including but not limited to:
- Reporting bugs
- Submitting issues or feature requests
- Translating or rewriting scripts
- Sending pull requests
Please check the issues page and follow the contribution guidelines.
This project is licensed under the PostgreSQL License, consistent with the upstream PostgreSQL repository. See LICENSE for details.