https://github.com/easbarba/pita
The awesomeness of higher-level languages standard libraries, but for C.
https://github.com/easbarba/pita
godot sprout-valley stardew-valley
Last synced: 2 months ago
JSON representation
The awesomeness of higher-level languages standard libraries, but for C.
- Host: GitHub
- URL: https://github.com/easbarba/pita
- Owner: easbarba
- License: gpl-3.0
- Created: 2024-07-05T01:41:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-05T01:43:02.000Z (10 months ago)
- Last Synced: 2025-01-11T23:48:39.984Z (4 months ago)
- Language: C
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Pita
The awesomeness of higher-level languages standard libraries, but for C.`Pita` attempts to bring to C power-users the well-thought API of standard libraries of higher-level language such as Python, Ruby or Guile Scheme, as a shared library.
## USAGE
## INSTALLATION
### Meson
Meson makes it all too easy and nice, just add a `pita.wrap` file in the ./subprojects containing:
``` sh
[wrap-git]
directory=pita
url=https://gitlab.com/easbarba/pita
revision=head
```
Then you in your `meson.build` use it as dependency:dependency('pita, fallback: ['pita, 'pita_dep'])
## DEVELOPMENT
`Pita` requires a [C99](https://gcc.gnu.org/) compiler, and [Meson](https://mesonbuild.com/), then just run `make clean all`, and executable file will be placed at `$PWD/.build/onur`.
Dependencies: [GNU GCC](https://gcc.gnu.org/) - [GNU Make](https://www.gnu.org/software/make/) - [Podman ](https://podman.io/).
Tip: A clean install without messing around your system is easily achievable with [GNU Guix](https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-shell.html): `guix shell --check`.
It may suit you better running the tests in a isolated environment with containers, that can be done so:
docker run --rm -it $(docker build -qf Containerfile.run)
or:podman build https://gitlab.com/easbarba/onur/-/raw/main/Containerfile.dev --tag onur:latest
podman run --rm -it onur:latest## LICENSE
[GNU GENERAL PUBLIC LICENSE Version 3](https://www.gnu.org/licenses/gpl-3.0.en.html)