Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pxeger/libgolf
Common utilities for implementing golfing language builtin libraries
https://github.com/pxeger/libgolf
code-gofl golfing-langauge python utility-library
Last synced: 18 days ago
JSON representation
Common utilities for implementing golfing language builtin libraries
- Host: GitHub
- URL: https://github.com/pxeger/libgolf
- Owner: pxeger
- License: artistic-2.0
- Created: 2021-12-13T04:04:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-04T20:08:59.000Z (over 2 years ago)
- Last Synced: 2024-10-12T09:35:03.028Z (about 1 month ago)
- Topics: code-gofl, golfing-langauge, python, utility-library
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libgolf
libgolf is a library of common utilities for writing golfing language builtins. It currently includes:- `List`, a well-featured lazy list class
- `Character`, a thin wrapper for representing Unicode characters
- `String`, a wrapper around a `List` of `Character`s that behaves more like Python's [built-in `str`
type](https://docs.python.org/3/library/stdtypes.html#str)
- `vectorise`, a higher-order function (or decorator) for automatically mapping a function over its argumentslibgolf aims to semi-standardise these features across golfing languages by allowing them to be shared, and provide high-quality code with unit tests
to ensure robustness of their implementations.